drfrag
004b48d62f
- Blind attempt at adding support for 4 XInput controllers.
2020-01-13 13:19:34 +01:00
alexey.lysiuk
8a0581481b
- 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 22:26:09 +01:00
Rachael Alexanderson
07bc5d233e
- implement player setup background by Enjay
2020-01-12 20:51:41 +01:00
alexey.lysiuk
42f732798d
- 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:08:47 +01:00
Christoph Oelckers
a9df2427ca
- compatibility workaround for using Scroll_Texture_Model with a line id of 0.
...
This would do very bad things if not being checked for.
# Conflicts:
# src/maploader/specials.cpp
2020-01-12 16:09:07 +01:00
Christoph Oelckers
ae36003901
- 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.
# Conflicts:
# src/version.h
2020-01-12 16:09:05 +01:00
drfrag
c5aa482437
- Fixed compilation with XP toolsets.
2020-01-12 15:22:07 +01:00
Christoph Oelckers
0c2ee0ffea
- added missing render style constants to ZScript.
2020-01-12 12:59:46 +01:00
alexey.lysiuk
ab4594e2f7
- 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 12:59:44 +01:00
Christoph Oelckers
2d4accf437
- missed a warning.
2020-01-12 12:59:42 +01:00
Christoph Oelckers
f7ead44168
- 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.
# Conflicts:
# src/cmdlib.cpp
# src/gamedata/textures/image.cpp
# src/resourcefiles/file_directory.cpp
# Conflicts:
# src/resourcefiles/file_directory.cpp
2020-01-12 12:59:40 +01:00
Kevin Caccamo
db66f78c16
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-12 11:39:21 +01:00
Kevin Caccamo
c75ec6f59f
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.
# Conflicts:
# src/hwrenderer/scene/hw_sky.cpp
2020-01-12 11:39:18 +01:00
Kevin Caccamo
4335233a49
Fix ML_DRAWFULLHEIGHT flag check
2020-01-12 11:39:16 +01:00
Kevin Caccamo
477381f210
Add handling for drawfullheight flag
...
Parse drawfullheight flag in UDMF
Draw full height for walls if the linedef has this flag
2020-01-12 11:39:03 +01:00
Kevin Caccamo
d69becfa57
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-12 11:38:51 +01:00
Kevin Caccamo
43264d9366
Add more ways to prevent GZDoom from drawing skybox walls
...
Add noskywalls flag to sectors and linedefs
# Conflicts:
# src/hwrenderer/scene/hw_sky.cpp
# src/p_udmf.cpp
2020-01-12 11:37:39 +01:00
alexey.lysiuk
068f0420a8
- restored old values for CHAN_... constants
...
https://forum.zdoom.org/viewtopic.php?t=66929
2020-01-12 00:49:20 +01:00
Rachael Alexanderson
6d983d0657
- update filename for ultimate doom unity edition
...
- add support for tnt/plutonia unity edition
- uses same extraction program by kevansevans
2020-01-12 00:48:52 +01:00
Rachael Alexanderson
ad4770a803
- add support for new Bethesda.Net Unity Edition wads
...
- they can be extracted with this utility: https://github.com/kevansevans/Unity-Doom-Ripper
# Conflicts:
# wadsrc_extra/static/iwadinfo.txt
2020-01-12 00:46:44 +01:00
drfrag
8764f15555
- Set default GL texture filtering mode to none.
2020-01-11 22:54:50 +01:00
drfrag
cb48b796a8
- Fixed compilation with MinGW.
2020-01-10 01:11:54 +01:00
drfrag
1ca4e0c98a
- Removed ZScript warning.
2020-01-07 20:27:16 +01:00
Alexander Kromm
c96cdc6c35
fix nosave cvar keyword (saved to config, not saved to savegame)
2020-01-07 19:56:00 +01:00
alexey.lysiuk
fd5889e200
- fixed resolving of music aliases with full filenames
...
https://forum.zdoom.org/viewtopic.php?t=66815
2020-01-07 19:55:59 +01:00
Chronos Ouroboros
fea9814d19
Disabled default blocks in mixins for now.
2020-01-07 19:55:58 +01:00
Alexander Kromm
721faee4d8
add "nosave" cvar token
...
It makes a cvar value not be saved in a save file.
2020-01-07 19:55:58 +01:00
Christoph Oelckers
f9976fbf25
- reverted the clamping when assigning to FScanner::Number.
...
This broke unsigned integer parsing without explicitly declaring the constant unsigned.
2020-01-07 19:55:57 +01:00
Christoph Oelckers
176144e0a1
- cleanup.
...
(The Raven license got removed from sc_man after checking that no Raven code is still present here, this file got a nearly complete overhaul over all those years.)
# Conflicts:
# src/textures/texturemanager.cpp
2020-01-07 19:55:56 +01:00
Petr Mrázek
848438839b
- Run the Alsa MIDI thread every 40ms or so, use non-blocking sequencer
2020-01-07 19:55:55 +01:00
Christoph Oelckers
37db863bab
- fixed: menu sounds no longer got the CHANF_UI flag.
2020-01-07 19:55:55 +01:00
Chronos Ouroboros
24a11f7a9a
Fixed some incorrect parentheses in S_PlaySoundPitch.
2020-01-07 19:55:54 +01:00
Chronos Ouroboros
3c71f23afd
Removed a redundant switch and added a default case to the mixin parsing code to shut GCC up.
2020-01-07 19:55:53 +01:00
drfrag
87bb63a61a
- Bumped ZScript version.
...
# Conflicts:
# src/version.h
2020-01-07 19:55:51 +01:00
Christoph Oelckers
286cda2bb5
- bumped ZScript version to 4.3 and silenced the remaining deprecation warnings.
...
# Conflicts:
# wadsrc/static/zscript.txt
2020-01-07 19:37:00 +01:00
Christoph Oelckers
5229a84047
- deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound
...
# Conflicts:
# wadsrc_extra/static/filter/harmony/decorate.txt
2020-01-07 19:36:57 +01:00
Christoph Oelckers
ce1f4427cc
- 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-07 19:36:52 +01:00
Christoph Oelckers
1cf5ce6bab
- fixed warnings.
2020-01-07 18:37:01 +01:00
Rachael Alexanderson
a085088893
- add EnumerateDevices for alsa per suggestion of the original author
2020-01-07 18:36:59 +01:00
Rachael Alexanderson
f67b217415
- fix compiler error with Alsa enumeration
2020-01-07 18:36:58 +01:00
Christoph Oelckers
ff3606e44e
- refactored the MIDI list code.
...
Let's hope nothing got broken on the Linux side, the recent submission's code was not usable.
# Conflicts:
# libraries/zmusic/zmusic/configuration.cpp
# src/sound/music/i_music.cpp
# src/sound/music/music_midi_base.cpp
2020-01-07 18:36:55 +01:00
Christoph Oelckers
dee8af1902
- 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.
...
# Conflicts:
# src/sound/backend/i_sound.h
# Conflicts:
# libraries/zmusic/mididevices/music_timiditypp_mididevice.cpp
2020-01-07 18:22:15 +01:00
Christoph Oelckers
b6577d9f55
- forgot to save this one.
2020-01-07 18:07:28 +01:00
Christoph Oelckers
e89cc73f80
- rewrote the ZMusic interface so that it is free of C++ constructs.
...
Now it is ready to put in a DLL.
# Conflicts:
# libraries/zmusic/zmusic/mididefs.h
# libraries/zmusic/zmusic/zmusic.h
2020-01-07 18:07:26 +01:00
Christoph Oelckers
f2a3a70aec
- replaced the C++ based file access wrapper in ZMusic with a C compatible version.
2020-01-07 18:07:23 +01:00
Christoph Oelckers
7e01b19753
- there's no need to let the XM Vorbis decoder run through the client - all related functionality is part of ZMusic itself.
2020-01-07 18:07:21 +01:00
Christoph Oelckers
e5faff8cbb
- made adjustments to the remaining parts of the function interface.
2020-01-07 18:07:19 +01:00
Christoph Oelckers
4e8359100f
- 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.
# Conflicts:
# libraries/zmusic/zmusic/zmusic.h
2020-01-07 18:07:17 +01:00
Christoph Oelckers
353ffa2e95
- 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-07 18:07:15 +01:00
Christoph Oelckers
849bfb69b1
- 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-07 18:07:13 +01:00