857 Commits

Author SHA1 Message Date
Fabian Greffrath
07371721ca check weapon sprites state, not flash sprite state 2020-09-10 14:53:43 +02:00
Fabian Greffrath
e44554d669 add one forgotten condition to weapon sprite centering 2020-09-10 14:49:24 +02:00
Fabian Greffrath
2c2a61f5ae fix check for the deh_bexptrs[i].lookup being NULL
The deh_bexptrs[i].lookup is a pointer to a char array and is never
NULL. Check for the actual code pointer being NULL instead. This fixes
a crash with Dehacked patches pointing to non-existent code pointers,
e.g. the one embedded into SihR2fix.wad.

Thanks Catpho for the report.
2020-09-10 14:35:05 +02:00
Fabian Greffrath
b00e9460b4 add option to center weapon sprite during attack 2020-09-10 12:09:40 +02:00
Fabian Greffrath
18c2167893 draw level stats and level time widgets on the Automap 2020-09-07 12:25:30 +02:00
Fabian Greffrath
01568e4b22 Woof! 2.1.1 woof_2.1.1 2020-09-03 09:00:24 +02:00
Fabian Greffrath
72dcfc98ea replace uses of Mix_OpenAudio() with Mix_OpenAudioDevice()
Presently in SDL2_Mixer, Mix_OpenAudio() will by default always open
the "best matching" channel count it can of the sound driver. Certain
headphones only report a 7.1 output to the device driver which means
it will always open 8 channels, even if you only specify 2. This may
end up causing the audio buffer to come out malformed with sounds
playing too fast and producing corruption, failing to produce
directional audio and crashing in rather obscure ways.

It is concluded by SDL2 upstream that Mix_OpenAudio() should be
considered deprecated, and that Mix_OpenAudioDevice() should be called
instead directly with the additional flag removed that adapts the
channel count that Mix_OpenAudio() always uses. Reportedly, this fixes
all the problems.

Thanks to Edward850 for pointing this issue out and proposing the
fix.
2020-09-03 08:54:07 +02:00
Fabian Greffrath
71a771e29b bump SDL2 library requirements
We are going to replace calls to the deprecated Mix_OpenAudio() API
with Mix_OpenAudioDevice() which has been added to SDL2_Mixer 2.0.2,
which in turn depends on SDL 2.0.7.

Both library versions have been released in Oct 2017.
2020-09-03 08:50:37 +02:00
Fabian Greffrath
6fda34f497 interpolate linetype 242 control sectors as well
Fixes #93, thanks @simc2.
2020-08-28 10:57:41 +02:00
Fabian Greffrath
974e602f9c Woof! 2.1.0 woof_2.1.0 2020-08-17 08:30:04 +02:00
Fabian Greffrath
24bca87c06 add key bindings to reload current level / go to next level
Thanks Aurelius for the suggestion.
2020-08-10 09:05:27 +02:00
Fabian Greffrath
9dbdf6586f speed key inverts autorun
Thanks maxmanium for the suggestion.
2020-07-27 09:50:51 +02:00
Fabian Greffrath
b627c1b07e
release date 2020-07-20 14:09:19 +02:00
Fabian Greffrath
4aba1efe3b
wording fixes woof_2.0.2 2020-07-20 13:20:07 +02:00
Fabian Greffrath
520d558cd5 prepare for Woof! 2.0.2 2020-07-20 13:18:44 +02:00
Fabian Greffrath
0b706592b6 more fixes to linetype 242 fake floors and ceilings rendering
Thanks again @simc2, fixes: #92.
2020-07-20 13:12:26 +02:00
Fabian Greffrath
f4f29b5639 Woof! 2.0.1 woof_2.0.1 2020-07-10 08:49:24 +02:00
Fabian Greffrath
f8d5a99410 Merge branch 'master' of https://github.com/fabiangreffrath/woof 2020-07-09 08:35:56 +02:00
Fabian Greffrath
85d6037c5e fix linetype 242 floors and ceilings
Fixes: #91, thanks @simc2.
2020-07-09 08:35:41 +02:00
Fabian Greffrath
1886aecf82 Woof! 2.0.0 woof_2.0.0 2020-07-03 11:37:10 +02:00
Fabian Greffrath
d4635ec704 enable some more warnings during texture composition 2020-06-22 10:00:15 +02:00
Fabian Greffrath
c1de6d5da6 bring back warning about columns without a patch 2020-06-22 09:55:22 +02:00
Fabian Greffrath
d5c6e531c2 start with a 640x480 window size by default 2020-06-18 13:21:48 +02:00
Fabian Greffrath
f70d872bf0 build our own ZLIB distribution with -static-libgcc if needed 2020-06-18 12:01:04 +02:00
Fabian Greffrath
9b6388eedc fix a char signedness issue
Thanks Baron Pampa!
2020-06-12 08:53:47 +02:00
Fabian Greffrath
578fa48f89
Uncapped Rendering Frame Rate (#88)
* uncapped framerate

* interpolate player view

* mobj interpolation

* handle interpolation exceptions

* implement sector floor/ceiling interpolation

* introduce oldleveltime concept from Crispy
2020-06-09 10:17:27 +02:00
Fabian Greffrath
26d47042a9 Woof! 1.2.2 woof_1.2.2 2020-06-09 09:13:06 +02:00
Fabian Greffrath
b5fe76b3fe let this be Woof! 1.2.2 anytime soon 2020-06-06 14:54:18 +02:00
Fabian Greffrath
91f74de25e treat missing textures as non-fatal 2020-06-06 14:49:04 +02:00
Fabian Greffrath
d218fb3591 add support for tall textures and sprites in DeePsea format 2020-06-06 14:44:22 +02:00
Fabian Greffrath
da8487d6b3 Add clang to Travis CI and enable ccache 2020-05-12 21:25:59 +02:00
Fabian Greffrath
bec677cb6b Fix building with gcc 10.1 2020-05-12 13:02:27 +02:00
Fabian Greffrath
f8cba9eabe release Woof! 1.2.1 woof_1.2.1 2020-05-05 11:16:10 +02:00
Fabian Greffrath
ad92f3fa1b Merge branch 'master' of https://github.com/fabiangreffrath/woof 2020-05-05 11:05:18 +02:00
Fabian Greffrath
1446143526 fix drag-and-drop for IWADs
IWAD files name strings are stored in the `standard_iwads[]` array
with a leading slash. Skip this slash when comparing names of files
dragged onto the executable icon to decide which file path to pass
over to the `-iwad` parameter.

Thanks GenColossus for the report!
2020-05-05 11:03:20 +02:00
Fabian Greffrath
e5f7ae07c6 Fix endianess for import of extended nodes
Thanks Michael Bäuerle!
2020-04-23 23:25:51 +02:00
Fabian Greffrath
a60f8b4761 increase default horizontal mouse sensitivity
Since we disabled mouse acceleration, the previous default of "5"
was probably a bit too low.
2020-04-16 09:09:19 +02:00
Fabian Greffrath
d3b872f279 re-use x-coordinate widget for FPS
They aren't going to be shown at the same time anyway.
2020-04-14 12:12:05 +02:00
Fabian Greffrath
a5da1900d0 add an FPS counter widget
and the SHOWFPS cheat to enable it (only if not in automap)
2020-04-14 11:31:11 +02:00
Fabian Greffrath
827447c628 release 1.2.0 today woof_1.2.0 2020-04-14 08:39:44 +02:00
Fabian Greffrath
9fd9d2f397 update to SDL2-2.0.12 2020-04-08 15:35:51 +02:00
Fabian Greffrath
c931c67cc0 let this be Woof 1.2.0 one day 2020-04-02 12:32:24 +02:00
Fabian Greffrath
27aa3631dc more careful changes than in the previous commit 2020-03-31 15:02:11 +02:00
Fabian Greffrath
f8fc19184f fix desync in cy_itytd.lmp MAP12
Confirmed that sunlustd2all_286.lmp and 30swx249.lmp
still run through. Fixes #84.
2020-03-31 14:47:23 +02:00
Fabian Greffrath
23d80f918d allow playing with the Doom v1.2 IWAD which is missing the WIMINUS lump
Fixes #86, thanks @Maidentree.
2020-03-31 08:37:42 +02:00
Fabian Greffrath
ae5a01ad40
Demowarp (#85)
* implement a demo warp feature

* some adjustments
2020-03-29 18:15:51 +02:00
Fabian Greffrath
1486a7e310 update automap while playing 2020-03-29 14:00:50 +02:00
Fabian Greffrath
c42c0dae99 further improvements to Boom 2.02 demo compatibility 2020-03-26 10:11:28 +01:00
Fabian Greffrath
ab404a6166
Extrastates (#83)
* add additional states, sprites and mobjtypes

Fixes #79

* add additional states, sprites and mobjtypes

Fixes #79
2020-03-24 12:20:25 +01:00
Fabian Greffrath
ef85a480a2 make missing rotations for a sprite frame non-fatal 2020-03-24 12:11:08 +01:00