1294 Commits

Author SHA1 Message Date
Roman Fomin
4a02fd8916
don't draw ST_BAR or any UI in snapshots (#788)
* don't draw ST_BAR or any UI in snapshots

* we don't need to backup old `screens[0]`
2022-11-02 14:58:45 +07:00
Roman Fomin
aee30ec2ce
fix starting "new game" or "load game" when fast-forwarding a demo (#789) 2022-11-02 14:43:53 +07:00
Fabian Greffrath
60772ca243 report cppcheck version in CI 2022-11-02 08:42:42 +01:00
rrPKrr
049ff059db
Set 'fastdemo_timer' to false before warping (#785)
* Set 'fastdemo_timer' to false before warping

Apparently there is a bug that causes multiple level demos to get stuck in a single tic loop.

Steps to reproduce:
1. Record a demo consisting of at least 2 levels.
2. Turn on 'fast-forward' on the first level with a hotkey.
3. Without turning off 'fast-forward' press 'next level' hotkey.
4. Let the next level play a bit at normal speed.
5. Press 'fast-forward' again.
6. Depending on the amount of tics passed in step 4 the demo will be stuck for X amount of tics after pressing 'fast-forward' hotkey.

* Move 'fastdemo_timer' declaration to top
2022-10-31 07:15:03 +01:00
Roman Fomin
010b85eca3 take into account "smooth diminishing lighting" for "level brightness" feature 2022-10-29 15:23:33 +07:00
Roman Fomin
f9ccf54869
fix clang15 build (#782) 2022-10-28 09:59:46 +02:00
Fabian Greffrath
61391e0a05 rename "level"->"map" to keep the arrow visible 2022-10-28 08:08:06 +02:00
Roman Fomin
8f9d93042e rename "restart"->"reload" 2022-10-27 17:53:29 +07:00
Fabian Greffrath
e18df53c8f
move action pointers into a separate header file (#780)
* move action pointers into a separate header file

* remove redundant declarations from p_enemy.c

* fix inclusion guard
2022-10-26 19:03:43 +02:00
Roman Fomin
b96bd90ec9 add cppcheck --force 2022-10-26 11:33:14 +02:00
Fabian Greffrath
3bbc7979c4 release Woof! 10.4.0 woof_10.4.0 2022-10-26 08:02:11 +02:00
Roman Fomin
87290a1334
level brightness feature and ability to disable menu background (#778)
* implement level brightness feature and ability to disable menu background

* max 4 level brightness levels (as in the Unity port)

* add option to turn off dark tint

* move level brightness to QOL menu group, add page 4

* tweak mini thermo size

* rename "dark tint"->"dark"

* menu fade effect from Crispy Doom

* move `R_DrawBackground` to r_draw.c, remove old code
2022-10-26 12:47:05 +07:00
Roman Fomin
efec525b58
add Windows resources to .com file (#779)
The icon and properties don't work for .com files, but this change fixes the
window size with non-standard DPI on my system.
2022-10-26 12:27:14 +07:00
Roman Fomin
2d1c821a30 update SDL2 and FluidSynth 2022-10-25 13:04:30 +07:00
Roman Fomin
2d19245238 forgot another version number 2022-10-23 01:33:21 +07:00
Roman Fomin
ef2d5772a0 release workflow: fix version number 2022-10-23 01:18:42 +07:00
Roman Fomin
b3e43f845d
switch from softprops/action-gh-release to ncipollo/release-action (#776)
* switch from softprops/action-gh-release to ncipollo/release-action
2022-10-22 21:31:14 +07:00
Fabian Greffrath
92d295da3c Merge branch 'master' of https://github.com/fabiangreffrath/woof 2022-10-21 12:13:07 +02:00
Fabian Greffrath
e43618b247 update CHANGELOG.md 2022-10-21 12:12:50 +02:00
Roman Fomin
810d0d9ebc
update workflow files (deprecation warnings) (#774) 2022-10-20 21:08:41 +02:00
Roman Fomin
46a8b40b6f
convert main executable to .dll and add .exe and .com launchers (#772)
* convert main executable to .dll and add .exe and .com launchers
2022-10-20 19:29:09 +07:00
Fabian Greffrath
f3905ed5c1 scan src directory with cppcheck, instead of merely including it as a search path 2022-10-19 08:18:37 +02:00
Fabian Greffrath
d24962241e
disable toggles and menu shortcuts when typing on chat (#770)
Fixes #767, thanks @MrAlaux
2022-10-18 21:42:44 +02:00
Fabian Greffrath
a127a4a455
remove SPEED and TIME prefixes from the level time widget (#769)
* remove SPEED and TIME prefixes from the level time widget

* improve colors
2022-10-17 21:40:41 +02:00
Fabian Greffrath
e413bb866a
simplify matters in cheat code handling, again (#768)
One less level of function pointer indirection, still full clang-15 compatible.
2022-10-14 21:28:49 +02:00
Fabian Greffrath
004cd3928d check active_module in I_SetMusicVolume() 2022-10-12 21:04:05 +02:00
Fabian Greffrath
b0161e1f3c
offer a choice of widescreen ratios (#765)
Fixes #762
2022-10-11 14:53:46 +02:00
rrPKrr
de41b6cc0e
Check demoplayback when calculating CRITICAL (#764) 2022-10-09 09:42:40 +02:00
Roman Fomin
5f232babaa require Fluidsynth 2.2.0 version 2022-10-09 09:09:23 +07:00
Fabian Greffrath
5d48718847 log used soundfont 2022-10-06 13:33:24 +02:00
Fabian Greffrath
0da1ef78cd some updates to README.md 2022-10-06 09:33:19 +02:00
Fabian Greffrath
6078412167 check for existence of supplemental directories with full path 2022-10-05 23:05:27 +02:00
Fabian Greffrath
ced492a23a do not force-override paths passed to the build system 2022-10-05 22:58:43 +02:00
Fabian Greffrath
6f4654a463 allow to pass soundfont path through build flags 2022-10-05 15:47:21 +02:00
Fabian Greffrath
3f76685cfb conditionally install docs/, examples and soundfonts/ directories 2022-10-04 21:06:40 +02:00
Fabian Greffrath
65d16ea1f4 generalize doc install dir 2022-10-04 18:27:31 +02:00
Fabian Greffrath
090ba45488 fix binaries installation dir 2022-10-04 18:27:19 +02:00
Fabian Greffrath
445c049612
introduce and use M_IsMouseWheel() (#757)
Thanks @kraflab
2022-10-03 18:11:17 +02:00
rrPKrr
ae746f5dc5
Add mouse WheelLeft/WheelRight buttons (#756)
* Add mouse WheelLeft/WheelRight buttons

* Add else return clause

* Format long code lines

* Fix indentation

* Fix indentation for good
2022-10-03 01:47:23 +02:00
Fabian Greffrath
e3dfec919b
fix par time array overflow for Episode 4 (#752)
* fix par time array overflow for Episode 4

* add some Vanilla par times overflow emulation from Chocolate Doom

* include m_swap.h for LONG()
2022-09-30 09:23:39 +02:00
Fabian Greffrath
297bf765a0 UMAPINFO: only draw non-zero par times 2022-09-29 21:13:24 +02:00
Fabian Greffrath
d80de6e55b
separate mouse sensitivities for turn/strafe/move/look (#750)
* separate mouse sensitivities for turn/strafe/move/look

* add forgotten comma

* set mouse_sensitivity_vert and mouse_sensitivity_horiz_strafe to 0 by default

* no more patches drawing in the Mouse Sensitivity menu
2022-09-27 11:53:14 +02:00
Fabian Greffrath
8d148e9457
draw par times on intermission screen before endpic (#749) 2022-09-26 15:16:24 +02:00
Roman Fomin
26f676e6d3
don't draw HUD on the snapshots (#748) 2022-09-26 18:59:06 +07:00
Fabian Greffrath
a940b79d4b draw par times for IWAD maps and if set by DEH or UMAPINFO
Fixes #747
2022-09-26 10:52:42 +02:00
Roman Fomin
ec70ecad6f
fix save menu displayed in snapshot if save while demo is playing (#746) 2022-09-25 12:05:38 +02:00
Fabian Greffrath
9f6d273ee3 some const correctnes fixes in m_menu's text functions 2022-09-24 22:26:06 +02:00
Fabian Greffrath
04014b7ccc introduce R_DrawBorder() to avoid code duplication between R_FillBackScreen() and M_DrawBorderedSnapshot() 2022-09-24 22:16:05 +02:00
Fabian Greffrath
c815ac2102
add snapshots to savegames (#741)
* add snapshots to savegames

* WIP

* revert debugging aid

* clean up

* replace strncpy() with memcpy()

We *are* going to truncate before the terminating NUL.
This isn't a string, it's an indicator for the following snapshot data.

* fix initializer to be compile time constant

* limit maximum snapshot size

* array length should be const

* show savegame modification time below snapshots

* suppress the most useless compiler warning ever

* restrict warning suppression to GCC, sigh

* use M_stat() in M_ReadSavegameTime()
2022-09-24 21:51:36 +02:00
Fabian Greffrath
21f0b0e754 release Woof! 10.3.0 woof_10.3.0 2022-09-23 07:40:47 +02:00