1762 Commits

Author SHA1 Message Date
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
Fabian Greffrath
3ed6defb4b
Update README.md (#1000)
* Update README.md

* full path to WOOFHUD docs

* clarify build environments

* do not announce static Windows builds yet
2023-04-20 14:41:42 +02:00
Roman Fomin
39a67a584c vcpkg: switch to static build 2023-04-20 16:52:41 +07:00
Roman Fomin
168317a113
switch to libxmp from libmodplug (#999)
* switch to libxmp from libmodplug

* disable vcpkg build for now
2023-04-20 16:42:41 +07:00
Roman Fomin
573c5e4940
disable ALC_HRTF_SOFT (#998)
* add snd_hrtf option, set ALC_HRTF_SOFT to ALC_DONT_CARE_SOFT (taken from GZDoom)

* disable HRTF, remove snd_hrtf config option

Thanks to Ceski.
2023-04-20 08:03:41 +07:00
Fabian Greffrath
cca6449966
do not maintain "comments" and blank lines in config files (#997)
They turn out to be obsolete config keys and only cause confusion.
2023-04-19 17:02:33 +02:00
Roman Fomin
9d0a0538d8 we have to query ALC_FREQUENCY after context creation 2023-04-19 08:43:47 +07:00
Roman Fomin
9ae7698db6 simplify looping code for Ogg/FLAC files 2023-04-19 08:28:11 +07:00
Roman Fomin
f91299cbc5 win midi: don't send volume twice 2023-04-18 23:11:07 +07:00
Roman Fomin
244c032d41 fix cmake condition 2023-04-18 20:13:43 +07:00
Roman Fomin
125db5d602 Merge branch 'master' of https://github.com/fabiangreffrath/woof 2023-04-18 20:09:32 +07:00
Roman Fomin
c144d35d06 fix volume reset when tracks change from MUSINFO
This fixes the volume change at the beginning of level 1 in aaliens.wad
2023-04-18 20:06:30 +07:00
Fabian Greffrath
1d5bfd743b minor clean-up 2023-04-18 15:05:56 +02:00
Roman Fomin
ee3807d2e5 OAL stream: run StartPlayer in thread to avoid a slight pause when changing tracks 2023-04-18 20:03:01 +07:00
Roman Fomin
eb38f52ee3 cmake: use VERSION_GREATER_EQUAL 2023-04-18 20:01:56 +07:00
Fabian Greffrath
7490f90b0f
set resampler for sfx channels, remove alsoft config (#995)
* report used resampler in I_InitSound()

* set resampler for sfx channels, remove `alsoft` config

---------

Co-authored-by: Roman Fomin <rfomin@gmail.com>
2023-04-18 14:50:37 +02:00
Fabian Greffrath
aa17f83ac0 improve logging of opened audio device
In fact, ALC_DEVICE_SPECIFIER is only a fallback if the
ALC_ENUMERATE_ALL_EXT extension is not available.

Also added logging the sample rate.

I would have liked to log the used resampler as well, but apparently
this requires jumping through some more loops.
2023-04-18 11:45:17 +02:00
Roman Fomin
654ddf6200
bring back MSYS2 packaging (#994)
* add package step to workflow
2023-04-17 22:39:46 +07:00
Roman Fomin
13d0eea2a4 automap: reset buttons state when follow mode is enabled 2023-04-16 20:32:45 +07:00
Roman Fomin
653482947f
improve automap controls (#993)
* change the state of the automap buttons instantly, without waiting for the
  next tick

* opposite directions cancel each other

* don't reset automap if overlay mode is enabled

* panning speed depends on `hires`
2023-04-16 15:04:31 +07:00
Roman Fomin
ec08b63d34
support for QUITMSG1..QUITMSG14 in Dehacked (#989)
* remove `const`
2023-04-13 14:17:05 +07:00
Roman Fomin
3f4ba9f388
check for negative value in ptr_lstrip() (#988)
* check for negative value in ptr_lstrip()

This fixes parsing of DEHACKED in D2ISOv2.wad with debug version of CRT. If the
value < 0 the behavior of `isspace()` is undefined according to the
documentation.

* disable vcpkg update
2023-04-13 06:36:08 +07:00
Roman Fomin
7ad722e845 disable vcpkg update 2023-04-13 03:48:49 +07:00
Roman Fomin
b337fa556c
add M_VBOX and M_PALSEL lumps (#985) 2023-04-12 20:58:55 +07:00
Roman Fomin
a535400a42
always interpolate idle weapon bob with uncapped FPS (#986) 2023-04-12 13:17:31 +07:00
Roman Fomin
faa96f0505
print error and skip PNG patch (#984) 2023-04-12 03:05:34 +07:00
Roman Fomin
7096d5a77a enable win_msvc.yml for PRs 2023-04-12 00:00:43 +07:00
Roman Fomin
bca805ed7b Merge branch 'master' of https://github.com/fabiangreffrath/woof 2023-04-11 23:51:02 +07:00