Alexander Kromm
f85e3fb9a0
make nosave cvars set their value bypassing network code
...
This may look as a workaround, it is not.
nosave cvars are meant to be used as a storage for statistical data that doesn't
affect gameplay. That's why this data isn't saved to the savefile in the first
place. Therefore, there is no point in sending this data over network. It would
have no meaning on machines other than local.
2020-01-14 15:50:20 +01:00
alexey.lysiuk
efd2f8a1a8
- implemented screenshots in softpoly backend
2020-01-14 12:14:03 +02:00
Christoph Oelckers
0c368a6498
- text update.
2020-01-13 23:12:02 +01:00
Christoph Oelckers
dc3b36ebda
- we are past 4.3 now.
2020-01-12 23:22:41 +01:00
alexey.lysiuk
7092a0a8f0
- fixed Linux and macOS implementations of I_FindAttr()
...
At the moment, we assume that dirent struct has d_type member, and DT_DIR is defined
This is true for supported versions of macOS, and Linux with glibc
https://forum.zdoom.org/viewtopic.php?t=66945
2020-01-12 23:03:59 +02:00
Rachael Alexanderson
c6ea10f03f
- implement player setup background by Enjay
2020-01-12 19:21:31 +01:00
alexey.lysiuk
c466422095
- fixed uninitialized variable in OPL song
...
Mono streams could be erroneously treated as stereo, doubling their playback speed
https://forum.zdoom.org/viewtopic.php?t=66939
2020-01-12 18:02:26 +02:00
Christoph Oelckers
583734861e
- compatibility workaround for using Scroll_Texture_Model with a line id of 0.
...
This would do very bad things if not being checked for.
2020-01-12 13:21:15 +01:00
Christoph Oelckers
e3eae62af2
- store CVARs non-destructively in savegames.
...
The old method using a single string with a backslash as separator is unable to handle anything with actual backslashes in the data.
It now uses a JSON object with each CVAR being a separate key.
2020-01-12 12:59:08 +01:00
Christoph Oelckers
3e9a43d7f0
- added missing render style constants to ZScript.
2020-01-12 12:02:26 +01:00
alexey.lysiuk
f32aff3396
- fixed A_PlaySound() called from Dehacked
...
The recently added argument was missing from PlaySound code pointer handling
Verified other Dehacked functions, and changed one incorrect comment
2020-01-12 11:48:45 +02:00
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