alexey.lysiuk
bfaa09c429
Fixed crash after restart CCMD
2017-12-23 15:48:28 +02:00
alexey.lysiuk
d50ba4954a
Fixed potential crash when calling undefined function in ZScript
...
The following code which uses explicit class specifier led to a crash:
class C
{
void F()
{
Object.Undefined();
}
}
2017-12-23 15:27:32 +02:00
Rachael Alexanderson
b9a2398935
- added 'undocolorpic' to c_dispatch whitelist
2017-12-21 18:00:13 -05:00
Rachael Alexanderson
0e2aee7d5e
- whitelist reset2saved in menudef
2017-12-20 03:21:50 -05:00
alexey.lysiuk
90c734a39f
Fixed VM abort when drawing from ZScript happens during 0 game tic
...
https://forum.zdoom.org/viewtopic.php?t=58523
https://forum.zdoom.org/viewtopic.php?t=58780
2017-12-19 18:07:29 +02:00
alexey.lysiuk
8c60c3c532
Added bounds checks for color translation indices
...
ACS scripts could pass arbitrary values as palette indices leading to undefined behavior
2017-12-17 15:13:41 +02:00
alexey.lysiuk
6db8e71b14
Fixed inconsistent color remapping via translation ranges
...
https://forum.zdoom.org/viewtopic.php?t=58537
2017-12-17 15:13:41 +02:00
Major Cooke
ceffe1ba5f
Consistent style.
2017-12-16 12:17:55 -05:00
Major Cooke
0d841ab4df
- Added DMG_NO_PAIN for DamageMobj.
2017-12-16 12:17:55 -05:00
alexey.lysiuk
0afc09678f
Fixed bright sprites in sectors with Doom 64 lighting
...
https://forum.zdoom.org/viewtopic.php?t=58703
2017-12-16 17:37:03 +02:00
alexey.lysiuk
f452184d82
Updated to Xcode 9.2 in Travis configuration
2017-12-16 11:49:50 +02:00
alexey.lysiuk
c387574c02
Stop demo recording after ending game with menu_endgame CCMD
...
https://forum.zdoom.org/viewtopic.php?t=58735
2017-12-15 12:34:56 +02:00
alexey.lysiuk
31f2bb5218
Extended workaround for bug in VS2017 compiler to 32-bit build
...
game-music-emu\gme\fir_resampler.cpp(32): fatal error C1001: An internal error has occurred in the compiler.
2017-12-15 11:05:53 +02:00
Rachael Alexanderson
dee5d064e9
- revise last script a bit: allow certain cheats/scripts/events to be called from the menu.
2017-12-14 16:39:33 -05:00
Rachael Alexanderson
f77ba14948
- use a whitelist for DoCommand zscript command
2017-12-14 15:55:45 -05:00
alexey.lysiuk
de12902d77
Increased limit for automap empty space margin to 90%
...
https://forum.zdoom.org/viewtopic.php?t=58653
2017-12-14 16:18:27 +02:00
Christoph Oelckers
f3ac82e112
- do not allow outside access to the variable storing the CCMD for OptionMenuItemCommand.
...
This can be abused to execute atbitrary commands from inside script code.
2017-12-13 22:14:30 +01:00
Christoph Oelckers
6b42036eb6
- fixed: AActor::UnlinkFromWorld must also destroy all portal link nodes for the calling actor.
2017-12-10 21:26:52 +01:00
alexey.lysiuk
724c997695
Fixed error check when saving GL nodes
2017-12-10 15:10:32 +02:00
alexey.lysiuk
acc943329b
Added null check for probe in SectorAction.OnDestroy()
...
Absence of check led to unhandled VM abort exception in case of saved game failed to load
2017-12-10 14:35:30 +02:00
alexey.lysiuk
a89bc23789
Fixed crash when loading saved game with missing ACS module
2017-12-10 13:24:16 +02:00
Rachael Alexanderson
1559d74c2c
- repaired the video scaling code
2017-12-10 04:22:28 -05:00
alexey.lysiuk
ebb926e7b0
Added free space margin aka safe frame for automap
...
am_freespacemargin CVAR and corresponding menu options can set empty space margin for automap in percentage of zoomed out size
https://forum.zdoom.org/viewtopic.php?t=58653
2017-12-09 17:38:34 +02:00
Rachael Alexanderson
eb5da3e641
- fixed: if the level is started before the first timer call, pass an earlier timestamp to screen->FrameTime
2017-12-09 06:09:48 -05:00
alexey.lysiuk
e3ba9567c9
Fixed English localization issues
...
https://forum.zdoom.org/viewtopic.php?t=58684
2017-12-09 13:00:03 +02:00
alexey.lysiuk
81769518c9
Fixed inconsistent angle of spawned leaves
...
https://forum.zdoom.org/viewtopic.php?t=58664
2017-12-09 11:57:05 +02:00
alexey.lysiuk
0bd9437a96
Fixed loading of external DeHackEd patches
...
https://forum.zdoom.org/viewtopic.php?t=58685
2017-12-09 11:37:25 +02:00
Rachael Alexanderson
a3a350e6e8
- fixed: make level.ShaderStartTime use the same values as what screen->FrameTime normally gets.
2017-12-07 16:31:27 -05:00
Rachael Alexanderson
938cd3cabe
- implemented win_borderless for fake fullscreen in Windows
2017-12-07 06:32:51 -05:00
Rachael Alexanderson
a29d9e157c
- fixed: screen->FrameTime should use an adjusted frame start time
2017-12-07 03:01:57 -05:00
Rachael Alexanderson
29d2d8b3f8
- changed ttl in particle_t from short to int32_t for longer lifespan.
2017-12-07 01:54:30 -05:00
alexey.lysiuk
5162e7162e
Fixed overbright screenshots with hardware gamma off
...
When render buffers are used to apply gamma/brightness/contrast screenshots should not use PNG gamma correction
2017-12-06 11:24:10 +02:00
Rachael Alexanderson
505c99b0a8
- fixed: doublize more internal structures, even if they still get converted to float later
2017-12-04 17:39:57 -05:00
Christoph Oelckers
6403f64a93
- use documents path to store reverbs.
2017-12-03 21:06:27 +01:00
Christoph Oelckers
4c799af293
Merge branch 'master' into reverbedit
2017-12-03 21:04:14 +01:00
Christoph Oelckers
a945418ba6
- added M_GetDocumentsPath function.
2017-12-03 21:03:44 +01:00
Christoph Oelckers
cea89ba3ae
- fix backslashes in MD3 skin names.
2017-12-03 20:03:33 +01:00
Christoph Oelckers
d5445d7953
- reverb editor complete except for localization and saving to a proper place.
2017-12-03 19:56:03 +01:00
Rachael Alexanderson
0fa74220c9
- fixed: doublize sky float, in order to make it more smooth
2017-12-03 12:39:24 -05:00
Christoph Oelckers
5e1100096e
- work on reverb save menu.
2017-12-03 17:04:10 +01:00
alexey.lysiuk
31b0fdc9fe
Fixed directory creation for POSIX targets
...
Warning was reported by GCC 7 only:
cmdlib.cpp:550:13: warning: ‘info.stat::st_mode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2017-12-03 14:57:35 +02:00
alexey.lysiuk
5f50d60eff
Restored handling of tmpfileplus() keep argument for POSIX targets
2017-12-03 14:57:35 +02:00
alexey.lysiuk
31d1018b9a
Fixed compilation warnings reported by GCC/Clang
...
b_game.cpp:537:27: warning: more '%' conversions than data arguments [-Wformat]
g_game.cpp:2982:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
2017-12-03 14:57:34 +02:00
alexey.lysiuk
f25c7ef2d5
Unified implementation of ’directory as resource file' for POSIX targets
2017-12-03 14:57:34 +02:00
Christoph Oelckers
bb2a6a4f7c
- fixed mouse handling of the reverb sliders.
2017-12-03 13:06:23 +01:00
Christoph Oelckers
7e45535669
Merge branch 'master' into reverbedit
2017-12-03 12:46:08 +01:00
alexey.lysiuk
8129afdd1f
Fixed compilation of non-Windows targets
...
These are quick hacks to be improved later
2017-12-03 10:11:54 +02:00
Magnus Norddahl
52be9895b7
- Disable softpoly models
2017-12-03 00:23:28 +01:00
Christoph Oelckers
cc54db6e6d
- let the 3 relevant text functions handle UTF-8 strings
...
These functions are: DCanvas::DrawTextCommon, V_BreakLines and FFont::StringWidth.
This will allow strings from UTF-8 encoded assets to display properly, but also handle the OpenAL device name on international systems, as this will be returned as an UTF-8 string.
Due to backwards compatibility needs the decoding function is rather lax to allow both UTF-8 and ISO 8859-1 to pass through correctly - and this also implies that it will allow mixed encodings which may happen if strings from different sources get concatenated.
2017-12-02 21:21:57 +01:00
Christoph Oelckers
7cbcbe66c0
- sanitization of temporary file stuff for Timidity++.
...
* do not use the global temp directory. Instead create one in the AppData folder.
* removed lots of unneeded code from tmpfileplus.
* use C++ strings in there.
2017-12-02 17:33:43 +01:00