Commit graph

16366 commits

Author SHA1 Message Date
nashmuhandes
199ac43841 Punctuated the input strings in UpperCamelCase format. 2019-01-24 04:07:00 -05:00
Nemrtvi
b3bc0dc838 Improved Strife’s BIGFONT file 2019-01-24 03:58:38 -05:00
Christoph Oelckers
af563b9212 - fixed the new thinker code. 2019-01-23 18:21:56 +01:00
Christoph Oelckers
63c47bf78b - refactored the thinker storage into the level data 2019-01-23 17:31:51 +01:00
Christoph Oelckers
2bcdf1e87c - fixed: ScriptUtil.PlayerAmmo must be declared static. 2019-01-23 17:31:37 +01:00
Christoph Oelckers
298becb724 - removed now unused BuildGammaTable function 2019-01-23 15:40:57 +01:00
Rachael Alexanderson
20c619d0a6 - 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 11:08:44 +01:00
Christoph Oelckers
61beaeb429 - swapped order of checks for picking up an item.
Failure must take precedence over the morph check because this does not return a proper toucher.
2019-01-23 00:14:27 +01:00
Christoph Oelckers
44b6d3800e - 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 00:05:53 +01:00
Rachael Alexanderson
8c4e4c7053 - force internal GME with any build environment created after this commit. if anyone is using a build environment from before - you will have to make sure to enable the relevant variable - or simply nuke and recreate. this applies only if you have the GME library installed on your system - if you were using the internal before, anyhow, you don't have to make any changes 2019-01-22 10:30:07 -05:00
alexey.lysiuk
16bcf58611 - updated LZMA to version 18.06
https://www.7-zip.org/a/lzma1806.7z
2019-01-22 11:37:23 +02:00
alexey.lysiuk
16c8c2381f - moved LZMA docs to the same location as in SDK distribution
Updated them to the actual version 18.05 as well
2019-01-22 11:36:26 +02:00
Christoph Oelckers
f55d28b602 - fixed armor bonus giving in A_CustomPunch 2019-01-22 00:36:15 +01:00
Christoph Oelckers
7588241b1b - removed incorrect assert.
This assert disallowed pointers to non GC'd objects, which on some occasions can happen and must be allowed.
2019-01-22 00:32:45 +01:00
Christoph Oelckers
a4ac6d7ae8 - fixed: The default level info's map name was not set.
The new map loading logic needs this initialized.
2019-01-22 00:01:39 +01:00
nashmuhandes
4eea540a30 Move the "time" string in saved game comment into the LANGUAGE lump. 2019-01-21 10:29:34 +02:00
alexey.lysiuk
d276d15f26 - fixed 'overriding core lump' error
Wrong container was reported for overriding lump
2019-01-20 15:58:57 +02:00
alexey.lysiuk
f32ca94e89 - fixed 'missing interpolation point' warning 2019-01-20 15:57:38 +02:00
alexey.lysiuk
bf51760480 - removed erroneous native keyword for LevelLocals.RemoveAllBots() 2019-01-20 15:56:58 +02:00
Christoph Oelckers
b96dd1f94e - substitute LevelLocals with Level in all member function calls.
This is to remap static calls to a few functions to use the current level if available and the deprecated global variable if not.
2019-01-20 13:00:39 +01:00
Christoph Oelckers
75acb70a8d - moved the shadow map from the renderer to the level.
It is definitely better to delete this when a new level is loaded and needs to exist multiple times anyway.
2019-01-20 10:29:38 +01:00
alexey.lysiuk
06cea1425f - fixed player traveling to the next level
Proper level pointer is assigned to player pawn and its inventory

https://forum.zdoom.org/viewtopic.php?t=63335
2019-01-20 11:08:15 +02:00
Rachael Alexanderson
731863da94 - modify the wording in the preset scaling menu to imply that all it does is pixel scaling, not change the actual screen resolution 2019-01-20 02:51:40 -05:00
Rachael Alexanderson
7b664ec210 - 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-20 02:45:35 -05:00
Christoph Oelckers
9b3b34c266 - fixed: G_WorldDone picked the wrong level to go to. 2019-01-20 08:35:27 +01:00
Christoph Oelckers
b038693960 - fixed: The rail attack only considered the puff's decal if it had ALWAYSPUFF set. 2019-01-20 08:35:27 +01:00
Rachael Alexanderson
fb00366d90 - add 4k UHD resolution to presets 2019-01-19 14:34:18 -05:00
Rachael Alexanderson
66f319491d - fix spacing on one of the resolution preset entries 2019-01-19 08:59:42 -05:00
alexey.lysiuk
df6669b32c - reverted GME Kss_Cpu.cpp to previous version
Update to GME 0.6.2 broke playback of MSX .kss files

https://forum.zdoom.org/viewtopic.php?t=63206
2019-01-19 14:02:04 +02:00
alexey.lysiuk
28611613da - 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-19 11:55:55 +02:00
Christoph Oelckers
651b412583 - fixed: particles used their subsector variables before it was set. 2019-01-19 10:51:47 +01:00
Christoph Oelckers
981a343589 - 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-19 10:30:06 +01:00
Christoph Oelckers
f23ff3c174 - 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-19 09:58:18 +01:00
Christoph Oelckers
1c75a409b6 - 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-18 19:50:28 +01:00
alexey.lysiuk
395d613912 - fixed crash in actor iterator
Level pointer should passed to FActorIterator contructor regardless of 'last look actor' because the latter can be null

https://forum.zdoom.org/viewtopic.php?t=63304
2019-01-18 12:23:33 +02:00
alexey.lysiuk
66d9ec00a7 - 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-18 12:07:13 +02:00
alexey.lysiuk
5e840a4e52 - workaround code generation issue in PlayerPawn.FindMostRecentWeapon()
Multiple values in returned from a subfunction cannot be used directly as a function result

https://forum.zdoom.org/viewtopic.php?t=63284
2019-01-18 11:50:26 +02:00
alexey.lysiuk
fc5420bf26 - fixed disappearing inventory after morphing pickup
When player is picked up item that does morph, the corresponding toucher actor is changed in process
Previously, morhing item was removed from original actor leaving player's inventory in inconsistent state

https://forum.zdoom.org/viewtopic.php?t=63124
2019-01-17 15:06:10 +02:00
Christoph Oelckers
3df112a7ba - allow assignment of line IDs through LevelCompatbility. 2019-01-17 01:41:42 +01:00
Christoph Oelckers
588d62be5c - fixed default alpha for sector colors
It has to be 0, not 255.
2019-01-17 01:05:09 +01:00
Christoph Oelckers
a92090690e - don't check for a map's freelook setting if there is no map.
Apparently on macOS, game events even get sent in the menu. This never happened on Windows…
2019-01-16 05:28:49 +01:00
Christoph Oelckers
49abe3678a - 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-16 05:27:48 +01:00
Christoph Oelckers
91c934ab7f - do not open the automap when no level is loaded 2019-01-16 05:05:01 +01:00
Christoph Oelckers
9616de5f8a - 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.
2019-01-16 05:04:47 +01:00
Christoph Oelckers
6f1491aa8d - mark the thinkers for collection, even if there is no level.
This is still WIP so for now needs a workaround.
2019-01-15 19:34:33 +01:00
Christoph Oelckers
a2965df5a9 - use the same level for all automap calls.
This reminds me: The automap really needs to be converted into a class and made independent of all those global variables...
2019-01-15 19:23:49 +01:00
Christoph Oelckers
3e34725966 - fixed: The default constructor for DThinker needs to set the OF_JustSpawned flag.
Without this, PostBeginPlay will not get called so several things aren't initialized, like weapon slots and other player settings.
2019-01-15 19:13:59 +01:00
alexey.lysiuk
c6866bad4d - 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-15 18:41:13 +01:00
alexey.lysiuk
295dd326da - fixed wrong self type in Array.Resize()
https://forum.zdoom.org/viewtopic.php?t=63275
2019-01-15 15:57:14 +02:00
alexey.lysiuk
3b3af1dfe4 - removed unreferenced local variable
src\dthinker.cpp(748): warning C4101: 'list': unreferenced local variable
2019-01-15 15:57:14 +02:00