Roman Fomin
94c8c8dcb0
cosmetic fix: align MIDI player string in menu
2023-04-11 23:43:08 +07:00
Roman Fomin
042f93b357
add openal-soft config and set resampler to "linear" by default ( #981 )
...
* fix nomusic parameter
* add install alsoft.conf CMake rule
* check for WOOFDATADIR
2023-04-11 23:39:40 +07:00
Roman Fomin
f1e0138a44
suppress puff interpolation for the first tic ( #982 )
...
Now the snapping of the puff to the floor level isn't interpolated. Taken from
Crispy Doom.
2023-04-10 19:33:07 +07:00
Roman Fomin
2e7615f3ec
don't run update_wiki.yml and win_msvc.yml in other repositories
...
win_msvc.yml is very heavy and create a lot of packages
2023-04-10 18:10:31 +07:00
Roman Fomin
7f84768407
remove signal handler ( #980 )
2023-04-10 11:56:51 +07:00
Roman Fomin
32339247b0
update_wiki: fix path
2023-04-10 11:48:36 +07:00
Roman Fomin
538df5213c
add update_wiki.yml
2023-04-10 11:43:54 +07:00
Roman Fomin
7579b3dfc1
fix -dmuplumps
2023-04-10 09:43:32 +07:00
Roman Fomin
662c13b943
load ADPCM formats as 16-bit for now
2023-04-09 21:47:12 +07:00
Roman Fomin
e03274eea5
fix volume reset for non-MIDI music
2023-04-09 21:46:20 +07:00
Roman Fomin
70b4fdf178
use screenvisible
, fix alt-tab with exclusive fullscreen on Windows ( #979 )
2023-04-09 12:31:22 +07:00
Julia Nechaevskaya
c642d27993
Simplify VSync toggling ( #977 )
...
* Simplify VSync toggling
* Bump required SDL version to 2.0.18
SDL_RenderSetVSync requires it, see:
https://wiki.libsdl.org/SDL2/SDL_RenderSetVSync
* remove win_version.c
---------
Co-authored-by: Roman Fomin <rfomin@gmail.com>
2023-04-09 01:41:31 +07:00
Fabian Greffrath
ce8f70ff00
Merge branch 'master' of github.com:fabiangreffrath/woof
2023-04-08 16:55:48 +02:00
Fabian Greffrath
9d2ebef012
let W_WadNameForLump() return "lump" for predefined or single lumps
2023-04-08 16:55:44 +02:00
Roman Fomin
732d5878c7
add schema to vcpkg.json
2023-04-08 14:37:10 +07:00
Roman Fomin
112105076d
M_remove() should return 0 on success
2023-04-08 14:32:00 +07:00
Roman Fomin
11c652b67e
missed static
, cosmetic changes
2023-04-07 11:33:57 +07:00
Fabian Greffrath
efb5867399
print actual device name instead of default device name
...
just to be 100% sure
2023-04-06 15:32:05 +02:00
Roman Fomin
8058a800d3
implement modplug stream module ( #976 )
...
* update workflows
* implement stream_module_t interface, use it for sndfile and modplug
This way we got the proper pause, loop and gain for the modplug module.
2023-04-06 18:59:53 +07:00
Fabian Greffrath
d9595b64c1
back to the original S_getChannel() from WinMBF ( #975 )
...
* back to the original S_getChannel() from WinMBF
* reformat to my liking
2023-04-06 08:39:58 +02:00
Roman Fomin
6bbc5507f9
support for Ogg/FLAC loop points (taken from Chocolate Doom) ( #974 )
2023-04-06 12:51:05 +07:00
Fabian Greffrath
7338feccef
remove looping sounds quirk ( #973 )
2023-04-06 07:29:05 +02:00
Fabian Greffrath
0ff8bdb36b
remove parallel sfx limit ( #972 )
2023-04-05 20:49:51 +02:00
Roman Fomin
b09678d980
sound system clean up ( #971 )
...
* Explicitly use OpenAL buffer IDs instead of void pointers.
* Free the `openal_sources` array on shutdown.
* Remove more unused code
2023-04-05 23:18:03 +07:00
Roman Fomin
639069d399
OAL stream: actually use buffer samples instead of buffer size
...
This was the idea from the beginning. Also reduce the buffer length to about
half a second.
* cosmetic changes
2023-04-05 12:46:56 +07:00
Roman Fomin
dd536bff1b
change snd_samplerate
variable to constant ( #970 )
...
It's not possible to "force" a samplerate when creating an OpenAL audio device,
see https://github.com/kcat/openal-soft/issues/350
We use the `SND_SAMPLERATE` macro only when generating synth music.
2023-04-05 12:41:38 +07:00
Roman Fomin
a55e4168d6
provide FindOpenAL.cmake module (taken from cmake) ( #969 )
...
* use `#include "al.h"` istead of `#include <AL/al.h>` as recommended
2023-04-05 11:40:07 +07:00
Roman Fomin
9b9b3b9d2c
convert multichannel sfx to mono ( #968 )
...
* fix FindSndFile.cmake, detect libsndfile version properly
* convert multichannel sfx to mono, cosmetic changes
2023-04-05 04:00:55 +07:00
Roman Fomin
2b2214b9a6
remove snd_resampling_mode
2023-04-05 03:23:37 +07:00
Roman Fomin
8c8acf3a0f
try to update vcpkg
2023-04-04 20:11:38 +07:00
Roman Fomin
a50fd6c794
reset gain in I_OAL_HookMusic()
2023-04-04 20:10:58 +07:00
Roman Fomin
60eef57795
win midi: don't show MessageBox on errors
2023-04-04 20:08:39 +07:00
Roman Fomin
1a278d6105
switch to OpenAl for sound mixing ( #967 )
...
* switch to OpeanAl for sound mixing
* Rewrote Load_SNDFile() to use float format. Made libsndfile mandatory.
* update main.yml workflow
* implement OpeanAl music streaming
* remove i_sdlmusic.c and SDL_Mixer dependecy
* enable mpeg support in libsndfile
* require SndFile 1.1.0
* check SF_FORMAT_MPEG_LAYER_III symbol
* use AL_GAIN for opl_gain
2023-04-04 19:46:58 +07:00
Roman Fomin
28a88c41dc
fix mouse controls in textscreen windows ( #966 )
...
SDL_RenderSetLogicalSize() automatically centers it
2023-04-02 07:47:25 +02:00
Roman Fomin
798ba2b507
update PROJECT_COPYRIGHT
year
2023-04-02 10:57:47 +07:00
Roman Fomin
077752e09c
add controls to manifest.xml
...
Modern UI for MessageBox etc.
2023-04-02 10:56:23 +07:00
Roman Fomin
354f6f7b3c
ignore codes for color change in M_StringWidth
...
Fix #965
2023-04-01 17:13:19 +07:00
Roman Fomin
177f358d65
clean up missed headers
2023-04-01 16:43:22 +07:00
Roman Fomin
49abe0d28a
clean up file headers ( #964 )
...
* Remove "Emacs style mode select" line.
* Remove RSC Id tags.
* Remove "You should have received a copy of..." text from copyright header.
This address in no longer correct.
2023-04-01 09:02:12 +02:00
Roman Fomin
f36805e7f1
fix some memory leaks
2023-03-30 21:18:54 +07:00
ceski
b9e567c728
winmidi: Update volume after "reset all controllers" event ( #963 )
2023-03-30 10:11:25 +07:00
Fabian Greffrath
0745932c18
fix overlapping setup menu text
...
Fixes #961 , thanks @MrAlaux
2023-03-28 23:16:49 +02:00
Fabian Greffrath
b1c1256891
check if drag-n-dropped .lmp files could be demo lumps ( #960 )
...
and pass them to the -playdemo parameter if appropriate.
2023-03-27 20:19:16 +07:00
Fabian Greffrath
a922c4a0aa
get away with only one invulnerability tracker for status bar and HUD
...
Just remembered that `ST_ticker()` is *always* called before `HU_Ticker()`.
2023-03-26 11:34:56 +02:00
Alaux
1a2de565fc
Smooth Health/Armor Count ( #959 )
...
* Smooth Health/Armor Count
* Move smooth counts menu item
2023-03-26 11:28:44 +02:00
Roman Fomin
6323e85a84
fix crash when trying to send chat macro with key ASCII code < '0' ( #958 )
2023-03-25 08:45:42 +01:00
Roman Fomin
44921bfd9a
delete dead code
2023-03-24 00:41:08 +07:00
Fabian Greffrath
3bc2769f0a
config description consistencies
2023-03-22 13:19:39 +01:00
Roman Fomin
1e220bd103
config updates ( #954 )
...
* config updates
* Remove `page_flip` variable and software rendering (user can set
SDL_VIDEODRIVER if needed)
* Delete config version
* Sort and group config entries
* forgot net_player_name, cosmetics
Fixes #953 , fixes #951
2023-03-22 11:25:07 +01:00
Fabian Greffrath
6faaefcc4e
factor out HUD font patches and update with the ones provided by @liPillON ( #950 )
...
* factor out HUD font patches and update with the ones provided by @liPillON
* replace only the patches which were actually changed
* add kraflab's copyright
* update copyright holders
Regarding license: derivative work of GPL-2+ (Boom) is still GPL-2+
2023-03-22 11:04:01 +01:00