1805 Commits

Author SHA1 Message Date
Fabian Greffrath
b7c669c47c
bring back three-lined coords/stats widgets (#1180)
* bring back three-lined coords/stats widgets

Fixes #1131

* fix typo

* try to shut MSVC up

* restore original buffer length

* rearrange menu items

* simplify matters

* restore init ordering

* some final adjustments
2023-08-22 08:24:16 +02:00
Fabian Greffrath
4265250240 set CMake install prefix to /usr 2023-08-22 08:03:01 +02:00
Fabian Greffrath
c915aba59a unambigious names for CI workflows 2023-08-22 08:00:50 +02:00
Fabian Greffrath
19c25e94c3
complete overhaul of the HU widgets system (i.e. hu_lib.*) (#1178)
* stuff compiles, but crashes

* stuff runs, kind of

* stuff works, mostly

* add back support for centered player messages

* pointers!

* more stuff working

* some aesthetics

* some more minor stuff

* some more clean-up

* some optimizations

* some more minor stuff

* update woofhud.md

* some rearrangements, comments

* make the "space" character 5 px wide

* build the w_title widget a bot earlier

* nicer

* fix some more minor alignment issues
2023-08-21 09:01:10 +02:00
Fabian Greffrath
77af6e50f6 skip "hidden" files in ZIP archives 2023-08-18 09:18:17 +02:00
Julia Nechaevskaya
edf67b8ebe
Improve BFG and SW2STONE brightmaps (#1179) 2023-08-17 22:05:56 +02:00
Fabian Greffrath
5e3150decd
consolidate hu_stext_t and hu_itext_t into hu_mtext_t (#1177)
* make hu_stext_t, hu_mtext_t, hu_itext_t all API-compatible

* consolidate hu_stext_t and hu_itext_t into hu_mtext_t

* rename abigious x member of hu_mtext_t
2023-08-15 11:57:46 +02:00
Fabian Greffrath
5c11fb69d8
optional widescreen widget arrangement (#1176) 2023-08-11 21:30:14 +02:00
Fabian Greffrath
837212ebde
remove some useless fields from textline widgets (#1174) 2023-08-10 13:49:08 +02:00
Fabian Greffrath
59adb20e17
optionally draw bar graphs in Boom HUD widgets (#1173) 2023-08-09 20:44:39 +02:00
Fabian Greffrath
34bc2ef837 hard-code startchar to HU_FONTSTART for all widgets 2023-08-09 20:44:04 +02:00
Fabian Greffrath
7ab38ec4a6 correctly bottom-align if Crispy HUD is preferred but not active 2023-08-09 20:14:35 +02:00
Fabian Greffrath
0d205abf97
make HU widget strings local to the respective builder functions (#1172)
* make HU widget strings local to the respective builder functions

* express buffer sizes in terms of HU_MAXLINELENGTH
2023-08-09 20:07:50 +02:00
Julia Nechaevskaya
7cd5c8e2d0
Use greenonly1 for Armor Bonus (#1171)
See: 92e4e71e34
2023-08-08 21:24:11 +02:00
Fabian Greffrath
c7c03d895c
correctly determine string length of the map title widget (#1170)
Fixes #1163

Hopefully only an intermediate solution until the hu_lib.c rewrite. 😉
2023-08-08 16:51:17 +02:00
Fabian Greffrath
3209e4e467
alternative approach to stable vissprite sorting in Vanilla order (#1169) 2023-08-08 12:30:57 +02:00
Fabian Greffrath
5594e81de1
use reverse-DNS naming for desktop files and add AppStream metadata information (#1167)
* use reverse-DNS naming for desktop files

This is consistent with Crispy Doom, and the
desktop entry specification recommends doing this as well.

* add AppStream metadata information
2023-08-07 18:22:09 +02:00
Fabian Greffrath
a3fc158f88
replace and extend crosshair patches with the shaded variants from Nugget Doom (#1166) 2023-08-07 18:22:02 +02:00
Fabian Greffrath
7202ffa754
reorder vissprites, so that objects with higher map indices appear in front (#1165)
* fix stable vissprites sorting

* add comment
2023-08-07 18:21:47 +02:00
Roman Fomin
6aed7bf13b
reset button state when automap is turned on (#1164) 2023-08-06 17:22:26 +07:00
kraflab
ff16687847 Fix PIT_ApplyTorque when line has no length 2023-08-06 12:17:16 +02:00
Roman Fomin
b51cd3096f upload AppImage on release, cosmetic fixes 2023-08-02 22:54:55 +07:00
qurious-pixel
c02d49315b
[CI] AppImage CPACK (#1161)
* Generate AppImage CPACK

* Generate AppImage Artifact
2023-08-02 20:40:57 +07:00
Roman Fomin
777df08a8a
all sounds are stopped before Z_FreeTags even with MUSINFO (#1160) 2023-07-28 10:06:45 +02:00
Fabian Greffrath
3229e9e4ff
P_SetPsprite: check for readyweapon's upstate (#1157)
* P_SetPsprite: heck for any weapon's upstate or downstate

* limit number of choices

* check for readyweapon's upstate
2023-07-26 19:22:52 +02:00
Fabian Greffrath
b5263a3619
Turn mypos/stats/showfps from powers to cheats (#1159)
* Turn mypos/stats/showfps from `powers` to `cheats`

Fixes #1158

* deobfuscate a bit
2023-07-26 19:22:29 +02:00
Fabian Greffrath
71d636b0d6
fix Options->General menu pages 1 and 2 (#1152)
* fix Options->General menu pages 1 and 2

Fixes #1151

* reorganize Sound & Music page a bit

* skip the right gap
2023-07-26 19:22:11 +02:00
Fabian Greffrath
f60d325695 consequently rename -nodehlump parameter to -nodeh 2023-07-23 16:24:57 +02:00
Fabian Greffrath
491b6a9576
let M_GetNameFor*() return "JUNK" (#1156)
* let M_GetNameFor*() return "JUNK"

* do not save "junk" bindings in the config file
2023-07-22 14:59:45 +02:00
Roman Fomin
8817710b7b
fix ESC reset with mini-thermo items affects multi-choice select items (#1154) 2023-07-22 09:52:48 +02:00
Roman Fomin
c1e8fad585
disable returning to the episodes menu if only one episode is present (#1155) 2023-07-22 09:52:19 +02:00
Fabian Greffrath
fb3ea353e4 do not crash when saving a "junk" key binding 2023-07-22 09:50:14 +02:00
Fabian Greffrath
3908767536 set player->switching directly in P_SetPsprite() 2023-07-18 07:24:19 +02:00
Alaux
9c306eb605
Fix lowering in A_CheckReload()/P_CheckAmmo() (#1149) 2023-07-17 08:52:34 +02:00
Fabian Greffrath
60b2c31189
allow separate key binding for the numerics keypad (#1148)
* allow separate key binding for the numerics keypad

Fixes #1147

* bring back some sub-128 key codes

* abstract HOME key in default config
2023-07-16 15:32:32 +02:00
Roman Fomin
5904a4edfd
fix automap marks in non-follow mode (#1146) 2023-07-13 23:40:56 +07:00
Fabian Greffrath
ef1362f613 use M_BaseName() in M_FileCaseExists() 2023-07-13 09:42:07 +02:00
Fabian Greffrath
dafff23764
rewrite D_DoomExeDir() to use SDL_GetBasePath() (#1145)
* rewrite D_DoomExeDir() to use SDL_GetBasePath()

* move D_DoomExeDir() to src/d_iwad.c
2023-07-12 15:55:29 +02:00
ceski
e0601f00fd
Use vertical sound position with full_sounds (#1144)
3D sound requires `source->info->actualheight` to calculate vertical position.
2023-07-11 12:46:23 -07:00
Roman Fomin
8cc12f6680
move sfx caching to i_oalsound.c from i_sound.c (#1141)
* remove unused code

* rename SOUNDHDRSIZE->DMXHDRSIZE, SOUNDPADSIZE->DMXPADSIZE
2023-07-12 02:36:38 +07:00
Roman Fomin
683b363514
add P_DegenMobjThinker() to distinguish degenmobj_t (#1143) 2023-07-12 02:35:50 +07:00
tomas7770
1d644070d8
Implement sky top color algorithm from Eternity (#1140)
* Implement sky top color algorithm from Eternity

* Fix sky color sort function not being the same as Eternity
2023-07-11 16:36:58 +02:00
Fabian Greffrath
55d3b6b64f
add some padding to the right of the sttime widget (#1139)
* add some padding to the right of the sttime widget

While at it, increase tab width and fix some misleading error message

* macroize TABWIDTH
2023-07-10 16:42:55 +02:00
Roman Fomin
a20ae9d858
interpolate backsector->heightsec (#1138) 2023-07-10 11:52:27 +07:00
ceski
acca29dc73
3D Audio Support (#1118)
* Add sound module framework

* Add 3D sound module

* Remove test edits

* Use conservative defaults

* Fix build

* Check for `ALC_OUTPUT_MODE_SOFT`

* Add parenthesis

* Update copyright

* Remove `I_` prefix from `sound_module_t`

* Add additional parenthesis

* Add comment

* Add Doom Wiki citation

* Rename HRTF to Headphones Mode

* Use shared distance limits

* Fix typo

* Add warning to restart if extension is missing

* Remove unnecessary error checking

The critical checkpoints are initialization, caching, and starting playback.

* Don't reset parameters on reinitialization

OpenAL Soft only changes the settings defined in the attributes list so this is not necessary.

* Cosmetic changes

* Calculate velocity only if using Doppler effect

* Fix variable type

* Revert "Don't reset parameters on reinitialization"

This reverts commit 4fc925a64ee4b6c23f27fd65f3fbbb0418e62f1b.

* Fix 2D panning emulation

* Don't update source direction

Sources are currently omnidirectional (no cone effect), so updating direction isn't necessary.

* Use a descriptive sound module enum

* Explicitly disable effects when not using 3D sound

* Simplify by using `snd_module`

* Use `ALC_TRUE` where appropriate

* Use correct distance for priority calculation

* Fix range check typo

* Fix orientation calculations for mouselook

* Add comments about translating coordinates

* Move `forceFlipPan` into WinMBF sound module

* Update menu item after rebase

* Use `player->slope` for pitch angle calculation

* Remove unused macro

* Move defer/process updates to higher level

* Fix comment typo

* Prep for restoring channel assignment behavior

* Restore channel assignment behavior

In `S_StartSound()`, the handle to a channel should not be assigned until after calling `S_getChannel()`.

* Update listener only once per sound update

* Limit sound update rate

* Revert "Limit sound update rate"

This reverts commit 83512b69d5faf19c4ecb6ed668c67930f5ff83e2.

* Remove obsolete `I_UpdateSound()`

* Limit sound update rate

* Skip sound updates when returning early
2023-07-09 21:26:57 -07:00
ceski
06939bd9a6
Fix mouselook/padlook checks for direct vertical aiming (#1134)
* Fix mouselook/padlook checks for direct aiming

* Add slope field to `player_t`

* Reset slope at end of level
2023-07-07 18:39:08 -07:00
ceski
30ddaae451
Ignore DMX sound padding (#1133) 2023-07-07 18:35:13 -07:00
Fabian Greffrath
cfb6df4bff release Woof! 11.3.0 woof_11.3.0 2023-07-06 08:19:57 +02:00
Roman Fomin
4476abec9c update changelog 2023-07-06 09:21:51 +07:00
Fabian Greffrath
989b341736 use sector lightlevel for sprites in Boom and Vanilla complevels
Fixes #1130
2023-07-05 08:41:01 +02:00