Roman Fomin
c53e730e36
reduce calculations in previuos commit
2023-05-02 18:52:41 +07:00
Roman Fomin
40916bd5a6
another crosshair lock-on fix
2023-05-02 18:39:50 +07:00
Roman Fomin
b8a58cc6fa
crosshair lock on cosmetic change
...
Here we need `+1` because we have 5x5 and 9x9 crosshair patches. We can simplify
the code if we add offsets to the patches. Although other ports are not have
offsets.
2023-05-02 16:06:06 +07:00
Roman Fomin
488281dea5
take the crosshair patch height and width into consideration ( #1030 )
2023-05-02 15:29:12 +07:00
Roman Fomin
8c33950982
vcpkg: fix sndfile FluidSynth option
...
* Ignore `C:/Strawberry/perl` PATH in Windows-2022 image. Turns out it contains a broken pkg-config.
* Remove PkgConfigHelper.
* Restore "*.sf3" soundfonts loading.
2023-05-02 13:17:35 +07:00
Roman Fomin
e334052144
disable ".sf3" loading for now
...
We can fix it, but I don't think it's worth it. I still don't like how it works
(decompress all samples on load).
2023-05-01 10:31:34 +07:00
Roman Fomin
02c06002a2
vcpkg: try to enable sndfile for fluidsynth
2023-05-01 10:22:25 +07:00
Roman Fomin
59f1b34c27
add weaponinfo checks to weapon centering code ( #1028 )
...
* cosmetic changes
* factor out bobbing function
2023-05-01 08:13:43 +07:00
Roman Fomin
ccd6044e0c
fix menu skull drawn over verify box ( #1029 )
2023-04-30 18:15:50 +07:00
Roman Fomin
a50739c18b
another mini-thermo offset tweak
2023-04-30 15:09:07 +07:00
Roman Fomin
6b72d4ac9b
tweak mini-thermo offset
2023-04-30 14:18:42 +07:00
Roman Fomin
5383293197
fix -complevel parameter in demo footer
2023-04-30 12:46:58 +07:00
Roman Fomin
22b7b4db45
update cheats.md
2023-04-30 11:42:55 +07:00
Roman Fomin
1025c1a16d
sndfile: fix setting AL format for sfx.
2023-04-30 11:34:46 +07:00
Roman Fomin
67d69d74fc
cmake: remove unused includes, rename COPYING->COPYING.txt
2023-04-30 03:17:41 +07:00
Roman Fomin
ab708171f3
cmake: delete unused code, cosmetic changes
2023-04-29 10:21:44 +07:00
Roman Fomin
4463f86dea
split i_oalmusic.h into two files, do not link OPL with OpenAL
2023-04-29 10:19:42 +07:00
Roman Fomin
6e9bcda879
fix new line
2023-04-28 23:14:39 +07:00
Roman Fomin
8a34e13dcc
use CMake LTO module, enable LTO for MSVC build
2023-04-28 23:09:37 +07:00
Roman Fomin
ca54e65886
demo footer compatibility with PrBoom+/DSDA-Doom autoplay ( #1024 )
2023-04-28 19:13:16 +07:00
Roman Fomin
f6423657c7
fix crash when switching music backend from non-Native MIDI to tracker
2023-04-28 18:56:06 +07:00
Fabian Greffrath
ab6b4e1f01
clarify library dependencies in the "Build" section
2023-04-28 13:40:08 +02:00
Fabian Greffrath
afe0852ef1
Merge branch 'master' of https://github.com/fabiangreffrath/woof
2023-04-28 13:05:03 +02:00
Fabian Greffrath
8fb7b7f036
add some more fatal warnings, add LTO (disabled by default, enabled in CI)
2023-04-28 13:04:44 +02:00
Fabian Greffrath
1fb33145b0
remove strsignal() requirement
2023-04-28 12:54:03 +02:00
Roman Fomin
4ab0e888bd
mouse settings like in Crispy, smooth scaling is on by default ( #1023 )
...
* rename bilinear_sharpening->smooth_scaling
2023-04-28 17:51:49 +07:00
Fabian Greffrath
1110d0c1f1
make hardening flags optional, but enable for CI
2023-04-28 12:32:54 +02:00
Roman Fomin
5eaf9d1568
rename cfg_hires->default_hires
2023-04-28 10:49:53 +07:00
Roman Fomin
07b40b77bf
do not show full wad paths in savegame header ( #1022 )
2023-04-27 20:13:35 +07:00
Roman Fomin
102bb2f1ac
fix restart MUSINFO music loaded from save ( #1021 )
2023-04-27 18:56:39 +07:00
Fabian Greffrath
638a9fb9cd
remove unused header file
2023-04-27 10:06:08 +02:00
Roman Fomin
913530ced9
add mouse acceleration to the menu, Crispy settings by default ( #1020 )
...
* a few tweaks to mini-thermo
* don't translate entire mini-thermo
2023-04-27 13:47:44 +07:00
Roman Fomin
8a0bb50eca
factor calculation for upscaled_texture from Crispy Doom ( #1019 )
...
* factor calculation for upscaled_texture from Crispy Doom
* use SDL_GetDesktopDisplayMode istead of SDL_GetRendererOutputSize
2023-04-27 04:27:04 +07:00
Fabian Greffrath
90c3df526c
add SKILL cheat to show (or change) game skill level ( #1016 )
...
* add SKILL cheat to show (or change) game skill level
* rephrase message, fix fast and respawn when changing from/to Nightmare
2023-04-26 22:51:23 +02:00
Roman Fomin
c3d3ff355d
fix hires initialization
2023-04-27 02:22:35 +07:00
Roman Fomin
f66f134487
implement bilinear sharpening from Crispy Doom ( #1018 )
2023-04-27 00:43:10 +07:00
Roman Fomin
53ff4d79d7
fix crash when switching hires
2023-04-27 00:29:23 +07:00
Roman Fomin
6afefa081c
add missed cheat to cheats.md
2023-04-26 21:32:49 +07:00
Roman Fomin
2c5064fc5a
add cheats documentation ( #1017 )
2023-04-26 21:06:20 +07:00
Roman Fomin
0140febcbb
move ENABLE_ASAN
cmake option to WoofSettings.cmake
2023-04-26 20:53:21 +07:00
Roman Fomin
5e85d910a7
enable MSVC CI for PRs
2023-04-26 20:51:02 +07:00
Fabian Greffrath
35ea391a1c
add hardening compiler flags (Debian) ( #1015 )
...
* add hardening compiler flags (Debian)
* forgot to apply link options
2023-04-26 15:07:16 +02:00
Roman Fomin
7b46df74a8
fix memory issues found with AddressSanitizer ( #1012 )
...
* fix wrong memory read in hu_stuff and hu_lib
* fix buffer overflow in w_wad
* fix free video buffer before render update
* add enable ASan cmake option
* introduce M_CopyLumpName function
* disable vcpkg build (there is another glib update)
2023-04-26 19:09:24 +07:00
ceski
9b9953119a
winmidi: Detect SysEx "part level" messages ( #1014 )
...
* winmidi: Detect SysEx "part level" messages
* Add `const`
2023-04-26 07:54:16 +02:00
Alaux
2576cbcb6e
Options to disable certain messages ( #1006 )
...
* Options to disable certain messages
* Missed some messages
* Rename config variable
* Fix `doomprintf` in `cheat_clev()``
* Split into two options
* Some changes
---------
Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2023-04-25 22:42:33 +02:00
Fabian Greffrath
0b11378723
cheats menu: remove reveal map, move AVJ up
2023-04-25 15:15:28 +02:00
Roman Fomin
62f049f936
Merge branch 'master' of https://github.com/fabiangreffrath/woof
2023-04-25 18:13:32 +07:00
Roman Fomin
52ffd04d27
disable exclusive fullscreen by default
2023-04-25 18:13:14 +07:00
Fabian Greffrath
f02dd42313
fix 'player_names' declaration
2023-04-25 12:58:36 +02:00
Roman Fomin
dc4182d6d8
add exclusive fullscreen to the menu ( #1011 )
...
Enable exclusive fullscreen only in fullscreen mode, because switch between
exclusive fullscreen and windowed mode is glitchy on my Windows 10 system.
* fix and simplify widow position saving
* save position of borderless fullscreen window
Required for a multi-monitor setup. Not sure if this is a useful feature.
* remove workaround in SDL 2.0.14 and 2.0.16 as we require SDL 2.0.18
2023-04-25 14:36:37 +07:00