Fabian Greffrath
028b00c2c2
support '-skill 0' command line parameter (does not spawn any map objects) ( #653 )
...
* support '-skill 0' command line parameter (does not spawn any map objects)
* enable just for demo_compatibility
* distinguish between skill "none" and default skill
2022-07-12 18:55:57 +02:00
Fabian Greffrath
994a4e8971
get rid of some obsolete macros
2022-07-11 11:26:36 +02:00
Fabian Greffrath
f0bc9cc8cf
move I_GetPaletteIndex() to i_video.c
2022-07-11 11:26:32 +02:00
Fabian Greffrath
6335cefbca
reuse R_DupPlane() in R_CheckPlane()
2022-07-11 11:26:26 +02:00
Roman Fomin
2f9b786dd6
fix SDL_Mixer mingw download
2022-07-09 17:33:20 +07:00
Roman Fomin
80b47a4ae0
update CHANGELOG.md
2022-07-09 16:46:13 +07:00
Roman Fomin
2d9ccaf2a9
don't install git for msys2 CI
2022-07-09 16:45:43 +07:00
Roman Fomin
b247ed73e6
update SDL_Mixer to 2.6.0
2022-07-09 16:44:33 +07:00
Roman Fomin
8c61f1de6f
add music packs support ( #649 )
...
* load music files from autoload directory
* add support for .zip files
* fix gcc warnings
* delete temporary directory
* add missed header
* simplify handles closing
* add more error checking
* remove remnants of deprecated code
* fix whitespace
* use PROJECT_SHORTNAME
* extract only .wad, .lmp and music files
* autoload .zip files
* rearrange some code
* add support for drag-n-drop zip files
* fix autoload for PWADs in zip files
* fix memory leak, reformatting
* add M_StringCaseEndsWith function
* define MINIZ_NO_ARCHIVE_WRITING_APIS
* add zip files do bash completion
* Revert "define MINIZ_NO_ARCHIVE_WRITING_APIS"
This reverts commit f9674fee2516facea78c05aa40151b10016c81da.
2022-07-09 07:41:24 +02:00
Fabian Greffrath
de1618ab50
show FPS in IDRATE cheat
2022-07-08 12:24:24 +02:00
Fabian Greffrath
9aa0dbe1d2
Update README.md
2022-07-06 08:46:59 +02:00
Roman Fomin
6ad75eac27
disable interpolation for sectors without thinkers ( #648 )
2022-07-05 10:34:28 +02:00
Roman Fomin
ccea641753
replace the nickname of Andrey Budko with the full name ( #647 )
2022-07-05 09:18:14 +02:00
Roman Fomin
9262cab270
center mouse if permanent mouselook is disabled ( #645 )
...
* center mouse if permanent mouselook is disabled
* simplify mouselook toggle
2022-07-05 09:17:49 +02:00
Julia Nechaevskaya
3b92bcd6e4
Switch automap to FRACTOMAPBITS coordinate system ( #644 )
...
* Switch automap to FRACTOMAPBITS coordinate system
* Fix player arrows positioning in netgame
* Get back Crispy's zoomlevel init on all maps
2022-07-05 09:17:36 +02:00
Fabian Greffrath
8521c10309
don't let failed loadgame attempts reset gameepisode/gamemap ( #643 )
2022-07-04 13:02:00 +02:00
Roman Fomin
7668757f0e
Revert "ignore saveg_readp() return value instead of casting"
...
This reverts commit b996eb0d0c9301520d2bed38da5310d92dd86630.
str->function must not be NULL otherwise some thinkers don't work.
Maybe we can write str->function = 1?
2022-07-03 22:33:08 +07:00
Roman Fomin
190ab22c66
umapinfo: fix desync in finale skipping ( #642 )
2022-07-03 09:49:02 +02:00
Roman Fomin
3ad830f5aa
set window focus on startup ( #641 )
...
* clear out any events waiting at the start and center the mouse
* actually we just need to set window_focused = true as in Chocolate Doom
Clearing events at startup disables gamepad recognition.
2022-07-03 09:48:51 +02:00
Julia Nechaevskaya
3b7e955c75
Optimization for drawing huge amount of drawsegs ( #640 )
...
* Optimization for drawing huge amount of drawsegs
* Fix some original whitespace
* Use centerx and Z_Realloc
* Add line break
* Replace cx with centerx
Must be safe, since no modifying of centerx is done.
2022-07-03 09:48:38 +02:00
Roman Fomin
194a0740f4
implement death use action ( #638 )
...
* implement death use action
* consider demorecording and netgame
* rename reborn->default
2022-07-02 12:45:11 +02:00
Roman Fomin
7b5645f597
fix "ISO C forbids empty translation unit" via CMake ( #637 )
2022-07-02 10:59:30 +02:00
Fabian Greffrath
5fbf91cb17
clear tmthing at tic end ( #635 )
...
@rfomin Hopefully this fixes the rare segmentation faults you
experienced after the z_zone rewrite. At least it fixes the one
use-after-free issue I have found with valgrind before.
Fixes #636
2022-07-02 10:59:03 +02:00
Fabian Greffrath
985c9dbc04
ISO C forbids an empty translation unit
2022-06-30 09:43:20 +02:00
Fabian Greffrath
78a24f99d0
do not draw little dot in follow mode
2022-06-29 09:00:14 +02:00
Julia Nechaevskaya
4dec0ce25f
Keep arrow stable in non-rotate mode ( #634 )
...
* Keep arrow stable in non-rotate mode
* Erm, more human-readable condition
2022-06-29 08:55:19 +02:00
Fabian Greffrath
7b09a40fe3
fix Boom weapon autoswitch (from DSDA-Doom) ( #633 )
...
* fix Boom weapon autoswitch (from DSDA-Doom)
Fixes #578
Did I get this right @kraflab?
* fix boolean type typo
2022-06-28 17:07:01 +02:00
Julia Nechaevskaya
bc1728f4bd
Pan/zoom automap faster by holding run button ( #632 )
...
* Pan/zoom automap faster by holding run button
* Working approach
* Use `mousewheelzoom`
* increase F2_PANINC to 12
Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2022-06-28 08:27:41 +02:00
Fabian Greffrath
4bc54276dd
more elegant fix for "ISO C restricts enumerator values to range of ‘int’" warning
2022-06-27 13:34:14 +02:00
Fabian Greffrath
90bb538c79
Revert "restrict enumerator values to int type range"
...
This reverts commit c6e4c59ca958fae6c8c63c50df5c64bd1507a258.
2022-06-27 13:33:00 +02:00
Roman Fomin
5e9eb7434e
enable -Werror option ( #631 )
...
* enable -Werror option, set sprintf format
* change buffer size
* fix syntax error
* enable /WX option for MSVC
2022-06-27 11:23:02 +02:00
Joan Bruguera
bcf5410d3d
ask for confirmation on window close event ( #630 )
...
Ask for confirmation on SDL_QUIT (triggered by e.g. closing the game window),
in order to avoid accidentally closing the game and losing progress
The code is a trivial port from Chocolate Doom (GPL2), see:
* 5014caee2a
* 15f1bce94e
2022-06-27 08:23:55 +02:00
Roman Fomin
4942203b3e
fix savegame bug, cosmetic changes ( #629 )
...
* call saveg_write in saveg_write_pad (cosmetic)
* don't use dynamic memory for temporary mobj
* fix wrong order in saveg_read_scroll_t
2022-06-27 08:21:49 +02:00
Roman Fomin
b7cef58607
copy PrBoom+ logic for UMAPINFO exitpic/enterpic ( #628 )
2022-06-27 08:19:44 +02:00
Julia Nechaevskaya
2f213685bf
Apply various interpolations for automap ( #626 )
...
* Smooth player arrow rotation
* Interpolate thing triangles movement
* Interpolate player arrow in non-follow mode
* Prevent player arrow from jittering
* Fix losing grid lines near the automap boundary
2022-06-27 08:18:35 +02:00
Roman Fomin
ad2193c404
little cmake cleanup ( #624 )
...
* little cmake cleanup
* try to fix msys check
2022-06-25 22:17:47 +07:00
Fabian Greffrath
b996eb0d0c
ignore saveg_readp() return value instead of casting
2022-06-25 10:36:07 +02:00
Fabian Greffrath
c6e4c59ca9
restrict enumerator values to int type range
2022-06-25 10:34:00 +02:00
Fabian Greffrath
54920a43b9
fix function pointers in format strings
2022-06-25 10:30:23 +02:00
Roman Fomin
81b9b3d9f1
fix disabling wrong item in messages menu
2022-06-25 10:11:48 +07:00
Fabian Greffrath
d391449bf8
fix pointer to function pointer casting
2022-06-24 22:12:28 +02:00
Fabian Greffrath
a4b61ba550
fix function pointer as argument declaration
2022-06-24 21:49:34 +02:00
Fabian Greffrath
2e5fa2f847
remove excess semicolons outside of functions
2022-06-24 21:41:12 +02:00
Fabian Greffrath
055e769386
Merge branch 'master' of github.com:fabiangreffrath/woof
2022-06-24 21:36:02 +02:00
Fabian Greffrath
14d6a22bcc
fix char signedness for embedded lumps
2022-06-24 21:35:54 +02:00
Fabian Greffrath
ce2dd367b9
add historic Boom changelogs to the doc/ directory
2022-06-24 12:01:49 +02:00
Roman Fomin
8a7ed2ac6b
integrate documents generation from Chocolate Doom ( #603 )
...
* use docgen to generate CMDLINE.md
* generate plain text version of CMDLINE
* rename PROJECT_TARNAME->PROJECT_SHORTNAME, add man file generation
* document more parameters
* whitespace fix
* remove unused code
* simplify -complevel documentation
* use WORKING_DIRECTORY
* document more parameters, simplify -pistolstart
* change -speed category, document -blockmap
* fix -devparm description
* move -dog(s) -speed -beta -pistolstart to game category
* add woof-setup man, bash-completion generation
* -spechit parameter, more documentation fixes
* adjust the wording in woof.template
* remove redundant comments
* remove blank line
* remove another redundant comment
* fix PROJECT_SHORTNAME
2022-06-24 09:41:38 +02:00
Fabian Greffrath
82edebafa6
rename dprintf() -> doomprintf()
2022-06-24 09:28:36 +02:00
Fabian Greffrath
0e6e346b32
simplify and adapt z_zone.c to DSDA-Doom ( #620 )
...
* simplify and adapt z_zone.c to DSDA-Doom
* remove the INSTRUMENTED macro
* remove Z_Init() and Z_CheckHeap()
* remove PU_LOCKED
* eplicitly free all cached memory blocks on level setup
* assure proper pointer alignment
* fix headers
* reorder struct memblock, decrease padding
* add back historic changelogs
2022-06-24 09:01:49 +02:00
Fabian Greffrath
5cbd8e49d1
name CI jobs more explicitly ( #623 )
...
* name CI jobs more explicitly
* Update main.yml
2022-06-24 09:01:06 +02:00