741 Commits

Author SHA1 Message Date
Roman Fomin
ef5c4b3c9f
make keyed doors flash on the automap (from Crispy Doom) (#274)
* make keyed doors flash on the automap (from Crispy Doom)

* add menu option

* remove unnecessary decloration
2021-09-10 12:33:08 +02:00
Roman Fomin
5b18c00d22
fix M_PAUSE graphics location in hires mode (#273) 2021-09-08 21:30:40 +02:00
melak47
af261a9e07
cmake: always unzip SDL2 binaries in build directory (#270) 2021-09-03 06:57:33 +02:00
Roman Fomin
cff96ceca2 win midi: set a higher priority for the player thread 2021-09-03 01:20:32 +07:00
Roman Fomin
070cb84a41
next level key also skips the current demo (#268)
* next level key also skips the current demo

* reset demoskip variable
2021-09-02 10:11:22 +02:00
Roman Fomin
520b13cc14
enable cosmetic compatibility options for all complevels (#267)
* enable cosmetic compatibility options for all complevels

* don't warn about change of cosmetic options

* rename S_NOTWRN to S_COSMETIC
2021-09-02 10:10:56 +02:00
Fabian Greffrath
56c35c1dba
improve build instructions 2021-09-02 10:08:01 +02:00
Roman Fomin
3afa670f66 wait for the MOM_DONE event before freeing the data 2021-09-02 01:07:06 +07:00
Roman Fomin
220addf311
fix the Boom elevators movement interpolation (#266) 2021-09-01 18:23:58 +02:00
Roman Fomin
93a0909e55 add missing copyright 2021-09-01 22:51:23 +07:00
Fabian Greffrath
c8b2fbd531
remove native OPL access implementations (#262) 2021-09-01 08:37:54 +02:00
Roman Fomin
f6d64b2874
fix wrong generalised door sounds (#264) 2021-09-01 08:37:38 +02:00
Roman Fomin
e4055d59dd don't change MUSINFO music if nomusicparm is set 2021-09-01 13:25:27 +07:00
Fabian Greffrath
2edac4d48f log demo_version in P_SetupLevel, and introduce line breaks 2021-08-31 14:08:38 +02:00
Roman Fomin
6de799abaf add missing win_fopen.h include to midifile.c 2021-08-31 08:58:33 +07:00
Roman Fomin
5c26a46ce0 win midi: fill second buffer in I_WIN_RegisterSong 2021-08-31 08:53:49 +07:00
Roman Fomin
68c710aefa add missed win_fopen.h includes 2021-08-31 08:46:41 +07:00
Roman Fomin
ce62db513a
implement Windows native MIDI support (#260)
* implement Windows native MIDI

* fix gcc wrnings

* remove unnecessary includes

* rework volume events update

* few tweaks

* use extra buffer for safety

* fix looping

* remove unnecessary I_WIN_SetMusicVolume call

* don't advance time for skipped MIDI events

* set volume before first PrepareHeader call

* remove callback mechanism for caching channel volumes

* reformatted

* add PlayerThread
Documentation says:
"Applications should not call any multimedia functions from inside
the callback function, as doing so can cause a deadlock."
I can't get this deadlock, and SDL_Mixer has been doing this
since 98, but it's better to play it safe.

* fix gcc warning

* add double buffering
2021-08-30 17:54:24 +02:00
Fabian Greffrath
8b7a793ba6 add my Copyright to some source file headers 2021-08-27 16:37:12 +02:00
Fabian Greffrath
af1635f5bb feed actual sample frequency back into config variable 2021-08-27 16:34:08 +02:00
Roman Fomin
b1e5a3b7e4
same workaround for SDL 2.0.16 (#261) 2021-08-27 12:40:40 +02:00
Fabian Greffrath
cea09ef5e9 use unambigious int types in BMP code 2021-08-26 13:55:28 +02:00
Fabian Greffrath
a553501176 minor refinements to the OPL implementation 2021-08-26 09:19:55 +02:00
Fabian Greffrath
99b56dd71f avoid namespace clash on SmartOS
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/games/woof/patches/patch-Source_wi__stuff.c?rev=1.1&content-type=text/x-cvsweb-markup

Thanks Michael Bäuerle.
2021-08-25 16:47:22 +02:00
Fabian Greffrath
3af836ec2e
add OPL emulation from Chocolate Doom (#258)
* add OPL emulation from Chocolate Doom

* get rid of detect_voices

* split the SDL music backend into a separate source file

* add post-realloc() check

* add OPL emulation copyright holders

* add some minimal comments

* add config variable and menu item

* sacrifice PCX format screenshot menu entry
2021-08-25 14:31:12 +02:00
Fabian Greffrath
d7b0ae9155 trim trailing spaces off the demo footer 2021-08-16 08:43:49 +02:00
Roman Fomin
84185cb1b1 set S_DISABLE instead of S_SKIP for options loaded from WAD 2021-08-14 11:36:56 +07:00
Fabian Greffrath
b4c23291a1 silence bogus gcc 10.3 warning about truncating strings woof_6.3.1 2021-08-13 15:18:32 +02:00
Fabian Greffrath
975dfd8df9 release Woof! 6.3.1 2021-08-13 15:01:39 +02:00
Roman Fomin
8be8efe9ed
deprecate UMAPINFO demo extension (#256) 2021-08-10 19:34:37 +02:00
Roman Fomin
3bf2d8b70d
add support for COMPLVL lump (#255)
* add support for COMPLVL lump

* fix complevel mbf

* add comment

* remove unnecessary G_GetNamedComplevel call
2021-08-10 19:34:27 +02:00
Roman Fomin
4311667969
PrBoom+ always uses vanilla P_FindSectorFromLineTag in EV_BuildStairs (#254)
* PrBoom+ always uses vanilla P_FindSectorFromLineTag in EV_BuildStairs

* bring EV_BuildStairs implementation in line with PrBoom+
2021-08-10 19:34:15 +02:00
Roman Fomin
80b6f8cc7d
add demo footer (#253)
* add demo footer

* fix void function return value, add static to G_AddDemoFooter

* don't add empty dehfiles

* add -complevel only for vanilla
2021-08-10 19:34:01 +02:00
Fabian Greffrath
07af6f75d3 just use SDL's endianness swapping functions 2021-08-05 13:59:15 +02:00
Fabian Greffrath
f4baae7a06 mitigate cppcheck concerns regarding access of variable address 2021-08-05 13:42:29 +02:00
Fabian Greffrath
c8c6c4ac8e
update CI environment to ubuntu-latest 2021-08-05 13:24:10 +02:00
Fabian Greffrath
ce75f09c6b release Woof! 6.3.0 woof_6.3.0 2021-07-30 08:15:48 +02:00
Roman Fomin
78506a2139
add blood color patches for Rekkr and Hacx (#249) 2021-07-28 15:35:09 +02:00
Roman Fomin
c1dd70d1a5
randomly mirrored death animations from Crispy Doom (#248)
* randomly mirrored death animations from Crispy Doom

* set missed MF2_FLIPPABLE flags

* rename menu entry
2021-07-28 14:02:49 +02:00
Roman Fomin
e1324cd721
move D_ProcessDehCommandLine after mobjinfo initialization (#246)
* move D_ProcessDehCommandLine after mobjinfo initialization

* add comment

* move D_ProcessDehCommandLine, refactor mobjinfo initialization into function
2021-07-27 13:46:46 +02:00
Roman Fomin
dc0c2a85a0
umapinfo: fix default endpic (#245) 2021-07-27 09:05:21 +02:00
Fabian Greffrath
8bd6693a0d
interpolate sfx in a 16-bit int domain (#244)
* interpolate sfx in a 16-bit int domain

* fix comment
2021-07-27 09:04:57 +02:00
Roman Fomin
b4e42352b9
ignore demos without 'PR+UM' signature (#243) 2021-07-27 08:54:32 +02:00
Roman Fomin
357f05bd00
fix load game during multiplayer demo playback (AV.WAD demo1) (#242)
* fix load game during multiplayer demo playback (AV.WAD demo1)

* allow load network savegame from the command line
2021-07-27 08:53:49 +02:00
Roman Fomin
9db83ddb24 force status bar refresh in the Main, Episode and Skill menus 2021-07-21 16:16:22 +07:00
Roman Fomin
2f2aef9809 fix saving during demo playback 2021-07-18 20:08:31 +07:00
Roman Fomin
c5b6a96e47 fix reset comp vector when load vanilla complevel savegame 2021-07-17 21:08:27 +07:00
Roman Fomin
8c234ecb0f fix cnt_total_time initialization
This affects 'complevel mbf' demo compatibility.
2021-07-11 12:01:24 +07:00
Fabian Greffrath
1cc65d37cc release Woof! 6.2.0 2021-07-08 07:35:05 +02:00
Roman Fomin
c9c859c57f
read unsigned int in deh_GetData (#240)
* read unsigned int in deh_GetData

* fix clang build
woof_6.2.0
2021-07-07 10:11:04 +02:00