Fabian Greffrath
a5be5b5e19
do not trigger silent teleports in the SPECHITS cheat ( #1746 )
2024-06-17 09:53:37 +02:00
Roman Fomin
1fe88ec513
reset tmthing
pointer in cheat_spechits
function ( #1745 )
...
Fix SPECHITS cheat in Resurge.wad MAP15
2024-06-17 11:36:24 +07:00
Fabian Greffrath
9bea4e33ac
fix automap input when being closed due to death ( #1742 )
2024-06-13 09:33:02 +02:00
Roman Fomin
2ea22a6455
save/load menu improvements in mouse mode ( #1741 )
...
* Don't show snapshot for page item.
* Switch pages left/right depending on mouse cursor position.
2024-06-13 14:27:38 +07:00
tomas7770
db36bafe6e
add doomu.wad alias for Ultimate Doom ( #1736 )
2024-06-10 08:32:56 +07:00
gendlin
2721476433
Disable SDL render batching by default ( #1733 )
2024-06-09 10:36:06 +07:00
ceski
06f3324f99
Unconditionally skip first/last 16 bytes of DMX sound data ( #1732 )
2024-06-08 06:29:01 -07:00
Roman Fomin
d22ed9b2ed
upload MSYS artifact
2024-06-08 18:48:41 +07:00
Fabian Greffrath
caea42167f
fade out sound samples ( #1731 )
...
* fade out 8-bit mono sound samples
Fixes #1730
* apply to FadeInOutMono16() and FadeInOutMonoFloat32()
* Fix crash
* Check fade in and fade out separately
---------
Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
2024-06-08 10:24:51 +02:00
Fabian Greffrath
f7b5cd317c
fix M_StringCopy() again
2024-06-07 10:03:02 +02:00
Roman Fomin
80d92fa2ae
fix ST_BAR flickers when changing the resolution scale in the menu
2024-06-07 08:57:33 +07:00
Roman Fomin
e4ec2abd6f
building dependencies with vcpkg on Linux ( #1724 )
2024-06-06 16:18:28 +07:00
Roman Fomin
e81db0ae77
"function factory" in r_draw.c and v_video.c ( #1721 )
...
* reformat r_draw.c
* add R_ShadeScreen and V_ShadeScreen functions
* add translation functions
* fix fuzzpos
2024-06-06 16:17:18 +07:00
Fabian Greffrath
0f996cb2eb
Merge branch 'master' of github.com:fabiangreffrath/woof
2024-06-04 17:58:28 +02:00
Fabian Greffrath
789ed8adf9
update params.h
2024-06-04 17:58:23 +02:00
gendlin
9bf7babb9a
Improve frame limiter behavior on older CPUs ( #1723 )
2024-06-04 20:19:32 +07:00
gendlin
0f728d629b
Fix overflow in fps counter at 2147 fps ( #1725 )
2024-06-03 12:07:31 +07:00
Fabian Greffrath
31c9e45453
fix warning: ‘strncpy’ destination unchanged after copying no bytes
2024-06-02 21:00:59 +02:00
ceski
fe9e2d8920
Update README.md
2024-06-01 07:28:36 -07:00
ceski
32be8190c8
Prevent mouse motion when returning from message prompts ( #1722 )
...
* Flush mouse motion when clearing relative state
* Clear relative mouse state when clearing input variables
* Prevent mouse motion when returning from message prompts
2024-05-31 23:23:29 -07:00
ceski
4f95da2225
Merge pull request #1720 from ceski-1/pitch_fix
2024-05-31 06:35:44 -07:00
ceski
c89059e606
Scale pitch before clamping range
2024-05-31 00:32:08 -07:00
ceski
ef34eab76d
Simplify gamepad calculations
2024-05-30 22:53:04 -07:00
ceski
f219f7231d
Additional input refactoring ( #1712 )
...
* Revert input refactoring
* Add back independent `raw_input` and `fake_longtics`
* Don't rotate camera during invalid state
* Simplify viewangle calc
* Move side calcs to g_input
* Move gamepad calcs to g_input
* Move mouse calcs to g_input
* Keep local view update in g_game
* Move error accumulation to g_input
* Reduce scope
2024-05-30 07:03:09 -07:00
Roman Fomin
76604bca42
fix M_StringJoin calls
2024-05-30 20:59:39 +07:00
Roman Fomin
51cb24de4a
move all autoload and internal resources to woof.pk3 archive ( #1713 )
...
* Remove -dumplums and -dumptables commands.
2024-05-30 20:55:01 +07:00
Roman Fomin
215c75a55a
add clang-tidy to CI and fix some warnings ( #1717 )
...
* fix replacement of `author` umapinfo string (assumed to be lump name)
* remove some variables that are never read
* remove `toolsrc` from the build (we don't package it anyway)
* make sure that `dropoff` parameter is boolean
* allow `i` values outside enum mobjtype_t range
* `oldgamestate` out of range for `gamestate_t` enum
* false positive (?) for leaking memory in U_SaveState
* use the `__VA_ARGS__` macro instead of functions with variable parameters
In standard C, using NULL to terminate the argument list of a variadic
function is undefined behaviour.
2024-05-30 20:20:46 +07:00
Roman Fomin
1f957567a6
use compile_commands.json
for Cppcheck ( #1716 )
...
* suppress memleak warnings only for u_scanner.c
2024-05-29 18:07:46 +07:00
Fabian Greffrath
605289f161
initialize midi_position_t position in i_midimusic.c:PlayerThread()
2024-05-28 13:45:51 +02:00
Roman Fomin
66ec2d5d96
fix adding base files listed after subdirectory in zip files
2024-05-28 14:34:12 +07:00
Fabian Greffrath
5b35e2a604
declare mapcolor_preset as static, some clean-up
2024-05-28 08:03:55 +02:00
Roman Fomin
e100d5c3f1
add support for 8-bit PNG files ( #1708 )
...
* move V_LinearToTransPatch function to v_fmt.c
* add simplified V_LinearToPatch function
* rename the appropriate W_CacheLump* to V_CachePatch* or V_CacheFlatNum
2024-05-28 08:11:14 +07:00
Roman Fomin
882017454d
fix M_FileLength function
2024-05-27 17:11:04 +07:00
Roman Fomin
0c7725ae6e
if base dir is not found, do not check sub dirs
2024-05-27 15:08:29 +07:00
Fabian Greffrath
7e46bed40a
add a Crispy Doom automap color scheme ( #1709 )
...
* add a Crispy Doom automap color scheme
https://www.doomworld.com/forum/topic/112333-this-is-woof-1450-apr-30-2024/?page=92&tab=comments#comment-2804787
* adjust mapcolor_preset description
* move enum to source file
* print the map title in white from the first colon onward
* remove multi-colored map title again
* double check color accuracy
2024-05-27 09:47:10 +02:00
ceski
2fb776726a
Separate fake_longtics
and raw_input
( #1710 )
2024-05-26 20:42:10 -07:00
Roman Fomin
1c325fb79d
fix adding files in root directory of zip archives
2024-05-26 15:54:33 +07:00
Roman Fomin
ffc2261503
use binary search in zip central directory
2024-05-26 08:57:24 +07:00
Roman Fomin
97631fe0b9
simplify lump filters handling, convert slashes for zip paths
2024-05-26 00:30:49 +07:00
Roman Fomin
49113c9d85
load IWAD from zip, cosmetic changes ( #1703 )
...
* Add more lump filters.
* Simplify `CheckIWAD` function, load IWAD from zip archive.
* Remove `PrintVersion` function.
2024-05-25 21:10:29 +07:00
ceski
045b3a2797
Refactor game input utility functions ( #1705 )
2024-05-25 06:35:15 -07:00
Fabian Greffrath
46bc8de658
announce map titles ( #1704 )
...
* announce map titles
https://www.doomworld.com/forum/topic/125256-nugget-doom-310-updated-may-16th-24/?page=22&tab=comments#comment-2801367
* make hud_map_announce static
2024-05-25 11:01:51 +02:00
ceski
f673802db6
Revise additional CVAR descriptions ( #1706 )
2024-05-24 22:51:48 -07:00
Roman Fomin
9a88954c8e
simplify joyb_names
and mouseb_names
arrays
2024-05-25 12:08:21 +07:00
Fabian Greffrath
b468c19580
return gamemode string for unknown IWADs ( #1702 )
2024-05-24 18:20:10 +02:00
Fabian Greffrath
a8e90456fb
check active_module before dereferencing
2024-05-24 18:04:18 +02:00
Roman Fomin
eeed37db4f
remove VX_NearbySprites ( #1701 )
2024-05-24 21:39:51 +07:00
Roman Fomin
59b41e4120
restore freedoom*.wad in iwads
table
2024-05-24 20:36:15 +07:00
Roman Fomin
e49828d7c7
fix print of IWAD version
2024-05-24 19:04:59 +07:00
Roman Fomin
7f50fbbc8e
resource directories, extract zip files in memory ( #1694 )
...
* Redone miniz build.
* Extract zip files to memory.
* Add `sprites`, `flats`, `colormaps`, `music` and `voxels` sub-directories (also in zip archives).
* Add VX_START VX_END markers.
* Add some of the GZDoom lump filters.
* Direct load of demo files, remove W_DemoLumpNameCollision
* Fix "organized savefiles" for in-memory WADs
* Remove `default_verbocity`, simplify `PrintVersion()`.
2024-05-24 18:47:24 +07:00