741 Commits

Author SHA1 Message Date
Roman Fomin
126d69e18e
remove PATH_MAX, more Unicode compatibility on Windows (#212)
* dynamic allocation for file paths

* fix FindIWADFile

* cleanup

* add missed functions to win_fopen.c

* remove remaining PATH_MAX

* cleanup

* fix typo

* add mkdir to win_fopen.c

Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2021-05-31 08:24:39 +02:00
Roman Fomin
c4ce9481cb
initial implementation of backward compatible savegame (#211)
* initial implemetation of backward compatible savegame

* fix clang warnings

* fix save checksum loading

* fix floormove_t padding

* add DOS MBF save load support

* fix ceiling_t padding
2021-05-31 08:23:38 +02:00
Roman Fomin
5502693db0
mbf21: things (#207)
* mbf21: things

* fix links in mbf21.md

* implement mbf21 thing flags

* remove pr_heretic

* fix excess blank line

* cleanup

* add comments

* add meleerange property

* fix P_CheckRange
2021-05-31 08:23:21 +02:00
Roman Fomin
289688cf99 cut mbf21 scroller speed by 8 (mbf21 spec v1.1 update) 2021-05-30 23:49:26 +07:00
Roman Fomin
bfd253674e
umapinfo: fix parsing of the 'episode' field (#210)
* umapinfo: fix parsing of the 'episode' field

* fix patch == '-'

* make key values optional
2021-05-23 11:42:52 +02:00
Roman Fomin
ce351cc951
add e1m4b and e1m8b UMAPINFOs (#209)
* add W_ListNumFromName from PrBoom+, add e1m4b and e1m8b UMAPINFOs

* add labels

* remove W_ListNumFromName, add D_ProcessUMInWads
2021-05-23 11:24:40 +02:00
Roman Fomin
49253820e3
add UMAPINFOs for masterlevels.wad and nerve.wad (#208)
* add UMAPINFOs for masterlevels.wad and nerve.wad

* fix masterlevels UMAPINFO

* replace wads with plain text UMAPINFOs

* fix masterlevels UMAPINFO

* change case of filenames
2021-05-22 16:49:19 +02:00
Roman Fomin
b471773cbd fix G_GotoNextLevel for last UMAPINFO map 2021-05-22 17:21:52 +07:00
Roman Fomin
9638975f4c
delete a savegame from menu (#206)
* delete a savegame from menu

* delete excess blank line
2021-05-21 06:11:00 +02:00
Roman Fomin
37b5d4f7e1
autoload from PWADs directories (#205)
* autoload from PWADs directories

* don't create directories for PWADs

* load .deh files from PWADs autoload directories
2021-05-20 21:06:12 +02:00
Roman Fomin
2bcc61d5db
mbf21: sectors and lines (#204) 2021-05-19 13:01:17 +02:00
Roman Fomin
5529117265 fix comment and earlier return for P_SetSkipBlockStart 2021-05-19 08:27:12 +07:00
Roman Fomin
08f7d6a7d9
mbf21: bugfixes (#202)
* mbf21: bugfixes

* fix mbf21.md

* fix P_DivlineSide

* bring the 'BLOCKMAP fix' implementation inline with DSDA-Doom

* fix gcc build

* made P_SetSkipBlockStart from P_VerifyBlockMap function

* add comment
2021-05-18 16:26:50 +02:00
Roman Fomin
56a04885a0
fix e*m0 maps, draw INTERPIC for episodes >= 3 (#201)
* fix e*m0 maps, draw INTERPIC for episodes >= 3

* add comment
2021-05-17 13:57:26 +02:00
Roman Fomin
dafdcf7677 remove redundant code in HU_Start() 2021-05-17 14:53:13 +07:00
Roman Fomin
f85fd4ca2c
umapinfo: add label field (#199) 2021-05-17 09:35:03 +02:00
Roman Fomin
360a5e87ab
mbf21: demo format/header (#185)
* mbf21: demo format/header

* update to current spec

* add MBF21VERSION macro, minor tweaks
2021-05-17 09:31:51 +02:00
Fabian Greffrath
02af2094aa release Woof! 5.1.0 woof_5.1.0 2021-05-14 08:47:21 +02:00
Roman Fomin
fb74a8e5ed
fix extended help for Doom 2, load help screen from PWAD (#198)
* fix extended help for Doom 2, load help screen from PWAD

* fix extended help for Doom 1

* fix indent

* add comments
2021-05-13 13:13:16 +02:00
Fabian Greffrath
85a1c02126 prepare for Woof! 5.1.0 2021-05-12 10:10:16 +02:00
Roman Fomin
be4b237c8e
disable menu items according to complevel (#195)
* disable menu items according to complevel

* disable 'Enemies' menu if complevel == vanilla, cleanup

* fix gcc build

* disable 'enable bobbing' option for complevel == vanilla

* get rid of 'toggle'

* merge M_ResetSetupMenuItems() and M_ResetSetupMenu()

* few tweaks

* disable weapon preferences for completed == vanilla, don't draw instructions for disabled items

* trying to write macros
2021-05-12 08:44:37 +02:00
Roman Fomin
edc799a410 remove redundant initialization in P_GroupLines 2021-05-11 14:15:24 +07:00
Roman Fomin
a6fd60aa75 fix widesreen offsets for advanced hud and custom messages 2021-05-11 12:06:59 +07:00
Roman Fomin
dfb89b3b10 allocate 64 MiB by default 2021-05-11 00:39:44 +07:00
Fabian Greffrath
c4d8c4c2e8
disable compatibility options from setup menu if complevel != mbf (#194)
* disable compatibility options from setup menu if complevel != mbf

Fixes #193 @rfomin

* fix crash for WADs with multiple colormaps

* apply when the user changes default compatibility in the menu
2021-05-10 15:28:46 +02:00
Fabian Greffrath
788d952c2f Merge branch 'master' of https://github.com/fabiangreffrath/woof 2021-05-07 12:30:43 +02:00
Fabian Greffrath
904370f296 clamp MIDI controller change values into the [0..127] range 2021-05-07 12:30:23 +02:00
Roman Fomin
b4aa469660
add REJECT overflow emulation from PrBoom+/Chocolate Doom (#190) 2021-05-06 13:46:04 +02:00
Roman Fomin
c5a9fbb2e3
set the correct vars in comp vector (#188)
* add compatibility matrix from PrBoom, fix complevel vanilla

* remove compatibilty matrix

* consider 'compatibility' flag

* compatibility fixes
2021-05-06 13:45:50 +02:00
Fabian Greffrath
da1d88c92a fix CRLF mismatch in multi-line DEHACKED string substitutions
Fixes #189
2021-05-06 13:18:07 +02:00
Fabian Greffrath
88f3cc5faa fix non-MSVC WIN32 build 2021-05-06 08:28:52 +02:00
Roman Fomin
589d8c4f79 fix 'next map' for episode 4 2021-05-06 11:41:16 +07:00
Fabian Greffrath
caf37cbe4e move win_opendir.c to the win32 directory 2021-05-04 11:51:07 +02:00
Roman Fomin
395310e0e4
unicode paths on Windows (#187)
* unicode paths on Windows

* move D_fopen() to win32 dir

* add win_fopen.c win_fopen.h
2021-05-03 12:30:19 +02:00
Fabian Greffrath
5d18a225a5 always recalculate texture offsets 2021-05-03 09:35:03 +02:00
Fabian Greffrath
50fea6fa0b remove double binding of key_menu_up and _down
Fixes #186
2021-05-03 08:33:27 +02:00
Roman Fomin
ff51cb9214 fix flashing disc icon in widescreen mode 2021-04-30 21:16:42 +07:00
Fabian Greffrath
e8749c6595 Woof! 5.0.0 woof_5.0.0 2021-04-26 14:03:10 +02:00
Roman Fomin
1c5c2f3b2a
save/load Boom friction (#180) 2021-04-23 06:48:31 +02:00
Roman Fomin
89b0a8d42e warning about pending change for default_complevel 2021-04-23 10:53:53 +07:00
Roman Fomin
a476db2e67 umapinfo: implement skytexture field 2021-04-22 18:59:53 +07:00
Roman Fomin
8d8990d571
umapinfo: add draw levelpic (#179) 2021-04-22 12:31:17 +02:00
Roman Fomin
eeeb8334a5
umapinfo: bring the implementation in line with PrBoom+ (#178)
* umapinfo: fix the nointermission field, bring the implementation in line with PrBoom+

* fix gcc build

* another attempt to fix the gcc build
2021-04-22 12:30:13 +02:00
Fabian Greffrath
984058fc81 prepare for Woof! 5.0.0 2021-04-22 09:57:50 +02:00
Roman Fomin
1516517bb6
update umapinfo version (#177) 2021-04-22 07:09:46 +02:00
Roman Fomin
58bb559f01
umapinfo: add draw levelname without graphics (#176)
* umapinfo: add draw levelname without graphics

* fix gcc build
2021-04-22 07:09:31 +02:00
Roman Fomin
33b7ad3c23
fix umapinfo endbunny (#175) 2021-04-22 07:09:19 +02:00
Roman Fomin
73bfe2dc48 fix draw widescreen graphics for Doom 1 endings 2021-04-21 23:20:23 +07:00
Roman Fomin
40a04daf39
replace slashes in standard_iwads[] with DIR_SEPARTOR_S (#172)
* remove slashes from standard_iwads[]

* fix missing occasions

* replase slash in standard_iwads[] with DIR_SEPARTOR_S
2021-04-20 21:38:28 +02:00
Roman Fomin
411874e370
change autoload order (#173)
* change autoload order

* add comments
2021-04-20 20:44:09 +02:00