Commit graph

18458 commits

Author SHA1 Message Date
Chronos Ouroboros
a83fff0eb4 Disabled default blocks in mixins for now. 2020-01-05 19:07:03 -03:00
Rachael Alexanderson
98ee0a7035 - move colorization parser from 'textures' to 'gldefs' 2020-01-05 16:30:01 -05:00
Alexander Kromm
b209fd9572 add "nosave" cvar token
It makes a cvar value not be saved in a save file.
2020-01-05 17:36:44 +01:00
alexey.lysiuk
4dc6ea4091 - set macOS deployment target in CMake
Removed explicit version selection from Travis configuration
Bug in particular version of CMake requires CMAKE_OSX_SYSROOT to be set to existing SDK name for Xcode 8
https://cmake.org/pipermail/cmake/2012-November/052649.html
2020-01-05 10:50:14 +02:00
Christoph Oelckers
26784d7453 - reverted the clamping when assigning to FScanner::Number.
This broke unsigned integer parsing without explicitly declaring the constant unsigned.
2020-01-05 00:17:58 +01:00
Christoph Oelckers
847cbcc0c3 - Text update. 2020-01-04 21:09:02 +01:00
Rachael Alexanderson
cb7a097ed4 - vid_scalemode 1 now only goes down to 640x400 at minimum, instead of 320x200 2020-01-04 15:05:35 -05:00
Christoph Oelckers
58acbfb6b5 - added Esperanto menu option. 2020-01-04 21:00:39 +01:00
Petr Mrázek
3c20d5fe88 - Run the Alsa MIDI thread every 40ms or so, use non-blocking sequencer 2020-01-04 20:19:36 +01:00
Christoph Oelckers
4646273569 - fixed: menu sounds no longer got the CHANF_UI flag. 2020-01-04 19:36:22 +01:00
Chronos Ouroboros
a588c24c4f Fixed some incorrect parentheses in S_PlaySoundPitch. 2020-01-04 15:34:43 -03:00
Chronos Ouroboros
6ccbccc3de Removed a redundant switch and added a default case to the mixin parsing code to shut GCC up. 2020-01-04 15:11:31 -03:00
Christoph Oelckers
c0b9bb6e76 - bumped ZScript version to 4.3 and silenced the remaining deprecation warnings. 2020-01-04 14:25:56 +01:00
Christoph Oelckers
4a67bfcddb - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound 2020-01-04 14:25:55 +01:00
Christoph Oelckers
b7e1a35e6f - cleaned up the parameters of A_StartSound.
There were two booleans that could be merged into the flag word.
This also fixes a bug with CHAN_NOSTOP not working for local sounds because it checked the wrong sound source for the playing sound.
2020-01-04 14:25:55 +01:00
alexey.lysiuk
651dfbc49f - fixed a few compilation warnings
src/d_main.cpp:280:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
src/rendering/r_videoscale.cpp:147:22: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
src/sound/s_reverbedit.cpp:250:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
2020-01-04 12:59:26 +02:00
Christoph Oelckers
8b3c03d416 - fixed Doom64 style lighting.
The check for the presence of Doom64 style lighting was done too early before the line lists in the sector were created.
2020-01-04 10:45:22 +01:00
Christoph Oelckers
4253fb6b4a Merge branch 'zmusic_dll'
# Conflicts:
#	libraries/zmusic/zmusic/configuration.cpp
2020-01-04 09:48:04 +01:00
Christoph Oelckers
829d43baed - fixed warnings. 2020-01-04 09:44:48 +01:00
Rachael Alexanderson
3e4d53e8b6 - add EnumerateDevices for alsa per suggestion of the original author 2020-01-03 10:35:13 -05:00
Magnus Norddahl
fca3da8af4 Update and clarify the licenses for the postprocess, vulkan and softpoly parts 2020-01-03 05:52:01 +01:00
Rachael Alexanderson
fabf3d8ca4 - fix compiler error with Alsa enumeration 2020-01-02 20:21:10 -05:00
Christoph Oelckers
8898448014 - refactored the MIDI list code.
Let's hope nothing got broken on the Linux side, the recent submission's code was not usable.
2020-01-02 14:21:26 +01:00
Rachael Alexanderson
f398819ce3 - due to issues with chat, scoreboard, and the stat screen, disable 320x200 in multiplayer for now 2020-01-02 06:47:17 -05:00
Christoph Oelckers
f442d2dc54 - made the sound decoding interface DLL friendly and added compile switches to the MIDI players so that different licenses can be uses as compile target. 2020-01-02 12:43:37 +01:00
alexey.lysiuk
d4ac797602 - made load game failure a bit more resilient
https://www.doomworld.com/forum/topic/111069-savestate-problems-with-gzdoom/
2020-01-02 13:40:14 +02:00
alexey.lysiuk
f2bacd5faf - fixed crash during enumeration of MIDI devices
libraries/zmusic/zmusic/configuration.cpp:109:9: warning: returning reference to local temporary object [-Wreturn-stack-address]
2020-01-02 13:08:10 +02:00
Christoph Oelckers
77a20ea7d1 - forgot to save this one. 2020-01-02 08:47:03 +01:00
Christoph Oelckers
71cd4ef488 Merge branch 'master' of https://github.com/coelckers/gzdoom
# Conflicts:
#	libraries/zmusic/zmusic/mididefs.h
#	libraries/zmusic/zmusic/zmusic.h
2020-01-02 08:45:48 +01:00
Petr Mrázek
ea1b8de405 - Support for MIDI on Linux via alsa sequencer 2020-01-02 08:29:39 +01:00
Rachael Alexanderson
118e3db5ca - r_videoscale: make the compiler manage vScaleTable's size 2020-01-01 23:23:20 -05:00
Christoph Oelckers
d2ca1ea4e0 - rewrote the ZMusic interface so that it is free of C++ constructs.
Now it is ready to put in a DLL.
2020-01-02 01:26:01 +01:00
Christoph Oelckers
0d000344ca - replaced the C++ based file access wrapper in ZMusic with a C compatible version. 2020-01-01 22:54:27 +01:00
Christoph Oelckers
527fb40a5f - there's no need to let the XM Vorbis decoder run through the client - all related functionality is part of ZMusic itself. 2020-01-01 20:58:15 +01:00
Christoph Oelckers
47d70c839d - made adjustments to the remaining parts of the function interface. 2020-01-01 20:47:33 +01:00
Christoph Oelckers
7923d25cce - made the ZMusic interface more DLL friendly: Reworked all functions not to throw exceptions across the library boundary and made a few definitions internal.
Not complete yet.
2020-01-01 20:01:38 +01:00
Christoph Oelckers
c24f9b42ba - the timidity safe_malloc functions may not throw exceptions.
There is a high chance of them getting called within the stream servicing function which cannot deal with abnormal conditions, so the only choice here is performing a hard abort.
2020-01-01 17:34:37 +01:00
Christoph Oelckers
fe0a6b00ce - blocked the destructor in the sound font reader base class.
If ZMusic is to act like an external library it may not call delete on external objects because there is no guarantee that they use the same allocator. Deletion must be done as a virtual function to ensure that the correct operator delete gets called, which, unlike the actual destructor is not virtual itself.
2020-01-01 16:11:39 +01:00
Rachael Alexanderson
ea98676085 - oops, missed this one 2020-01-01 08:12:31 -05:00
Rachael Alexanderson
dff45eb1f3 - relicense some of my past work under BSD 2020-01-01 07:38:06 -05:00
Alexander Kromm
60026ba4f2 export dictionary iterator 2020-01-01 08:39:25 +01:00
Rachael Alexanderson
5ae0ae885d - amend last commit: do it the other direction, too 2020-01-01 01:28:42 -05:00
Rachael Alexanderson
e87ed35565 - add framerate limiter to polybackend update function 2020-01-01 00:39:33 -05:00
Rachael Alexanderson
aa4abfc977 - added pixel ratio detection to supersampling detection for forcing linear scaling - this should likely make it so if there's ever an instance where a viewport pixel is smaller than a screen pixel, the screen should go to linear scaling now 2020-01-01 00:25:48 -05:00
Rachael Alexanderson
0d60a0f4ea - bump version requirement to 219 for defcvars 2019-12-31 23:49:44 -05:00
Christoph Oelckers
7156611643 - fixed two missing commas in DEHSUPP. 2019-12-31 23:27:00 +01:00
Rachael Alexanderson
856bc8ee8c - silence double to float warning in gameconfigfile.cpp 2019-12-31 15:25:26 -05:00
Rachael Alexanderson
5389d8ad1a - set sane limits for vid_scale_custompixelaspect 2019-12-31 15:21:47 -05:00
Christoph Oelckers
f647f3c132 - added the Dehacked extensions from Crispy/Doom Retro.
All empty placeholders for mods to fill in, no new functionality.
2019-12-31 21:13:18 +01:00
Alexander Kromm
2f9177127c dictionary from empty string is not an error, but empty dictionary 2019-12-31 17:04:37 +01:00