Commit graph

18242 commits

Author SHA1 Message Date
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
Rachael Alexanderson
4bc923dddf - slight rearrange of vid_scalemode and menu update 2019-12-31 10:41:30 -05:00
Rachael Alexanderson
903f448461 - made linear scaling more user controlled 2019-12-31 10:26:23 -05:00
Rachael Alexanderson
99ef731fd3 - do config migration for vid_scale_custompixelaspect 2019-12-31 09:50:38 -05:00
Rachael Alexanderson
5d2d187b84 - allow custom pixel ratio scaling 2019-12-31 09:41:42 -05:00
Rachael Alexanderson
eaee3d6ac5 - fixed softpoly backend unconditionally applying linear scaling 2019-12-31 08:59:38 -05:00
Rachael Alexanderson
8be7ef0ec5 - forbid defcvars from a wadfile 2019-12-31 11:00:16 +01:00
Rachael Alexanderson
7dfd49b42e - tell the user the game version number when version is not specified as a hint 2019-12-31 04:23:53 -05:00
Magnus Norddahl
839b737429 Fix wrong blend tables used when dynamic lights hits translucent lines 2019-12-31 03:00:36 +01:00
Rachael Alexanderson
2b05bfed68 - implement 'defcvars'
# Conflicts:
#	src/d_main.cpp
2019-12-30 19:07:01 +01:00
Chronos Ouroboros
b4ba7dfec2 Fixed a regression in DoTakeInventory. (the C++ code just ignored the null pointer, but ZScript can't do that) 2019-12-30 12:37:33 -03:00
Alexander Kromm
bd1892120d add Dictionary.Remove(String key) function 2019-12-30 14:57:37 +01:00
Alexander Kromm
2dc9837078 fix crash with saving null Dictionary 2019-12-30 14:57:37 +01:00
Cacodemon345
7fd27bc925 Add PSPF_PLAYERTRANSLATED flag (makes a PSprite layer translated to the user's color) 2019-12-30 13:05:38 +01:00
Marisa Kirisame
55e482d0fc Additional CHAN_OVERLAP awareness for StartSound and ChangeSoundVolume/Pitch. 2019-12-30 13:01:59 +01:00
Christoph Oelckers
d08bb93b84 - elimintated all cases from the ZScript code where channel indices and flags were combined into one parameter and removed all remnants of CHAN_PICKUP. 2019-12-30 09:47:25 +01:00