Alaux
0775134a58
Fix some weapon-switching issues ( #1634 )
...
More specifically, this fixes a bug whereby weapon alignment wouldn't take effect if the weapon were fired right after raising it, and seemingly another bug regarding improper handling of the case where the raising state is the same as the ready state.
2024-04-04 05:31:47 -03:00
Fabian Greffrath
ddf5a034d1
inline w_ready.num initialization
2024-04-03 23:26:01 +02:00
Fabian Greffrath
754cae1e3d
fix multiline erasing
2024-04-02 17:10:52 +02:00
Fabian Greffrath
4d29d0d477
further unification
2024-04-02 16:58:22 +02:00
Fabian Greffrath
42d9bbfd17
de-obfuscate largeammo value, properly initialize ammo widget in ST_createWidgets() ( #1633 )
2024-04-02 16:50:03 +02:00
Fabian Greffrath
a1c804c064
unify Vanilla Doom and Boom widgets, do not hard-code HUDs anymore ( #1632 )
2024-04-02 16:49:50 +02:00
Fabian Greffrath
1246eccee8
only erase what's necessary in HU_Erase()
2024-04-02 14:56:36 +02:00
Roman Fomin
4f150bfe5e
Revert "do not set the locale on Windows due to problems with toupper
behaviour"
...
This reverts commit 4aab690db399f9022f7972c42cd4b8e7681094d7.
2024-04-01 22:16:02 +07:00
Roman Fomin
c7ba90f27c
reduce code duplication
2024-04-01 22:14:44 +07:00
Fabian Greffrath
38b0fa3852
only convert lower case ASCII chars to upper case ( #1630 )
...
* only convert toupper() chars >= HU_FONTSIZE
Probably fixes #1627
* only convert lowercase ASCII chars
* move ascii_toupper() to m_misc.c:M_ToUpper()
* use M_ToUpper()/M_ToLower() throughout the code
* rename M_ForceUppercase() -> M_StringToUpper()
2024-04-01 16:38:59 +02:00
Roman Fomin
d2c8914adb
remove GameVariant_t, add more *-all autoload folders ( #1623 )
...
* remove pack_freedoom
2024-03-31 23:19:59 +07:00
Roman Fomin
4aab690db3
do not set the locale on Windows due to problems with toupper
behaviour
2024-03-29 23:16:31 +07:00
Roman Fomin
11f958a17d
fix various HOM columns that appeared on some resolutions ( #1626 )
...
* fix automap solid bg HOM
* fix scaled window HOM on some resolutions
* fix black column on the right side of status bar on some resolutions
2024-03-29 09:29:23 +07:00
Roman Fomin
ae388ef965
don't discard events in TXT_GetChar ( #1621 )
...
* keep only SDL_CONTROLLERDEVICEADDED and SDL_CONTROLLERDEVICEREMOVED
2024-03-29 09:26:58 +07:00
Roman Fomin
b6f7bfead8
fix align_bottom
widgets erasing ( #1628 )
...
* call `vert_align_widget()` `numlines` times
* add `align_top` check
2024-03-28 00:54:19 +07:00
ceski
bb47d3f103
Use safe circle to square calculation for gamepad ( #1618 )
...
Check sign early to prevent input from being set to zero for e.g. small values of y but large values of x. Additionally, guard against negative square roots and clamp x/y values.
2024-03-26 23:17:16 -07:00
Roman Fomin
481b8de46d
update player centering in G_DoLoadLevel ( #1622 )
2024-03-27 13:09:21 +07:00
Roman Fomin
b7f9f7a794
remove vcpkg switch to "latest tag"
2024-03-27 12:20:15 +07:00
ceski
8030b9faf6
Add config key to toggle sound limiter ( #1617 )
2024-03-25 15:52:02 -07:00
gendlin
64c7dafc55
Fix msvc build ( #1613 )
2024-03-22 09:25:27 +07:00
ceski
21ed8a1f3b
Fix skies being shifted down a few pixels compared to Woof 12.0.2 ( #1608 )
...
Use old sky calculation for default FOV and reduce rounding error for custom FOV.
2024-03-20 04:08:53 -07:00
ceski
2cf75df1f3
Prevent light scale overflow ( #1605 )
2024-03-19 23:29:14 -07:00
Roman Fomin
57c2b98999
move secret message higher, don't disable crosshair ( #1607 )
2024-03-19 09:10:25 +00:00
Fabian Greffrath
e14506c312
install libsndfile1-dev from ubuntu lunar (23.04) ( #1606 )
...
* install libsndfile1-dev from ubuntu lunar (23.04)
* next try
* run with sudo
* replace release year as well
* FLAC had an ABI bump between 22.04 and 23.04
2024-03-19 08:43:48 +01:00
Chris Lamb
65d5c73644
Make the build reproducible
2024-03-18 14:34:17 +01:00
Roman Fomin
f43eb49f22
add initialization checks to music stream modules
2024-03-18 19:30:07 +07:00
Roman Fomin
b70eacfc41
disable compatibility menu items according to command line parameters ( #1600 )
...
* Only disable "Improved Hit Detection" if "Emulate INTERCEPTS overflow"
enabled
* Add demo_version_t enum, reformat/simplify some functions
2024-03-18 17:22:59 +07:00
Michael Day
b12768f417
xmp: context is created at open, deleted at close ( #1602 )
...
This fixes a bug where XMP crashes at the first invocation after
attempting to load an incompatible music format. In addition, this
ensures that the subsystem remains functional for subsequent usage after
a failed load attempt.
2024-03-18 09:18:35 +07:00
Roman Fomin
cce6bdec18
parse UMAPINFO lump in IWAD ( #1595 )
2024-03-17 20:15:08 +07:00
Roman Fomin
ba05abf854
clamp resolution_scale ( #1599 )
2024-03-17 15:12:48 +07:00
Roman Fomin
3c572f8395
add comment about "Carmack's typo"
2024-03-17 11:20:55 +07:00
Roman Fomin
f001b48f8f
clear out SDL events to center mouse ( #1596 )
...
* apply Ceski's changes
2024-03-16 21:27:37 +07:00
Fabian Greffrath
a1753be2b2
get rid of NormalizeSlashes() ( #1593 )
2024-03-15 19:43:39 +01:00
Fabian Greffrath
1dcef22726
release Woof! 14.3.0
woof_14.3.0
2024-03-15 08:15:40 +01:00
Roman Fomin
9f4b07ba7d
update CHANGELOG.md ( #1591 )
2024-03-15 13:57:05 +07:00
Roman Fomin
555f0e66fa
-complevel parameter takes precedence over the COMPLVL lump ( #1590 )
2024-03-15 13:48:15 +07:00
ceski
c62995919a
Don't apply threshold to raw mouse input ( #1588 )
2024-03-14 22:05:19 -07:00
Roman Fomin
48ba57b84e
remove V_DrawPatchDirect
2024-03-14 17:04:28 +07:00
Roman Fomin
29653b2e1a
fix MN_GetFon2PixelWidth for 0 width characters, rename spacing->kerning
2024-03-14 11:13:22 +07:00
Roman Fomin
507fd4ed59
fix invul_mode
affect beta light amp ( #1585 )
2024-03-14 09:29:20 +07:00
Roman Fomin
d67ae50825
print warning instead of error out with empty PWAD ( #1578 )
...
Fix NULL.WAD in enternal.zip
* Add checks to W_AddFile, reformat
* Add FindWithExtensions function, simplify W_AddFile
* Avoid double slashes and unnecessary string duplication in D_DoomExeDir and
D_DoomPrefDir
2024-03-13 23:46:13 +07:00
Roman Fomin
1ec38042a3
improve big font support in menus ( #1587 )
...
* Add alt text to all main menu items
* Support for upper/lower case fonts
2024-03-13 23:30:37 +07:00
Fabian Greffrath
26ff5e1126
additional screen wipe: fizzle fade from Wolf 3D ( #1586 )
...
* alternative screen wipe: fizzle fade from Wolf 3D
* comment out static functions to let CI pass
* copy one "pixel" at a time
* add as a third alternative
2024-03-13 17:14:36 +01:00
Roman Fomin
26c7ab3423
revert changes to centery calculation in R_SetupFreelook ( #1584 )
...
I don't understand why, but it fixes the garbage pixels reported in the DW
thread.
2024-03-13 08:32:36 +07:00
Roman Fomin
ac5d78f78f
disable classic BFG in strict mode ( #1579 )
2024-03-12 15:30:40 +07:00
Roman Fomin
5ca3c41045
implement support for DBIGFONT lump in FON2 format ( #1575 )
...
* add SLADE copyright
* adapt V_LinearToTransPatch from Eternity Engine
This will be useful for PNG support.
* nit-pick: sort copyright holders in README.md
---------
Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2024-03-12 09:11:21 +07:00
Roman Fomin
80704d11fc
open menu with mouse click during demo playback ( #1582 )
...
* apply Ceski's patch
2024-03-12 09:10:19 +07:00
ceski
bad8957df8
Using "-strict" always disables related menu items ( #1581 )
...
Similar to what "-complevel" does.
2024-03-10 23:34:56 -07:00
Joan Bruguera
a21559ea95
fix init. with invalid video_display setting (again) ( #1576 )
...
commit d38fd80fed89 ("fix 21:9 aspect ratio, tweak DRS parameters")
added some code that uses `video_display` before it is checked by
`I_ResetInvalidDisplayIndex`, which causes Woof! to exit with an error
if it has an invalid value (e.g. as a result of unplugging monitors).
Fix it by moving `I_ResetInvalidDisplayIndex` to an earlier point.
2024-03-10 22:22:12 +07:00
Fabian Greffrath
b32c4df60f
print date and time in the Load/Save Game menus in the current locale ( #1573 )
2024-03-08 18:16:28 +01:00