2921 Commits

Author SHA1 Message Date
ceski
fde1dbf4a7
Smoother volume ramping for ambient sounds (#2347)
Assume the player won't typically travel faster than 23.57 mu/tic (SR50) * 2 (wallrunning factor). If ambient sounds attempt to start every 200 ms (7 tics), then the player can travel up to 330 mu during that time. To keep volume ramping seamless, use this as the keep-alive distance. That is, allow ambient sounds to start at zero volume and a little further away than usual.
2025-08-02 20:58:31 -07:00
ceski
15c5049e36 Update ambient_showcase.wad
Sync WADINFO with ambient_showcase.txt.
2025-08-01 23:09:29 -07:00
Roman Fomin
4527d7b228
fix saving custom skill options, cosmetic changes (#2344) 2025-07-29 20:24:14 +07:00
Alaux
8cf31afa66
Ensure that save descriptions are terminated (#2343) 2025-07-29 17:04:59 +07:00
Roman Fomin
735985d250 cosmetic fixes 2025-07-29 12:08:46 +07:00
Roman Fomin
4afd529730 fix span rotation 2025-07-29 11:40:34 +07:00
Roman Fomin
c8c723ea81 fix conditions for ID24 intermission initialization 2025-07-28 08:27:19 +07:00
Roman Fomin
69bd1d18b7
remove "function factory", improve R_DrawSpan (#2341)
* improve performance of R_DrawSpan (from Eternity Engine)
2025-07-28 06:21:53 +07:00
Fabian Greffrath
fb64b7304b fix debug printing on multiple lines (e.g. G_DoLoadGame: Slot xx, Time yy) 2025-07-25 18:51:23 +02:00
Roman Fomin
d609042c90 remove menu-only items from config 2025-07-25 09:32:26 +07:00
Roman Fomin
572a642e38
CI: universal macOS package (#2339)
* Rename artifact name suffix to just "mac".

* Add vcpkg_configuation.json
2025-07-24 16:58:10 +07:00
Pedro Beirão
b9b04fda7c
Add CI macOS packages (#2338) 2025-07-23 13:27:00 +07:00
Fabian Greffrath
0038995f7a initialize epsd in G_GotoNextLevel()
fixes a long-standing clang-tidy warning
2025-07-22 13:15:39 +02:00
Roman Fomin
62bf03e369
reset "custom skill" on enter (#2337) 2025-07-21 22:43:00 +07:00
Roman Fomin
34df59559f
implement partial support for GAMEVERS (#2326)
Use version 1.9 instead of 1.666, `nolimits` ingnored.
2025-07-21 16:37:54 +07:00
Roman Fomin
bf3af518d5
combine "direct aim" and "free look" menu options (#2332)
* Disable freelook in strictmode, set limit on menu item.

* Cosmetic change to compat menu.
2025-07-21 16:35:34 +07:00
Roman Fomin
c52bf7db77
replace FIXED2DOUBLE with FixedToDouble, add DoubleToFixed, formatting (#2335) 2025-07-21 16:34:22 +07:00
Roman Fomin
0bb1640b6a
remove SSG in Doom 1 feature (#2324)
For compatibility with excellent RUST series
2025-07-21 16:33:33 +07:00
Arsinikk
400139d3fe
READ ME / HELP screen refresh (#2325)
- READ ME / HELP screens now use the same routine
- HELP2 screen can be used with Ultimate Doom if PWAD HELP2 is found
- Allow HELP2 screen in demoloop
2025-07-21 16:31:13 +07:00
Roman Fomin
ae27fd1b8d fix sky scrolling in capped mode 2025-07-21 15:16:59 +07:00
Fabian Greffrath
a4755038f7 simplify sky columns scaling fcuntion 2025-07-20 17:46:25 +02:00
Roman Fomin
54606e7cf8
update build system, remove "woof.com" hack (#2329)
* Add `WITH_FLUIDSYNTH` option and disable it by default.

FluidSynth has a lot of dependencies. On Windows, it takes up about 90% of the
build time with vcpkg. Disabling it by default would speed up the build process
for new developers.

* Disable GCC checks for MSVC (clang-cl) to speed up the configuration step.

* Move CMDLINE and COPYING to docs, remove README.md from distribution.

* Remove "woof.com" hack for console output on Windows.

The console still works in debug builds.

* Always search FluidSynth, update README.md.
2025-07-20 21:13:40 +07:00
Roman Fomin
928727e630
fix saving texture offsets (#2314)
* Rename textureoffset->interptextureoffset, basetextureoffset->textureoffset, etc.
2025-07-20 19:35:58 +07:00
Roman Fomin
d3e76a1008
check the spriteframe pointer for NULL when setting the actualheight (#2331) 2025-07-20 19:32:23 +07:00
Roman Fomin
373bd06aaf rename skill_level->csmenu_skill, simplify assignment 2025-07-20 13:27:24 +07:00
Roman Fomin
c8c71edbc7 fix condition 2025-07-20 13:22:21 +07:00
Roman Fomin
fbb899a0cf always reset all parameters in "custom skill" menu 2025-07-20 12:14:13 +07:00
Roman Fomin
aaa9520b64
implement custom skill menu (#2318)
* Treat `pistolstart` and `coopspawns` as other game parameters.

* Implement  `halfplayerdamage`, `doubleammo` and `aggromosters` parameters.

* Introduce `menu` config/menu item type.

* Remove "default skill" menu option, save last selected skill in config.
2025-07-20 10:10:42 +07:00
ceski
597dc1b34f Don't turn off gamepad LED when exiting game 2025-07-19 14:21:18 -07:00
Roman Fomin
77188d6bcc
I_Error: print function name only with debug build, remove "not a crash" note (#2328) 2025-07-20 01:20:58 +07:00
ceski
f8b2f38e8a
Adjust strict mode handling to better match DSDA-Doom (#2327) 2025-07-19 09:16:51 -07:00
elf-alchemist
e62ee1c449
save visited level data on player_t (#2319) 2025-07-18 13:13:36 +07:00
Roman Fomin
f20dce0922 fix build 2025-07-17 16:39:26 +07:00
Roman Fomin
6c893a6bc5 small cleanup 2025-07-17 16:33:45 +07:00
Roman Fomin
969022109c
SBARDEF improvements (#2310)
* Increase the size of the string buffers for the stats widget

* Check GODMODE cheat with invulnerability item

* Implement SBARDEF v1.1.0 changes
2025-07-17 16:30:10 +07:00
Roman Fomin
bfba921f14
fix tracker music looping (#2316) 2025-07-16 20:53:17 +07:00
elf-alchemist
8c2cc46e9a
fix Brightmaps setting set to off (#2315) 2025-07-16 10:49:44 +02:00
Fabian Greffrath
89901e543c
improvements to vertical scrolling detection for sky textures (#2312) 2025-07-11 11:06:05 +02:00
elf-alchemist
1a5b3e4187
Everything is a sky_t -- consolidate sky rendering (#2301)
* first step: static skies work (global sky, MBF, flatmapping, fire)

* stretch short skies

* some clean up

* MBF sky transfers are working

* set basemid earlier

* apply skydef skies to lines

* fix sky positioning

* fix foreground drawing, except for >1 fires

* support multiple fires

* cosmetics

* fix?

* clang-format-19 -i src/r_sky*

* introduce linked sky concept

* minor clean up

* another fix

* introduce skyindex_t type

* first attempt at fire scaling

* first stab at fire sky scrolling

* fix rendering glitch with negative scaley factors

* add some headroom for additional foreground skies

* dummy commit; there's no separate fire sky render path, just a texture replacement

* cleaner final diff

* renderring working, foreground working, fire-as-texture working

* clang-format-19 -i src/r_sky.*

* remove extraneous addition from testing

* simplified UpdateFireSky

* re-introduced fire sky ticrate

* clang warning: moved extraneous `#include`

* do not use `sky_t::linked_sky` on R_InitSkyMap

* skydef transfers are working woohoo

* no more `linked_sky`

* redundant zero-ing

* removed extraneous property; maybe come back later with fire customization

* fixed check for color skies; ugh, there should be a better way to do this

* consistent type usage

* added temporary sky color property

* now reading transfered sky offsets

* testing on `example/sky.wad`, one step forward two steps back

* define proper baseline mid value for sky transfers

* fix sky transfer horizontal scrolling

* add fix for transfered sky vertical scrolling

* fix sky transfer mid line

* YET AGAIN, MAJOR FIXES

using rate of change of base and old offsets per-tic is a bad idea, does not work on run-time scrolling

* FINALLY sky transfers + skydefs are working together

* moved SkyDefs parsing much earlier, matching R&R

* apply flatmapping before sky transfers; foreground array growth

* sky mid handling how matches DSDA/PrBoom+ behavior

* de-globalized one variable, globalized another

* moved skytran back into r_plane

* updated copyright notice

* clarifying comment

* pre-computed sky color

* clean up comments

* fixed horizontal sky transfer interpolation

* whoops

* comments 2 electric boogaloo

* simplified tall skies implementation code

* transfers now stretch, woohoo

* linking is expensive

* only one conditional

* cleaner conditional; fix meamory leak

* needless extern

* de-globalized skydefs

* clean up and got vertically offset transfers stretching

* do not colorfill on skies shorter than 128

* allow stretching fire skies

* spelling

* add fabian's changes

* fix stretching short skies logic

---------

Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2025-07-10 20:48:53 +02:00
Roman Fomin
0536de77f4 CI: simplify caching 2025-07-09 15:02:43 +07:00
Roman Fomin
790be8d7a8
SNDINFO: warning instead of error out (#2309) 2025-07-09 14:45:38 +07:00
Fabian Greffrath
e0677008ed
Catch crash if animation speed is 0 (#2308)
Co-authored-by: Pedro Beirao <pedrocbeirao@gmail.com>
2025-07-08 09:59:58 +02:00
elf-alchemist
bff9b1af3e
fixes #2305 (#2306) 2025-07-06 22:06:43 +02:00
elf-alchemist
d8f50be53e
Allow non-power-of-2 textures (#2303)
* trial by fire

* allow non-power-of-2 textures

* fix masked seg typo

* removed minor extraneous changes

* fix type typo, add const
2025-07-06 10:00:13 +02:00
elf-alchemist
c0ed699e18
Fix ID24 inventory-reset exits missing from UMAPINFO 0-tag check (#2300)
* add id24 inventory-reset specials to UMAPINFO 0-tag

* gun-triggered special formatting
2025-07-04 08:41:51 +02:00
Mr. Myth
911f8940a6 Use $TMPDIR to find tempdir on Unix (#1748)
* Properly check for tempdir on Unix

* Properly check for tempdir on Unix

* Use M_getenv()

* Use M_getenv()

* Revert "Use M_getenv()"

This reverts commit eedd01409749c8e8edc1b0ca79081683dc67d911.

* Revert "Use M_getenv()"

This reverts commit 31437d6097047ba32092848ce980af57c4eb1791.

* Use spaces instead of tabs

* Consistancy and correct Unix environment variable

* Consistancy
2025-06-24 08:03:46 +02:00
ceski
dad00953e5
Replace BETWEEN macro with CLAMP (#2293)
`clampi` and `clampf` functions are also available now.
2025-06-21 01:08:51 -07:00
elf-alchemist
70aa28dc82
added BEX mnemonic for beta pickup sprite (#2291) 2025-06-20 10:27:00 +02:00
ceski
f6325f138f Disable raw input for XInput devices under Windows 2025-06-18 20:19:34 -07:00
elf-alchemist
da417c51e1
enable all compatible scrollers on demo_compatibility (#2289) 2025-06-16 16:11:06 +02:00