2319 Commits

Author SHA1 Message Date
Roman Fomin
e4678509e8
ability to set max resolution in config, option to change display resolution (#1661) 2024-04-25 16:22:54 +07:00
Roman Fomin
2f98be6785
restore MN_StringHeight function (#1662) 2024-04-25 16:13:48 +07:00
Roman Fomin
7c174fef72 fix context pointer in XMP module, check active_module in i_sound.c 2024-04-24 19:54:31 +07:00
Roman Fomin
209ddea6c7
workaround for apt-get update failures (#1659) 2024-04-24 17:14:52 +07:00
Roman Fomin
8199d9a226 save midi player string to config, fix soundfont name length 2024-04-24 16:09:01 +07:00
ceski
8be4beea1c
Misc. MIDI fixes and refactoring (#1657) 2024-04-24 00:36:44 -07:00
Roman Fomin
341f56d246
fix MIDI player timer (#1656) 2024-04-24 11:39:59 +07:00
Roman Fomin
8f0ba6e119 menu fixes
* Esc key doesn't change input mode

* Fix warning and help messages in mouse mode
2024-04-23 18:43:29 +07:00
Roman Fomin
44045866fa
do not move the menu cursor when moving the mouse (#1651)
* center mouse cursor
2024-04-23 16:15:37 +07:00
Roman Fomin
8778365308
make the check in R_DrawVisSprite non-fatal (#1650) 2024-04-21 15:28:29 +07:00
Julia Nechaevskaya
22f0d059b3
Fix blinking of drawing Tower of Babel on intermission screen (#1649) 2024-04-20 11:24:24 +03:00
Fabian Greffrath
4b2456c96c
context related sound pitch shifting (#1647)
* disable pitch shifting for moving floors and explosions

Fixes #1646

* get rid of unused sfxinfo_s.pitch and sfxinfo_s.volume elements

* implement context-related sound pitch shifting

* cosmetics

* shorten some symbol names

* shortcut for non-pitch shifted menu sounds

* indentation
2024-04-20 09:37:06 +02:00
Fabian Greffrath
ba6ac2a8de allow auto-load in shareware mode
Fixes #1648
2024-04-19 09:11:45 +02:00
Roman Fomin
6f62dc5829
unify native MIDI modules (#1635)
* remove midiStream functions, adapt for realtime output

* implement I_SleepUS

* add midiout.c, implement WINMM, ALSA, CoreMIDI and DLS Synth output

* simplify I_DeviceList functions

* display ALSA items last

* remove `midi_player` variable
2024-04-18 14:29:27 +07:00
Fabian Greffrath
572cd3c3b1
clarify that -skill 0 requires complevel Vanilla (#1645)
* clarify that  requires complevel Vanilla

* make sure it's triggerred by the -skill parameter
2024-04-17 08:43:32 +02:00
Roman Fomin
9d23fcf221
better support for -1,-2,-3 command line parameters (#1644) 2024-04-16 17:11:43 +07:00
Roman Fomin
3704eeff92 set UTF8 code page for I_Printf in Wndows 2024-04-16 12:03:36 +07:00
Fabian Greffrath
90602d8114
menu: draw menu items as text independent of DBIGFONT lump presence (#1642)
* menu: only use bigfont if there is no menu patch from same WAD

https://www.doomworld.com/forum/topic/112333-this-is-woof-1430-mar-15-2024/?page=88&tab=comments#comment-2788998

* check if big font providing WAD has been loaded *after* menu grapics providing one

* delete DBIGFONT checks
2024-04-15 13:53:51 +02:00
Fabian Greffrath
2a55f0ce32 git rm src/m_menu.c 2024-04-12 14:13:34 +02:00
Roman Fomin
0a9e095aeb fix syntax 2024-04-12 16:34:26 +07:00
Roman Fomin
2d0d08a4b9 use latest CMake 2024-04-12 16:32:40 +07:00
Fabian Greffrath
437b7a825f
initialize widget's h_align_orig field early (#1641) 2024-04-10 10:01:21 +02:00
Fabian Greffrath
5ebd8488bc
use UMAPINFO labels, instead of map marker, on save files (#1640)
Fixes #1638
2024-04-09 09:30:38 +02:00
ceski
5d9b99973e
Don't use predefined resampler names (#1637)
* Don't use predefined resampler names

The resampler names defined by OpenAL Soft will change in a future release.
2024-04-07 22:10:00 -07:00
Fabian Greffrath
06b2cb5dc7
add a parser for Obituary_Deh_Actor DEHACKED strings (#1636)
Fixes #1562
2024-04-05 14:00:19 +02:00
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