1902 Commits

Author SHA1 Message Date
Roman Fomin
0f49f788bd
voxels: add support for DSDHACKED, more checks and cosmetic changes (#1266) 2023-11-19 00:52:28 +07:00
Roman Fomin
22edbe0c7e
demotest update (#1264)
* Implement -levelstat support.

* Use external diff tool instead of difflib to ignore whitespace.

* Added Judgment (MBF21) demos.

* Resolve source port path.

* Capture output of processes.
2023-11-17 20:39:24 +07:00
ceski
7024ffcef5
win midi: Sync with Chocolate Doom (#1261) 2023-11-16 12:01:52 -08:00
Roman Fomin
081d8a9bbf
implement demotest (#1260)
* add test step to workflows

* add -quiet
2023-11-16 20:34:58 +07:00
Roman Fomin
5b944166c4 update .gitignore 2023-11-16 19:05:18 +07:00
Roman Fomin
0e72a381a9
widget instead of a message for the "idrate" cheat (#1254)
Because of the monospaced font.

* remove extern fps

* don't report voxels if not found

* add guard for VX_NearbySprites()
2023-11-13 17:53:16 +07:00
Fabian Greffrath
6b0359b01e mention Voxel in README, update some Copyrights 2023-11-13 10:20:02 +01:00
Roman Fomin
b2784b481c
get rid of the screens concept (#1253)
Switch to Chocolate Doom like`I_VideoBuffer` system.
2023-11-12 15:42:12 +07:00
Roman Fomin
696a791d29 move VX_AddFile() to D_AddFile()
This allows loading KVX files from the -file parameter.
2023-11-12 09:05:19 +07:00
Pedro Beirao
f3f1b425ef
Fix wrong OpenAL path for arm64 macOS (#1252) 2023-11-12 07:08:39 +07:00
ceski
f566602caa
win midi: Misc. fix roundup (#1251)
* win midi: Faster pause/resume

* win midi: Refactor states

* win midi: Use strncasecmp

* win midi: Improve thread synchronization

* win midi: Fix EMIDI events and designation
2023-11-11 08:15:18 -08:00
Roman Fomin
afd707b181
initial integration of Andrew Apted voxel code (#1249)
* remove -Wdeclaration-after-statement

* use index instead of address

* load voxels from autoload, *.zip and *.pk3 files

* fix widescreen clipping

Calculate `vx_clipangle` according to widescreen fov.

* calculate FOV using precise formula

* fix hires flickering (integer overflow)

* enable interpolation for voxel models
2023-11-11 16:57:53 +07:00
Roman Fomin
8c1fea93a6 win midi: make all errors VB_ERROR verbosity level 2023-11-10 18:56:14 +07:00
Roman Fomin
b46d80df45
win midi: introduce more states (#1248)
* reworked shutdown sequence to avoid possible crashes

* use critial section

* do not close the thread when stopping the song.

* add STATE_EXIT, remove hExitEvent

* send SendNotesSoundOff() when the stream stops, refactoring

* Add STATE_STOPPING state and hStoppedEvent event.

* Add StreamStart() and StreamStop() functions.

* Remove SendNotesSoundOff() from ResetDevice().
2023-11-10 17:56:39 +07:00
Roman Fomin
b1d4988e44 fix buffer overflow 2023-11-10 17:49:41 +07:00
Fabian Greffrath
528c57730f fix UMAPINFO names are off centre on intermission screen
Fixes #1250
2023-11-09 07:48:07 +01:00
Fabian Greffrath
400a42e602 Revert "umapinfo: endpic affects secretexit (#547)"
This reverts commit bfd7ce5693e7c682d9a29c3756b7cd574e28458a.

Fixes #1247
2023-11-06 09:22:42 +01:00
Alaux
9ede0ab471
v_video.c/h cleanup, error message corrections (#1246) 2023-11-01 06:30:02 -03:00
Roman Fomin
02d4fde2a5
fix "you need a key" messages in multiplayer (#1244) 2023-10-31 17:07:49 +07:00
Fabian Greffrath
162d2e84cd consistent savegame dir logging 2023-10-29 20:38:50 +01:00
tomas7770
5315cd42c0
IDDQD: fix reviving if god mode was already enabled (#1242) 2023-10-28 15:06:29 +02:00
ceski
fb36fb3379
Print correct audio device info (#1241) 2023-10-28 01:39:39 -07:00
Roman Fomin
954868a668
implement key to show level stats and time (#1238) 2023-10-28 09:46:08 +07:00
Roman Fomin
eaf787eec3
implement organize save files QOL option (#1239)
* don't use WAD filename when generating savename in organize_savefiles mode
2023-10-28 02:08:31 +07:00
Fabian Greffrath
22fc605394
implement per-PWAD savegame directories (#1237)
* implement per-PWAD savegame directories

Fixs #793

* do not report savegame directory

* save savegames in `savegames` subdirectory

* do not call M_ForceUppercase() on string of unknown length

* fix infinite loop for WADs not containing maps
2023-10-27 13:02:11 +02:00
ceski
1cec87ee7e
Update player slope immediately after lookdir (#1235) 2023-10-25 06:02:36 -07:00
Fabian Greffrath
921f311cea close savegame file pointer if string reading fails 2023-10-24 15:58:28 +02:00
Roman Fomin
2473a6ef93
do not apply the single color fill to vertically scrolling skies (#1231) 2023-10-20 14:04:10 +07:00
Roman Fomin
75ad948486 bring back Strawberry Perl exception
I've seen other projects remove it, but it doesn't seem to be actually fixed.
2023-10-19 22:56:53 +07:00
Roman Fomin
a4bd0a6983 don't update vcpkg 2023-10-19 22:31:42 +07:00
Roman Fomin
b0d703c3de fix return type declaration 2023-10-19 21:53:08 +07:00
Roman Fomin
642fdd7e6d update GitHub workflows
* Update checkout action version

* Remove Strawberry Perl and HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK workarounds
2023-10-19 21:50:49 +07:00
Alaux
c7d2623f2b
Fix slight screen melt inconsistency across resolutions (#1229) 2023-10-18 04:38:58 -03:00
Roman Fomin
3c4823a07e
fix level stats widget string overflow (#1228)
* set HU_MAXLINELENGTH to 120
2023-10-17 22:52:37 +07:00
Roman Fomin
f69d621337 fix UMAPINFO music when using -skisec 2023-10-17 19:31:14 +07:00
ceski
46eeb2ef09
Fade in sounds to prevent clicking (#1220)
* Fade in sounds to prevent clicking

* Fix range check

* Use absolute value

* Add `FADETIME`

* Remove redundant check
2023-10-16 23:31:49 -07:00
Fabian Greffrath
a6f4274553
report (and secure) weaponinfo[] overruns (#1221) 2023-10-17 08:21:42 +02:00
Fabian Greffrath
3741b89a0d don't disable cheats in strict mode
Fixes #1226, thanks @OpenRift412
2023-10-16 11:24:19 +02:00
ceski
b56177c3db
Use consistent purge tag (#1225)
* Use consistent purge tag

* Add comment

* Revert "Add comment"

This reverts commit 070f291d451c197b77886b8fdd7ab544871a68ad.

* Revert "Use consistent purge tag"

This reverts commit 5507bd368674df34390d0cd9c6ffcdc331a368ef.

* Always use `PU_CACHE`

* Update pointer just before drawing

* Use accurate comments

* Use local variables for `PU_CACHE`
2023-10-15 00:08:47 -07:00
Roman Fomin
a19eaca101 use static version of MSVC CRT
Fixed a linker warning.
2023-10-14 00:43:06 +07:00
Roman Fomin
e4b3be3590 fix global variable usage 2023-10-13 23:17:33 +07:00
Roman Fomin
f61e88f418
fix CMake ASan test in MSYS2 Clang and WSL (#1224) 2023-10-13 16:59:07 +02:00
ceski
3e93db48da
Allocate status bar buffer based on sbar height (#1223)
* Allocate status bar buffer based on sbar height

* Add warning

* Handle status bar for Doom versions prior to 1.2

* Don't handle Doom versions prior to 1.2

* Prep for additional lumps

* Handle `STARMS`

* Handle bezel `BRDR_B`

* Handle `STFB*`

* Refactor warnings
2023-10-13 07:02:29 -07:00
Roman Fomin
3c54649711 do not print control characters if VT mode is not enabled 2023-10-13 15:04:46 +07:00
Roman Fomin
54eb621036
redo interpolation of scrollers animation (#1219)
* add old* fields

* remove R_InterpolateTextureOffets() function, move code to r_bsp.c
2023-10-13 13:53:27 +07:00
Roman Fomin
51ccc03461 win midi: fallback if no devices found 2023-10-11 16:20:21 +07:00
Roman Fomin
51ce2f38f4
remove escape strings in wad filenames in the setup tool (#1222)
It seems that `_wopen()` does not open escaped filenames in Windows.
2023-10-10 23:19:10 +07:00
Fabian Greffrath
405f6c7683 add a comment explaining why (and how) we keep SCREENWIDTH a multiple of 4 2023-10-09 21:49:38 +02:00
ceski
12ce2bbd65
Prevent visual artifacts with blocky fuzz (#1217)
* Prevent visual artifacts with blocky fuzz

* Simplify

* Apply blocky fuzz fix in `R_DrawMaskedColumn()`

* Revert changes to `R_DrawMaskedColumn()`

* Round up to even value
2023-10-03 23:43:38 -07:00
ceski
4ecef5fa59
Fix fuzz darkness (#1216) 2023-09-29 12:35:39 -07:00