1788 Commits

Author SHA1 Message Date
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
Roman Fomin
b10438240f
rename -nodehlump to -nodeh for consistency with other ports (#1129)
* remove `brew update`
2023-07-05 11:59:14 +07:00
Roman Fomin
7bbc40800c
don't save -nouncapped/-uncapped to config, disable menu item (#1128)
* don't save `-nouncapped`/`-uncapped` to config, disable menu item

* remove -hires/-nohires, run docgen -a
2023-07-04 17:40:11 +07:00
Roman Fomin
bdb3f387db update changelog 2023-07-04 16:08:07 +07:00
Roman Fomin
e3201c1b2d
check the status of music records in DEH to support replacing the same string (#1127)
For example PL2.wad. We don't have support for BEX music blocks and I'm not sure
if it's needed (no PWAD with it in the wild?).
2023-07-04 15:51:38 +07:00
Thomas Schaffer
f721de4e06
CLI flags -uncapped, -nouncapped, -dedicated (#1124) 2023-07-04 08:52:37 +02:00
Roman Fomin
1426cdb77b
update changelog (#1126) 2023-07-04 11:35:21 +07:00
Roman Fomin
32f1dc5dd5
fix rightmost column in weapon rendering with interpolation enabled (#1125) 2023-07-04 11:31:35 +07:00
Roman Fomin
b78d752803 fix pause for Fluidsynth 2.3.3 version 2023-07-03 16:59:59 +07:00
Roman Fomin
1d269da0f9
interpolate backsector before "fake flat" hack (#1122) 2023-07-03 09:01:36 +02:00
Fabian Greffrath
5b832c021b
do not apply weapon centering in strict mode (#1121)
* do not apply weapon centering in strict mode

* checkfor psp->state only once
2023-07-02 15:54:37 +02:00
Roman Fomin
17ab98a864
separate oldgametics counters for floors and ceilings (#1120)
* force T_MoveFloor interpolation

* don't fail fast at CI

* separate oldgametic fields for floors and ceilings

* cosmetic change
2023-07-02 15:41:35 +07:00
Fabian Greffrath
c86904de68
make direct aiming slope range symmetrical, so it matches autoaim slope range (#1117) 2023-06-26 06:22:31 +02:00
Fabian Greffrath
b131d5ff12
change player slope denominator to 160 (#1116)
* change player slope denominator to 160

* improve wording
2023-06-25 16:44:12 +02:00
Fabian Greffrath
2622133154
do not highlight crosshair when shotting over/under target with direct aiming (#1115) 2023-06-24 17:21:52 +02:00
Roman Fomin
8d2fcdbad0
win midi: refactor pause state booleans into enum (#1114)
* make pause states enum

* flush buffer immediately, cosmetic changes

* sync with Chocolate Doom version
2023-06-24 21:13:38 +07:00
Fabian Greffrath
4b631e7944
avoid unnecessary bit-shifts in ds_xstep/ds_ystep calculation (#1111)
* de-obfuscate numerical constants

* avoid unnecessary bit shifts in ds_xstep/ds_ystep calculation

* add comment
2023-06-19 14:42:34 +02:00
Roman Fomin
40f508d2aa win midi: more initialization checks 2023-06-19 13:34:04 +07:00