2806 Commits

Author SHA1 Message Date
Roman Fomin
dd46dfb108
attempt to fix nextweapon autoswitch issue (#2037) 2024-11-22 15:14:52 +07:00
jpernst
2809231f00
Keep next/prev weapon state synchronized with manual weapon switch (#2042) 2024-11-22 15:14:27 +07:00
gendlin
54068a57b0
Clean up and match Chocolate (#2041) 2024-11-22 08:58:55 +01:00
Roman Fomin
d24604a62e
restore "Center Message" (#2035) 2024-11-21 18:51:29 +07:00
Roman Fomin
9872a993b8 fix "clean screenshot" 2024-11-21 11:55:07 +07:00
Roman Fomin
bc2f6d3aeb
improve "blocky fuzz" rendering, remove branches (#2027) 2024-11-19 16:02:22 +07:00
ceski
4115c9500f
Add auto save support to -loadgame (#2034)
Auto saves can be loaded from the command line with `-loadgame 255`. Disabled for demos and multiplayer.
2024-11-18 21:17:03 -08:00
ceski
e5d2d94c6f
Reorganize weapons options (#2029) 2024-11-18 06:14:54 -08:00
Roman Fomin
0d5505bce4
left alignment for automap title and other tweaks (#2008) 2024-11-18 09:30:41 +07:00
Roman Fomin
bd81f370c6
implement carousel widget (#2020)
* Don't use Boom logic for next/prev buttons

* Darken disabled icons in complevel vanilla

* Restore menu item for vanilla weapon cycle

* Restore menu item for vanilla weapon cycle, "off" by default

* Reset carousel when resetting status bar

When starting a new game, loading a save game, loading next level, etc.

* Reset carousel when paused or menu is active

* Reset carousel when dead

* Animate switching

* Decouple next weapon selection from ready/pending state

* Reset `nextweapon` state when weapon change command is discarded

* Set `nextweapon` in P_GiveWeapon

* Reset carousel when standard automap is activated

* Reset the carousel if the nextweapon cmd is not sent

---------

Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
2024-11-18 08:03:32 +07:00
Roman Fomin
e832180131 remove remnants of the "key blink" feature 2024-11-17 13:38:42 +07:00
Roman Fomin
087179a230 fix CMake warning 2024-11-17 13:36:59 +07:00
ceski
fcdec943c1 Revert "Disable rumble by default"
This reverts commit 880fc33e906bc8028ef9e054bd30870aac0fe803.
2024-11-16 08:15:58 -08:00
Roman Fomin
22216cd8af quiet Findlibebur128.cmake 2024-11-16 12:57:23 +07:00
Roman Fomin
8a736339a9 reset st_time_elem and st_cmd_elem, cosmetic fixes 2024-11-14 14:30:48 +07:00
Roman Fomin
59ed2c0c13
draw cmd widget on intermission screen (#2024) 2024-11-14 14:07:02 +07:00
ceski
66f66ee40f
Fix sbardef strict mode regressions (#2023)
* Fix coords strict mode regression

* Fix command history strict mode regression
2024-11-13 19:50:28 -08:00
Roman Fomin
fbb026b3b1 update the list of build-dependencies in README.md 2024-11-13 20:53:59 +07:00
Roman Fomin
726abe64e5
support for TRAKINFO (#1982)
* switch to yyjson, add sha1 library from Chocolate Doom

yyjson allows comments and has better error reporting.

* search for the system package yyjson

* fix memory leaks (clang-tidy warnings)

* search for extras.wad, add -noextras parameter

* add M_StringToDigest
2024-11-13 12:51:00 +07:00
Roman Fomin
01b4cbbeea
fast exit with Alt-F4 or pressing the close button (#2017)
* disable ENDOOM
2024-11-13 12:48:44 +07:00
ceski
58dcc9da3c
Fix quick load after manually loading auto save (#2019) 2024-11-12 07:22:07 -08:00
Roman Fomin
165dbaff15 delete hu_stuff.* files 2024-11-12 22:14:47 +07:00
Roman Fomin
1b8cb0d888 restore screenvisible check (fix CPU usage when window is minimized) 2024-11-12 13:56:17 +07:00
ceski
597ff71791
Change exit sequence wording (#2016) 2024-11-11 19:48:50 -08:00
Roman Fomin
8dbeded359
implement loudness normalization using libebur128 (#1997)
* rename "MIDI Settings"->"Music Settings", add "Auto Gain" menu option

* Drop native midi menu items

---------

Co-authored-by: ceski <56656010+ceski-1@users.noreply.github.com>
2024-11-12 07:31:42 +07:00
Roman Fomin
a9c4b09102
compatibility database from DSDA-Doom (#2015) 2024-11-11 23:11:15 +07:00
Fabian Greffrath
ca4152176c
count others' kills against you on the deathmatch score board (#2010)
* count others' kills against you on the deathmatch score board

much more interesting with more than 2 players

* factor deathmatch scoreboard out into a separate widget
2024-11-11 06:28:06 +01:00
Roman Fomin
5df25953b8 use don't use Doom font in hu_coordinates 2024-11-11 10:12:56 +07:00
Roman Fomin
c6af0aba8e
id24: intermission updates (#2009)
* remove "map number" concept

* add support for music field

* fix conditions
2024-11-10 17:33:33 +07:00
ceski
f19b16b2ae
Fix ENDOOM aspect ratio (#2006) 2024-11-09 08:20:48 -08:00
Fabian Greffrath
d3148e2912 fix frags counter
suicides count against you
2024-11-09 16:17:36 +01:00
Fabian Greffrath
14ca5ab186
track level time countdown in time widget (#2003)
* repair level time countdown

* track level time countdown in time widget
2024-11-09 09:58:43 +01:00
Fabian Greffrath
a85585d786
turn the stats widget into a deathmatch score board (#2001) 2024-11-09 09:58:26 +01:00
Fabian Greffrath
413cdc3f80
restore multiplayer face widget background (#1999)
Fixes #1986
2024-11-08 20:47:31 +01:00
ceski
c5aec1ac34
Add sound options menu, move items to config (#1996)
* Move "flick snap" to config only

Off by default.

* Move "armor color matches type" to config only

On by default.

* Move "coords follow pointer" to config only

On by default.

* Move "smooth automap lines" to config only

On by default.

* Move "square aspect ratio" to config only

On by default.

* Move "blocky spectre drawing" to config only

On by default.

* Add sound options menu
2024-11-08 08:36:15 -08:00
Fabian Greffrath
2bd08f01b5 different blue shading for big and small widget font, part 2 2024-11-08 15:02:43 +01:00
Fabian Greffrath
12dba5a84f fix "use" button timer not decreasing
Fixes #1990
2024-11-08 14:19:16 +01:00
Fabian Greffrath
ce6bbc57cf different blue shading for big and small widget font 2024-11-08 14:18:39 +01:00
Fabian Greffrath
5b31a0aa43 prevent heap overflow in cjson code
Fixes #1991
2024-11-08 14:17:53 +01:00
Roman Fomin
80bc8d49c5
restore Doom font option (#1992)
* move "Level Stats Format" under "Widget Appearance"

* set font during parsing

* always load hu_font
2024-11-08 14:07:19 +07:00
Roman Fomin
f66ca8d62e
sbardef: fix missing cell/fuel graphics, keys conditions (#1989)
* remove FTNKA0 from SBAREF (sprite from id24res)

Overwrite SBARDEF in id1.wad and extras.wad

* fix keys conditions
2024-11-08 14:06:36 +07:00
Roman Fomin
bf9f8ddf86
fix middle alignment for patches with offsets (#1995) 2024-11-08 14:06:07 +07:00
ceski
1a4184da65
Use improved FluidSynth reverb/chorus defaults, add config settings (#1993)
* Rename reverb/chorus settings

* Rename gain setting

* Use consistent descriptions

* Expose polyphony/reverb/chorus settings in config

Defaults based on recommendations from the author of GeneralUser GS. Very similar to the improved defaults for FluidSynth 2.4.0.

* Expose interpolation setting in config

The author of GeneralUser GS recommends the highest quality interpolation method, but the default method has lower CPU usage.
2024-11-07 20:09:20 -08:00
Roman Fomin
e7c0f19fbe
support for DMXOPL (#1988) 2024-11-07 23:07:28 +07:00
Roman Fomin
753b9ebde5
fix deletion of save game with mouse cursor (#1981) 2024-11-07 22:27:14 +07:00
Roman Fomin
8fc5d4b42a fix hud_secret_message binding 2024-11-06 15:39:14 +07:00
Roman Fomin
bd11c0ce9a fix update_wiki.yml 2024-11-06 13:00:23 +07:00
Roman Fomin
2b05d6d6ab
id24: SBARDEF (#1916)
* implement SBARDEF parsing

* add default sbardef.lmp to base

* add support for Boom colors

* implement widescreen mode, F5 switches to fullscreen HUD

* update dig* font

* load defaults from sbhuddef.lmp

* remove hu_stuff.* and hu_lib.*

* add support for translucency, introduce -dumptranmap

* apply Fabian Greffrath's patch, fixes

* build woof.pk3 only if the base files have been modified

* remove key blinking
2024-11-06 12:55:40 +07:00
Alaux
65d6a2edd3
Level-stats format settings (#1967)
* Level-stats format settings

* Various changes

- Use formatting function updated in `HU_Start()`
- Removed automap format setting
- Disable menu item when widget is disabled
- Moved and renamed menu item

* More changes

- Hardcoded parameters into formatting functions
- Made menu item call `HU_Start()`
- Renamed "Percentage" to "Percent"
- Fixed Clang-Tidy warning

* Simplify formatting functions (Fabian's patch)

Co-Authored-By: Fabian Greffrath <fabian@greffrath.com>
2024-11-06 08:55:22 +07:00
Roman Fomin
7e9a70c2eb
fix MBF21 ripper weapons causing too much damage (#1977)
* fix clang-tidy warnings

* don't do "blockmapfix" for MF2_RIP projectiles
2024-11-04 13:13:46 +07:00