1589 Commits

Author SHA1 Message Date
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
Roman Fomin
88f2350296 fix disabling center weapon menu item 2023-04-25 04:16:27 +07:00
Roman Fomin
88ebfa6d94
don't destroy render on graphics re init (#1010)
With `SDL_RenderSetVSync()` we don't need to re create render. May fix freezes
on Windows 11.
2023-04-25 01:07:24 +07:00
Roman Fomin
adc432cf7e fix clean screenshot config key 2023-04-24 23:46:15 +07:00
Roman Fomin
9a37b7ce5f refresh icon on fullscreen toggle
Due to use of borderless fullscreen, we have to re initialize icon on Windows.
Thanks to @JNechaevsky.
2023-04-24 23:37:29 +07:00
Fabian Greffrath
a666a24633
simplify IDCLEV cheat (#1009)
Target level outside the valid epsd/map range is already checked before,
Chex epsd should be set before checking for level name.
2023-04-24 13:48:43 +02:00
Fabian Greffrath
828d61a7ac
Update woofhud.md 2023-04-24 12:53:09 +02:00
Fabian Greffrath
21b94c7846
add a key to perform Fake Archvile Jump (#1008) 2023-04-24 11:16:17 +02:00
Roman Fomin
974d306880
introduce hide weapon option (#1007)
* Add second page to weapon menu, restore first/chainsaw toggle menu option.

* Clean screenshots without weapon. Add new "clean screenshot" key, like in
  Crispy.
2023-04-24 13:59:37 +07:00
Roman Fomin
b49f0adbf4 restore vcpkg.json 2023-04-24 09:13:26 +07:00
Roman Fomin
c4a5b3adc2 default sndfile features include mpeg 2023-04-24 09:09:20 +07:00
Roman Fomin
c6761b7931 update FindSndFile.cmake 2023-04-23 19:40:47 +07:00
Roman Fomin
cc29268a74 try vcpkg FluidSynth config 2023-04-23 19:02:04 +07:00
Roman Fomin
6269faab87 Merge branch 'master' of https://github.com/fabiangreffrath/woof 2023-04-23 18:52:39 +07:00
Alaux
dddbfe8cdf
Remove unused/useless code (#1005)
Namely the following:

I_ScanCode2DoomCode()
I_DoomCode2ScanCode()
amclock
2023-04-23 13:49:39 +02:00
Roman Fomin
0e2c9f3adc minor clean up in cmake files
Move variables `HAVE_*` of libraries to config, rearrangement.
2023-04-23 18:49:04 +07:00
Roman Fomin
8faec5ac90 vcpkg: tweak sndfile and fluidsynth features 2023-04-23 18:46:38 +07:00
Roman Fomin
8cf15febe3
don't install changelogs and programmer docs (#1003) 2023-04-23 16:27:40 +07:00
Roman Fomin
ae685459c4
umapinfo: implement new author field (#1004)
* delete umapinfo.md from docs

It is deprecated and now we have a separate repository for it.
2023-04-23 16:27:17 +07:00
Roman Fomin
d5bf5e437f
implement cheat menu, add a few cheats from DSDA-Doom (#1001)
* add FREEZE cheat from DSDA-Doom.

* add idbeholdh and idbeholdm cheats

* add health and armor keys to config

* remove input_idmypos

It's not very useful and we have a coords widget. What if we print idmypos with
small hud font?

* add iddkt/iddst/iddit (kill, secret, item) finder cheats from DSDA-Doom
2023-04-23 16:26:47 +07:00
Roman Fomin
e8822729d8 initialize timer for woof-setup (fixes crash) 2023-04-22 20:55:44 +07:00
Roman Fomin
d69f9468f1 copy woofhud.md to wiki, update CMDLINE.template.md 2023-04-22 07:13:37 +07:00
Roman Fomin
7c22eba4ba update-wiki: change file name 2023-04-21 20:35:23 +07:00
Roman Fomin
65d45d7e62 wrong shell 2023-04-21 10:14:15 +07:00
Roman Fomin
8f214e167f add PkgConfigHelper.cmake, update FindFluidSynth.cmake 2023-04-21 10:07:05 +07:00
Fabian Greffrath
5156ef30e9 avoid ZIP file directory name clashes 2023-04-20 17:29:59 +02:00
Roman Fomin
8f83e2d334 use cmd shell 2023-04-20 21:05:59 +07:00
Roman Fomin
2bb64d14ef setup vcvars manually 2023-04-20 20:57:07 +07:00
Roman Fomin
1363fb165f Revert "update FindFluidSynth.cmake"
This reverts commit 3582e8c28cee186c4d601a55ae260ecb628cd5a8.
2023-04-20 20:55:03 +07:00
Roman Fomin
3582e8c28c update FindFluidSynth.cmake 2023-04-20 20:16:17 +07:00
Roman Fomin
24a9f19092 use msbuild 2023-04-20 20:06:54 +07:00