alexey.lysiuk
78c0b7f230
- changed type of Nop expression to void
...
Control flow statements with constant condition no longer cause misleading fatal errors in ZScript
https://forum.zdoom.org/viewtopic.php?t=63566
2019-02-06 12:09:14 +02:00
alexey.lysiuk
69492b1e27
- fixed ambient sounds "leaking" into reverb environment
...
Set speed of sound to 343.3 and init scale to 1 according to @kcat suggestion
https://forum.zdoom.org/viewtopic.php?t=63185
https://forum.zdoom.org/viewtopic.php?t=63524
2019-02-05 13:13:52 +02:00
alexey.lysiuk
c026b991ae
- do not print initial player's log text on loading of saved game
2019-02-05 12:00:16 +02:00
alexey.lysiuk
7a46d6e9cd
- fixed output of localized player's log text to console
2019-02-05 11:56:20 +02:00
alexey.lysiuk
8892cb619d
- disabled usage of intrinsics on non-Intel platforms
2019-02-04 15:53:41 +02:00
alexey.lysiuk
2765159fc6
- disabled VM JIT completely on unsuported platforms
2019-02-04 15:53:35 +02:00
Christoph Oelckers
af9636b7c3
- fixed glitches with some poorly set up sector stack portals.
2019-02-04 13:08:30 +01:00
alexey.lysiuk
20f29ab808
- fixed erroneous removal of property flag members
...
https://forum.zdoom.org/viewtopic.php?t=63520
2019-02-03 12:33:06 +02:00
Christoph Oelckers
2fd1276d28
- fixed: Instead of mapping Hexen's BLANK texture to the null texture, make its actual use type that of a null texture.
...
The software renderer does not have any safeguards against such a mapping and crashes on it.
This code was a quick hack from ancient times from when ZDoom did not have robust texture management and some recent changes ran afoul of this very special exception.
2019-02-03 08:59:37 +01:00
Christoph Oelckers
2cff43ba90
- fixed: The HUD model code did not account for placeholder sprites.
2019-02-03 08:23:18 +01:00
Alexander
03a2b9dc2e
added am_showkeys_always
2019-02-02 17:54:00 +01:00
Christoph Oelckers
235c4c0499
- allow localization of Strife's log text.
2019-02-02 16:56:58 +01:00
Christoph Oelckers
64476cde7e
- fixed: Retriving a key's color did not work.
2019-02-02 16:52:28 +01:00
Nemrtvi
fa53ae21e6
Localized “FIND HELP” in Strife
...
The very first quest log that appears in Strife, “FIND HELP”, is located in a source file. This moves it to the language files.
2019-02-02 10:57:14 +01:00
alexey.lysiuk
5e9001e7bc
- fixed potentially incomplete list of argument flags for virtual function
...
https://forum.zdoom.org/viewtopic.php?t=63450
2019-02-01 17:58:06 +01:00
Major Cooke
b1c508fa6c
Added CheckReplacee.
...
- Allows defining of what actor is replacing another for information.
- If multiple arachnotrons, a modder can attribute them as being a replacer of Arachnotron itself, allowing A_BossDeath and GetReplacee to work with it.
2019-01-31 19:05:44 +01:00
Christoph Oelckers
7b7334e245
- only activate lights if the light actor isn't dormant, and only create a new one if it doesn't already have one.
...
-
2019-01-31 09:01:02 +01:00
Christoph Oelckers
a2065cae4b
- fixed: RecreateAllAttachedLights must activate the lights it creates.
...
This also removes the gl_attachedlights CVAR because with the new management this doesn't really work anymore.
2019-01-30 20:21:00 +01:00
alexey.lysiuk
95679c36b2
- added virtual destructor to FDelayedCommand
...
src/c_dispatch.cpp:143:5: warning: delete called on 'FDelayedCommand' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
src/tarray.h:582:5: warning: delete called on 'FDelayedCommand' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
src/tarray.h:574:5: warning: delete called on 'FDelayedCommand' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
2019-01-27 17:38:10 +02:00
Christoph Oelckers
9bb4ea34e7
- fixed: When A_SpawnProjectile got fixed, this fix broke the old A_CustomMissile function because the added workaround was overlooked.
...
This now separates the code more clearly into the twp paths to make the differences easier to see and compare.
2019-01-27 14:00:23 +01:00
Christoph Oelckers
39f53a4de0
- took the delayed console command execution out of the thinker management.
...
Doing this intermingled with the thinkers is highly unsafe because there are absolutely no guarantees about order of execution.
Effectively it ran these commands right in the middle of the playsim which could cause all sorts of synchronization issues, because CCMDs are part of the UI, not the playsim.
- pass a const string to AddCommandString.
This function manipulated the input buffer, leading to all sorts of code contortions to make sure that the passed parameter is clean for that.
This function will now create a copy of the passed parameter which it can manipulate without complicating its calling code.
# Conflicts:
# src/c_dispatch.cpp
2019-01-27 10:24:49 +01:00
Rachael Alexanderson
2f84de9c37
- fixed indentations caused by conflict resolution in cherry-picked commit d911fa99a1
2019-01-25 13:02:30 -05:00
nashmuhandes
06e7ca4170
Missed "Abnt_C2" in the keybind name array.
2019-01-25 03:51:39 -05:00
Rachael Alexanderson
1407d0a7c5
- add 'cl_blockcheats' - useful for people who use debugging keys, allows a user to consciously turn off cheats without affecting the server
2019-01-24 22:09:09 -05:00
Christoph Oelckers
b2ee99c7cc
- call level compatibility handlers for all levels and pass the map name as a second parameter.
...
This is for user-made handlers for which the checksum is rather useless both for deciding whether to call the handler and for identifying the map.
2019-01-25 00:56:15 +01:00
nashmuhandes
68f0cf111d
Punctuated the input strings in UpperCamelCase format.
2019-01-24 04:07:34 -05:00
Christoph Oelckers
83d464d1be
- fixed code emission for constant ZScript function arguments
2019-01-23 22:37:16 +01:00
Christoph Oelckers
77cbd0c238
- copied the changes to DFlashFader in master.
2019-01-23 22:35:48 +01:00
Christoph Oelckers
a78daa8937
- fixed flicker light selection of light radius.
2019-01-23 22:31:22 +01:00
Christoph Oelckers
d60707c71e
- added the fix for BuiltinNew which I missed when cherry-picking.
2019-01-23 22:02:13 +01:00
Christoph Oelckers
ceb38751f0
- fixed some merging issues.
2019-01-23 22:01:37 +01:00
Christoph Oelckers
3f835cd124
- removed now unused BuildGammaTable function
2019-01-23 21:50:11 +01:00
Rachael Alexanderson
dc27011370
- remove vid_hwgamma, force always use shader gamma
...
*** note to drfrag: Please don't cherry-pick this commit. Systems that do not use renderbuffers will still need this feature!
2019-01-23 21:50:11 +01:00
Christoph Oelckers
12c10b5156
- fixed Identifier resolving for static functions
...
This entered the code path which warned about ambiguous use of variables in action functions and as a result ran afoul of subsequent error checks.
Since ZScript has no global scope resolution operator, this needs to ignore all non-static class symbols and try to look up any of these as global identifiers.
2019-01-23 21:50:10 +01:00
Christoph Oelckers
5a054da4d9
- removed incorrect assert.
...
This assert disallowed pointers to non GC'd objects, which on some occasions can happen and must be allowed.
2019-01-23 21:48:59 +01:00
nashmuhandes
d911fa99a1
Move the "time" string in saved game comment into the LANGUAGE lump.
...
# Conflicts:
# src/g_game.cpp
2019-01-23 21:48:30 +01:00
alexey.lysiuk
0dbd591812
- fixed 'overriding core lump' error
...
Wrong container was reported for overriding lump
2019-01-23 21:47:19 +01:00
Rachael Alexanderson
45d94ee993
- set resolution selector to auto detected resolution at startup, remove the entries from the config file
...
- committing a change for fullscreen sets scaling to 1.0 to guarantee the selected number of pixels are actually used
2019-01-23 21:45:09 +01:00
Christoph Oelckers
057b746e58
- fixed: The rail attack only considered the puff's decal if it had ALWAYSPUFF set.
2019-01-23 21:44:39 +01:00
alexey.lysiuk
4c3192fb28
- applied proper use type to font textures
...
Font upscaling no longer depends on texture resizing setting
https://forum.zdoom.org/viewtopic.php?t=63184
2019-01-23 21:43:06 +01:00
Christoph Oelckers
33f8b697ce
- fixed: application of fake contrast should never result in a light level of 0 unless the sector's own light level is 0.
2019-01-23 21:42:26 +01:00
Christoph Oelckers
f61150a75e
- fixed: TVector3::Pitch() got the sign inverted.
...
This caused bad calculations with CMF_OFFSETPITCH. Note that to compensate for the fix, the SphericalCoords function had to have its own inversion of the value removed so that it calculates the same result as before.
2019-01-23 21:42:09 +01:00
Christoph Oelckers
7d3c577c2c
- normalize the pitch in ACS's SetActorPitch.
...
Apparently some people have to pass positive numbers in here to get a negative pitch, e.g. 350.0 instead of -10.0...
This prevents clamping of such out-of-range values that would otherwise constitute valid pitches with the wraparound in place.
2019-01-23 21:41:52 +01:00
alexey.lysiuk
e8f45fad40
- workaround MSVC 2015 code generation issue, x64 only
...
With optimization turned on illegal instructions were generated for turbo CVAR handler function
https://forum.zdoom.org/viewtopic.php?t=63157
2019-01-23 21:41:20 +01:00
Christoph Oelckers
5e4ef04a4d
- allow assignment of line IDs through LevelCompatbility.
2019-01-23 21:40:19 +01:00
Christoph Oelckers
dd2ea206f9
- fixed default alpha for sector colors
...
It has to be 0, not 255.
# Conflicts:
# src/p_lnspec.cpp
2019-01-23 21:39:55 +01:00
Christoph Oelckers
f22121a9df
- recalculate the line deltas if a nodebuild is needed
...
One potential cause is moving around vertices in which case these do not match anymore
2019-01-23 21:38:48 +01:00
Christoph Oelckers
8872125f96
- fixed some merging issues.
2019-01-23 21:37:51 +01:00
Christoph Oelckers
7966282c1c
- Fixed error reporting for the BSP loader
...
Using global variables for this is bad, and it didn't even catch all cases. Now a node build is only considered successful if everything is set up successfully.
# Conflicts:
# src/maploader/maploader.cpp
2019-01-23 21:34:57 +01:00
alexey.lysiuk
cd9fa75ede
- fixed potentially missing event handlers
...
Event handlers linked list might skip an entry if its order was in a middle of existing handlers
https://forum.zdoom.org/viewtopic.php?t=63258
2019-01-23 21:34:11 +01:00