Commit graph

18528 commits

Author SHA1 Message Date
Christoph Oelckers
d636acb002 - GAMESIG was never supposed to be used in printed output. Replaced all occurences with GAMENAME. 2020-01-12 09:43:47 +01:00
Christoph Oelckers
1d0ece26b6 - missed a warning. 2020-01-12 08:26:07 +01:00
Christoph Oelckers
9e13d3c60d - fixed: The directory scanner for reading a directory into the WAD file system and ScanDirectory were not Unicode capable on Windows.
Both now use the Unicode capable I_Find* interface instead of duplicating all its functionality in multiple platform dependent incarnations.
2020-01-12 08:18:47 +01:00
Kevin Caccamo
91589d9799 Attempt to optimize check for ML_DRAWFULLHEIGHT
It is less likely that a line will have the ML_DRAWFULLHEIGHT flag than its' ceiling will be above the neighbouring sector's ceiling and vice versa.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
d73a5f5e16 Use != 0 after ANDing with the relevant flags
This is mostly a "just in case" measure, in case I did something wrong with the previous commits.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
2ff92e91d2 Fix ML_DRAWFULLHEIGHT flag check 2020-01-11 13:24:02 +01:00
Kevin Caccamo
7ca6e7e5c1 Add handling for drawfullheight flag
Parse drawfullheight flag in UDMF
Draw full height for walls if the linedef has this flag
2020-01-11 13:24:02 +01:00
Kevin Caccamo
b443d0755e Change ML_NOSKYWALLS and add ML_DRAWFULLHEIGHT
ML_DRAWFULLHEIGHT will be used to draw walls from the front/back sector's floor to the other sector's ceiling.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
9b598017f9 Add more ways to prevent GZDoom from drawing skybox walls
Add noskywalls flag to sectors and linedefs
2020-01-11 13:24:02 +01:00
alexey.lysiuk
f9fa07dca5 - restored old values for CHAN_... constants
https://forum.zdoom.org/viewtopic.php?t=66929
2020-01-11 13:27:10 +02:00
Rachael Alexanderson
b219580ff5 - update filename for ultimate doom unity edition
- add support for tnt/plutonia unity edition
- uses same extraction program by kevansevans
2020-01-11 01:18:23 -05:00
Rachael Alexanderson
6df9e39152 - add support for new Bethesda.Net Unity Edition wads
- they can be extracted with this utility: https://github.com/kevansevans/Unity-Doom-Ripper
2020-01-10 16:36:01 -05:00
alexey.lysiuk
3185e359b9 - added workaround for GLSL noise functions on macOS
There is no chance that Apple will fix their OpenGL drivers
The only viable solution is to preprocess these functions out, and put zeroes instead of them
2020-01-10 13:52:17 +02:00
alexey.lysiuk
1bc67cf7b9 - added ability to use static SDL2 library
This is intended for developers only, e.g. for testing SDL backend on macOS
2020-01-09 15:37:01 +02:00
alexey.lysiuk
442f953d67 - fixed invalid context warnings with Cocoa backend
A bunch of 'CGContext<...>: invalid context 0x0' messages were printed to console during OpenGL view creation and resizing
2020-01-07 14:37:25 +02:00
alexey.lysiuk
7e050010aa - removed obsolete softpoly render modes
https://forum.zdoom.org/viewtopic.php?t=66888
2020-01-06 14:31:34 +02:00
alexey.lysiuk
fca492df2b - fixed compilation of debug target with older macOS SDKs
src/posix/cocoa/i_video.mm:633:31: error: property 'layer' not found on object of type 'id'
2020-01-06 14:26:16 +02:00
Alexander Kromm
eeddd72458 fix nosave cvar keyword (saved to config, not saved to savegame) 2020-01-06 12:07:07 +01:00
alexey.lysiuk
cad14d1c93 - fixed resolving of music aliases with full filenames
https://forum.zdoom.org/viewtopic.php?t=66815
2020-01-06 11:15:17 +02:00
alexey.lysiuk
83f46c4b2f - fixed erroneous override of default language strings
If the default identifier is present in LANGUAGE lump, following entries were treated as default as well

https://forum.zdoom.org/viewtopic.php?t=66873
2020-01-06 10:22:42 +02:00
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