Roman Fomin
17d0f54fd8
enable widescreen mode without aspect ratio correction, reformatting ( #1042 )
2023-05-08 16:38:30 +07:00
ceski
6def818410
winmidi: Clean up "reset all controllers" handling ( #1046 )
2023-05-08 16:38:02 +07:00
Roman Fomin
49e936a054
disable music if sound is not initialized ( #1045 )
2023-05-08 02:54:05 +07:00
Roman Fomin
cab1795948
i_video.c refactor, resize upscaled texture on window resize ( #1040 )
...
* move input code to i_input.c
* factor I_ResetGraphicsMode() from I_InitGraphicsMode()
* resize upscaled texture on window resize
* cosmetic changes
* move global variables to the top, remove extern
* restore original MBF format of "draws little dots..."
* reformat I_SetPalette for consistency
2023-05-07 23:43:43 +07:00
Roman Fomin
ae0281d38b
remove same input element in menu instead of ignoring ( #1041 )
...
* edit help string
2023-05-07 21:18:12 +07:00
Roman Fomin
a37167944c
memio: fix EOF reset
2023-05-07 14:29:31 +07:00
Roman Fomin
8ddecfedfa
cosmetic changes in update_wiki.yml
2023-05-06 22:17:45 +07:00
Roman Fomin
fecc4d8086
switch to UCRT MSYS2 build, cosmetic changes ( #1037 )
2023-05-06 22:13:20 +07:00
Roman Fomin
03ac60dca7
memio: fgets() fills a string even if its size is not large enough
2023-05-06 20:20:45 +07:00
Fabian Greffrath
0fb24e322f
fix uninitialized usage of output in P_LoadNodes_ZDBSP()
2023-05-06 11:03:05 +02:00
Fabian Greffrath
af535939b9
fix filename = NULL in ProcessDehFile()
2023-05-06 10:59:44 +02:00
Joan Bruguera
8eb510840f
more robust fallback logic for music modules ( #1035 )
...
The MIDI player fallback logic was to initialize `module 0 device 0`.
However, it is possible that this fallback also fails.
A scenario where this happens is when running on Linux with FluidSynth
but no soundfonts. In this case, FluidSynth will fail to initialize, the
fallback will try to use FluidSynth again, which will fail again, and
since the return code of `module->I_InitMusic` is not checked, the module
will stay uninitialized and will cause a crash a bit later.
To fix this, implement a more robust fallback logic which tries to
initialize each music module. This logic will always succeed since in
the worst case it will fallback to OPL, which currently never fails.
Fixes: 2f27fa739a1a ("fall back to `module 0 device 0` if the music module failed to initialize")
2023-05-06 07:27:18 +07:00
Roman Fomin
06cc022185
cmake: use ALIAS instead of generator expressions, cosmetic changes ( #1034 )
2023-05-05 08:42:12 +07:00
Roman Fomin
8553ae2beb
memio: fix mem_fgets() EOF case
2023-05-04 23:24:37 +07:00
Roman Fomin
e43aa4b836
sndfile: rename MEMFILE stream->fs
2023-05-04 22:26:55 +07:00
Roman Fomin
fedc40b45e
sndfile: close file properly
2023-05-04 21:53:50 +07:00
Roman Fomin
790cc0c373
use memio in i_sndfile.c
2023-05-04 21:43:34 +07:00
Roman Fomin
fb320c09da
memio: successful call of the mem_fseek() clears eof, init eof on open stream
2023-05-04 21:03:14 +07:00
Roman Fomin
3ebc272413
memio: emulate how stdio works ( #1032 )
...
* make mem_eof a property of _MEMFILE
2023-05-04 19:32:21 +07:00
Roman Fomin
32e7dda3cf
use memio in d_deh.c ( #1031 )
...
* use memio in d_deh.c
Fixes ASan report.
2023-05-04 17:06:17 +07:00
Fabian Greffrath
80ad33dd1b
release Woof! 11.0
woof_11.0.0
2023-05-04 07:36:32 +02:00
Roman Fomin
f2744c99f9
CHANGELOG.md update ( #1002 )
...
* initial CHANGELOG.md update
* Update CHANGELOG.md
* update CHANGELOG.md with latest changes
* add latest changes to CHANGELOG.md
---------
Co-authored-by: Fabian Greffrath <fabian@greffrath.com>
2023-05-04 07:35:04 +02:00
Fabian Greffrath
c1d7849266
Update README.md
2023-05-02 15:02:45 +02:00
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