381 Commits

Author SHA1 Message Date
Fabian Greffrath
4be5ef5efe
add the autoload folder feature from Chocolate Doom (#159)
* add the autoload folder feature from Chocolate Doom

#Fixes #141

* add win_opendir.c to allow for building with MSVC

* add win_opendir.c to the build system

* run cppcheck with -DHAVE_DIRENT_H

* apply build fixes

thanks @rfomin

* outright ignore Source/win_opendir.c during cppcheck

* some more fixes

* fixed the wrong warning in the wrong file 🤦

* move implementations to d_main.c

* move autoload folders down into an "autoload" folder

Also, use M_BaseName() instead of re-inventing the wheel.
Add comments and some clean-up.

* add back "D_dehout()" parameter to ProcessDehFile() invocation
2021-04-16 12:19:40 +02:00
Roman Fomin
a82c0c0d22
add support for longtics (#158) 2021-04-09 08:30:42 +02:00
Fabian Greffrath
91a317656f let "turn" mouse bindings act as aliases for the respective key bindings 2021-04-06 15:07:41 +02:00
Fabian Greffrath
1fb9dc89e5 add mapcolors_vanilla.cfg and mbf-bugs.html to installed docs 2021-04-06 10:19:24 +02:00
Fabian Greffrath
a22a63444f add mouse button bindings for backward motion and turning right/left 2021-04-06 10:14:22 +02:00
Fabian Greffrath
8a3c28d1b3 get rid of comp_3keydoor entirely
Let's face it: The bug *is* present in MBF, but not in Boom or any
hypothetical future complevel. Do not risk any demo desyncs and behave
like PrBoom+ which keeps this unfixed in complevel 11 alike.
2021-04-06 09:42:33 +02:00
Roman Fomin
2c6ec47751
initial implementation of complevels (#157)
* initial implementation of complevels

* add more aliases

* avoid string comparison

* fix complevel 2
2021-04-02 07:43:23 +02:00
Roman Fomin
fcd3df5bbb
Initial implementation of UMAPINFO (#151)
* initial implemetation of UMAPINFO

* fix gcc build

* fix cmake rule

* another attempt to fix gcc build

* fix const

* fix vsnprintf

* flag U_Error with a PRINTF_ATTR macro

* add support for exitpic/enterpic

* add UMAPINFO support to G_GotoNextLevel

* little cleanup

* add docs/umapinfo.txt

* fix backspace from new game menu returns to episode select

* fix endpic

* add brackets

* update docs/umapinfo.txt
2021-03-25 09:48:43 +01:00
Fabian Greffrath
fe000779e8 Woof! 4.0.2 woof_4.0.2 2021-03-23 09:03:48 +01:00
Fabian Greffrath
73e8bbe6f3 keep comp_3keydoor out of the comp[] array
Fixes #155, thanks @kraflab and @rfomin.
2021-03-21 17:59:36 +01:00
Fabian Greffrath
b6b7d999f2 only save MUSINFO music if it's actually playing 2021-03-20 21:23:07 +01:00
Roman Fomin
cfba708236
fix P_SetMobjState stack (#150) 2021-03-19 04:16:05 +01:00
Roman Fomin
727a57cca3
remove slash collapse (#149)
* remove slash collapse

* don't collapse leading slashes on Windows
2021-03-16 09:18:57 +01:00
Fabian Greffrath
23b460b7ed add a config example for Vanilla automap colors
Thanks @OpenRift412, addresses #108
2021-03-15 22:25:57 +01:00
Fabian Greffrath
27ca05bdac Woof! 4.0.1 woof_4.0.1 2021-03-15 09:26:38 +01:00
Fabian Greffrath
dd4a0da1d8 bring compatibility defaults in line with PrBoom+
* Enable "Zombie players can exit levels".
* Disable "Build stairs exactly the same way that Doom does".
* Enable "Fix 3-key door works with only 2 keys".
2021-03-14 13:35:33 +01:00
Fabian Greffrath
fbc8421753 add a dummy entry to the S_music[] array for the NUMMUSIC counter
This fixes a crash when changing music from a MUSINFO track.
2021-03-14 13:28:24 +01:00
Fabian Greffrath
e2aeedc6ab Disable "possible loss of data" warnings for MSVC
Does this work as intended and silence the build a bit @rfomin?.
2021-03-13 21:20:06 +01:00
Fabian Greffrath
4ee5474a8c actually only build one P_CreateBlockMap() or the other 2021-03-13 21:16:26 +01:00
Fabian Greffrath
6c8bdb2c5e declare either P_CreateBlockMap() or P_CreateBlockMapBoom() as static 2021-03-13 17:31:50 +01:00
Roman Fomin
01fbd14efc
fix wrong function argument in MUSINFO logging (#146) 2021-03-13 14:30:40 +01:00
Roman Fomin
fc210569e7
properly free data in i_sound.c (#145) 2021-03-13 09:40:40 +01:00
Roman Fomin
0a5d0f8b76
disable missed MBF codepointers (#144) 2021-03-13 09:40:27 +01:00
Roman Fomin
f66d448eb6
fix padvalue typo in the REJECT buffer overflow emulation (#143) 2021-03-13 09:40:12 +01:00
Roman Fomin
12e549e918
fix void function return value (#142) 2021-03-13 09:39:58 +01:00
Fabian Greffrath
377a60079c introduce the MBF_STRICT macro
This is enabled with the WOOF_STRICT compile time option.

It is used to enable original MBF code paths that are demo
incompatible to PrBoom+ complevel 11.
2021-03-12 10:11:44 +01:00
Roman Fomin
92318ee3cd
remove from P_Move() parts that are incompatible with PrBoom+ complevel 11 (#140)
* replace MBF's P_Move() with PrBoom's version

* integrate into original code

* remove from P_Move() parts that are incompatible with PrBoom+ complevel 11

* fix indent

* add comment

* restore blank line
2021-03-12 08:20:29 +01:00
Roman Fomin
fe9078c4c5
remove doomednum reset for MT_SCEPTRE and MT_BIBLE (#138)
* remove doomednum reset for MT_SCEPTRE and MT_BIBLE

* add comment
2021-03-11 08:51:30 +01:00
Roman Fomin
8d79bc2229
fix player bobbing for MBF demos (#139) 2021-03-11 07:50:34 +01:00
Fabian Greffrath
e026446179 Woof! 4.0.0 woof_4.0.0 2021-03-08 08:39:28 +01:00
Fabian Greffrath
037a8925ef Merge branch 'master' of https://github.com/fabiangreffrath/woof 2021-03-08 08:35:58 +01:00
Fabian Greffrath
e5d7d57df6 changelog entry for the 4.0.0 release 2021-03-08 08:34:39 +01:00
Fabian Greffrath
b891f492ab prepare README.md for Woof! 4.0.0 2021-03-05 12:50:18 +01:00
Fabian Greffrath
78642975f8 add a missing pair of braces
@rfomin Does anything speak against a release in the short term? Any pending changes on your side?
2021-03-02 08:58:10 +01:00
Fabian Greffrath
7e545e14bd fix endianess issues with drawing fullscreen patches
Fixes #136
2021-02-23 08:47:13 +01:00
Fabian Greffrath
9ccd3d5dba fix endianess issues with positioning the status bar patch
and also the bunny scroll screen

Fixes #135, thanks @BeWorld2018
2021-02-22 12:15:07 +01:00
Fabian Greffrath
d2a8c93e26 fix a crash when reading out joystick button states
Fixes #134, thanks @BeWorld2018
2021-02-22 12:10:58 +01:00
Roman Fomin
de004d20b3
ignore switches referencing unknown texture names, instead of exiting (#133) 2021-02-19 15:07:20 +01:00
Roman Fomin
acc966277a
emulate 'no fog on spawn west' vanilla bug (#132)
* emulate 'no fog on spawn west' vanilla bug

* fix gcc build
2021-02-19 15:07:03 +01:00
Fabian Greffrath
b8da391f4d bring weapon attack alignment implementation in line with Crispy 2021-02-19 11:12:51 +01:00
Roman Fomin
9f1c0e021a
fix a few widescreen offsets (#131) 2021-02-18 16:57:26 +01:00
Roman Fomin
ae80eca00d
fix handling music lumps with 0 length (#130) 2021-02-18 06:34:39 +01:00
Fabian Greffrath
bddeb3927c some minor fixes and clean-ups
mostly to satisfy my desire for smallest possible diff and white space
changes
2021-02-17 14:12:14 +01:00
Roman Fomin
b1daa874c5
Integrate Boom's BLOCKMAP generation code for demo compatibility (#129)
* Integrate Boom's BLOCKMAP generation code for demo compatibility

* use both versions of BLOCKMAP generation
2021-02-17 13:09:03 +01:00
Roman Fomin
8cb43b66a6
Restore Boom friction code for demo compatibility (#127)
* Restore Boom friction code for demo compatibility

* clean up

* fix original indentation

* try to fix indent again

* more indent fixes
2021-02-17 13:08:53 +01:00
Roman Fomin
1eea0b91b9
Ignore sprite lumps smaller than 8 bytes (#128)
* ignore sprite lumps smaller than 8 bytes

* remove unnecessary check
2021-02-17 06:33:51 +01:00
Fabian Greffrath
b5c63e620a clean up some demo compatibility code 2021-02-16 13:01:39 +01:00
Roman Fomin
70f2a0c2d0
fix P_FindShortestTextureAround (#126)
* fix P_FindShortestTextureAround

* fix position of M_PAUSE patch

* Revert "fix position of M_PAUSE patch"

This reverts commit 0d42ca4755639ca94b22720945f68ecd671dcd92.

* add fix for P_FindShortestUpperAround and check for demo version

* reformatted

* delete blank line
2021-02-16 10:06:02 +01:00
Roman Fomin
d14c65fe02
Disable MBF codepointers for BOOM demo compatibility (#125)
* disable mbf codepointers for boom demo compatibility

* disable other mbf codepointers

* fix gcc build
2021-02-12 10:03:04 +01:00
Roman Fomin
77310d7f66
Add MUSINFO support (#124)
* Add MUSINFO support

* use memcpy

* initialize lump[9]

* remove excess include
2021-02-11 13:55:05 +01:00