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
ceski
62ddc5c1b8
Add fake high-resolution turning setting ( #1691 )
2024-05-22 06:28:43 -07:00
Fabian Greffrath
9011fbcfd8
Draw sprites overlapping into visible sectors ( #1693 )
...
* render sprites merely touching the sector in R_AddSprites()
* check if sprites in sector have already been projected
* add config key binding
* CRITICAL() -> STRICTMODE()
2024-05-21 18:00:06 +02:00
ceski
df01263104
Improve EMIDI track designation ( #1699 )
2024-05-21 02:30:23 -07:00
Fabian Greffrath
33346221a3
always use traditional menu ordering, drop Boom choice ( #1698 )
2024-05-21 11:03:26 +02:00
Roman Fomin
46e7b16b21
reset `highlight_item', check input mode for "mouse button up" event ( #1697 )
2024-05-21 14:16:58 +07:00
Roman Fomin
18693bc95b
fix the garbage columns when the aspect ratio correction is turned off ( #1695 )
2024-05-21 09:08:06 +07:00
Fabian Greffrath
ebf69cd6a8
remove title widget alignment from examples
2024-05-20 09:58:38 +02:00
Fabian Greffrath
9417f5d899
let title widget get aligned by the defaults
2024-05-19 21:29:43 +02:00
Fabian Greffrath
efe9729537
Merge branch 'master' of github.com:fabiangreffrath/woof
2024-05-19 21:28:46 +02:00
Fabian Greffrath
ea85a6993d
align secret revealed widget relative to view center
2024-05-19 21:27:32 +02:00
ceski
c7ad1193d1
Add command history widget ( #1692 )
2024-05-19 08:22:20 -07:00
Roman Fomin
155a5d0f17
switch to ubuntu-24.04, add extra-options for Linux build
2024-05-18 21:26:27 +07:00
Alaux
fb488620b5
Revise CVAR descriptions ( #1684 )
...
* Revise CVAR descriptions
* Second pass
* Revise some descriptions as per MBF21 OPTIONS doc
* Species in plural
* Third pass
* Missed a "percentage"
* Fourth pass
2024-05-14 04:44:04 -03:00