1870 Commits

Author SHA1 Message Date
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
ceski
1518890609
Don't apply autoaim to crosshair for direct vertical aiming (#1215) 2023-09-25 23:19:15 -07:00
Fabian Greffrath
62cd1e29a2 move green color translation formula one step away from cyan 2023-09-26 08:13:21 +02:00
Alaux
f1323c8512
Fix cheat key typos (#1214) 2023-09-26 07:58:44 +02:00
ceski
d9ee850ed5
Improved direct vertical aiming and height calculations (#1213)
* Fix autoaim for direct vertical aiming

* Increase autoaim range for direct vertical aiming

* Calculate `actualheight` from current sprite

* Use `actualheight` for lock-on crosshair

* Use `actualheight` for check/aim/shoot

* Remove unused `spriteheight`

* Revert "Fix autoaim for direct vertical aiming"

This reverts commit 3a82190a6a0806f2f031ff23ccf61381b1924279.

* Revert "Increase autoaim range for direct vertical aiming"

This reverts commit 6c0e819567bcd0518709146ba1e97fd53b0653db.
2023-09-23 11:21:16 -07:00
Roman Fomin
e1e8e06e96 fix semicolon 2023-09-20 19:56:04 +07:00
Fabian Greffrath
60030a8d4f Fluidsynth: support relative paths in soundfont_dir
to enable the AppImage to find its own bundled soundfont file
2023-09-17 22:20:37 +02:00
Fabian Greffrath
d447d1e5af Merge branch 'master' of github.com:fabiangreffrath/woof 2023-09-15 14:25:29 +02:00
Fabian Greffrath
ef34e6f769 document the new release in the metainfo file 2023-09-15 14:25:21 +02:00
Fabian Greffrath
69b1676e88 release Woof! 12.0.0 woof_12.0.0 2023-09-15 08:24:02 +02:00
Fabian Greffrath
3de298f894 take clean screenshots with the base palette 2023-09-14 19:40:51 +02:00
Fabian Greffrath
38d29534e1
Update README.md 2023-09-14 13:53:12 +02:00
Roman Fomin
f991383e5c
call I_OAL_ReinitSound in I_PCS_ReinitSound (#1207) 2023-09-14 18:23:57 +07:00
Roman Fomin
0d8de8c7f2
update CHANGELOG.md (#1208) 2023-09-14 18:23:17 +07:00
Fabian Greffrath
7dd0e39ee3
strip leading newlines from warnings and take care they always get their own line (#1205)
* strip leading newlines from warnings

* warnings always get their own new line

* all prios but VB_INFO should start on their own line

* remove some more leading newlines

* finish progress line in R_InitTranMap()
2023-09-14 10:12:30 +02:00
Fabian Greffrath
b048001622
attempt to play demo4 also for gamemode == commercial (Final Doom) (#1204) 2023-09-14 09:17:16 +02:00
Fabian Greffrath
8279ba7d13
overflow into the next gamemissions's map name array for MAP33-MAP35 (#1203) 2023-09-14 09:16:35 +02:00
Fabian Greffrath
97d125b782 always initialize the sprites[] array
Else, checks for  e.g. in P_SpawnMobj() may fail.
2023-09-14 09:09:24 +02:00
Fabian Greffrath
26a5f22c01 fix Boom HUD crashing if maxammo == 0
Fixes #1202, thanks @xemonix0
2023-09-14 08:11:22 +02:00
Fabian Greffrath
adc76a8ea7 simplify matters 2023-09-13 19:42:39 +02:00
Fabian Greffrath
eb5552057e fix right-aligned hud widgets partially drawn off-screen
Fixes #1201, thanks @liPillON
2023-09-12 17:25:08 +02:00
Roman Fomin
4aa9db1ee3
implementation of PC Speaker sound (taken from Chocolate Doom) (#1200)
* add I_ShutdownModule, cosmetic changes

* move the volume adjusting to `I_PCS_UpdateSoundParams`

* use vanilla S_AdjustSoundParams

* stop all sources before shutdown the module
2023-09-12 20:50:54 +07:00
Fabian Greffrath
aabca29fcc
reset menu string editing with ESC (#1199)
* reset menu string editing with ESC

* consider ESC is catched early

* call action routine even if string change is aborted

* M_StringDuplicate() instead of strdup()
2023-09-08 08:11:21 +02:00
Fabian Greffrath
082edd25ac display Automap toggle messages with togglemsg() 2023-09-07 11:25:23 +02:00
Fabian Greffrath
178493dede
add obituaries (#1198)
* add obituaries

Fixes #1092

* add forgotten files

* cosmetics

* add Voodoo obituary

* enable by default, change default color

* special obituaries only for damaging slime and lava

* nicer formatting

* add forgotten DEH substitute for OB_VOODOO

* fix constness issue

* remove unnecesssary includes

* remove bogus comment

* ouch, add back net_client.h include
2023-09-07 08:59:43 +02:00
Roman Fomin
c8302ce682 change the verbosity level for the sndfile error message
This error always occurs when there is tracker music in PWAD.
2023-09-06 16:18:48 +07:00
Roman Fomin
89fb25806f
fix colored console output in Windows cmd.exe (#1197) 2023-09-06 14:13:57 +07:00
Fabian Greffrath
652827f4cb
review message verbosities (#1196)
* review message verbosities

Fixes #1193

* midifile.c: promote VB_WARNING to VB_ERROR

* i_winmusic.c: pass a severity parameter to MidiError()

* i_flmusic: only print serious warnings by default

* shut up fuidsynth even more

* simplify matters
2023-09-05 09:51:36 +02:00
Fabian Greffrath
4058824900
Initialize logging verbosity immediately after parsing config (#1195)
* print config and version info after I_PrintfInit()

* move config parse warning

* rearrangements

Fixes #1194 

* add comment

* replace I_PutChar() with explicit newlines

* fix forgetto

---------

Co-authored-by: Roman Fomin <rfomin@gmail.com>
2023-09-04 09:10:20 +02:00
Fabian Greffrath
9dfe03f212 kick out the -cdrom parameter 2023-09-01 08:27:39 +02:00
Fabian Greffrath
c33014ff89
clean interface for logging to console (#1191)
* initial implementation idea

* next step

* oversights

* apply PRINTF_ATTR() directly to the function definition

* hopefully fix format string error

* simpler solution

* fix linking error on windows

* make default verbosity configurable

* convert the first batch of printing calls

* register -verbose parameter

* remove ANSI color escape sequences on Windows

* convert the next batch of print calls

* fix omplicit declaration in i_sound.c

* d_main.c

* convert some more files, trailing space means no newline

* some more conversions, some comments

* more conversions

* final conversions?

* remove some more explicit newlines

* fix typo/forgetto
2023-09-01 08:23:27 +02:00
Fabian Greffrath
445ab3e208 non-existent cannot be a patch lump 2023-08-31 12:47:15 +02:00
Fabian Greffrath
275b5e73f1 properly calculate maximum HUD text line length
Fixes #1192, thanks @MrAlaux
2023-08-30 21:41:03 +02:00