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
Christoph Oelckers
703cb9cf4e
- changed global thinker storage into a struct instead of some static variables inside DThinker.
...
As it is now it can handle multiple thinker collections for different levels, but right now there's still only one global list for everything.
2019-01-14 18:50:39 +01:00
Christoph Oelckers
dd5addd6ad
- fixed crash in the precaching code.
...
This didn't detect software canvas textures and crashed on the missing image.
2019-01-14 00:10:08 +01:00
alexey.lysiuk
bd964d43fc
- fixed inverted blend in flash fader
...
Adventure of Square and Doom 64: Retribution are good test cases for this issue
2019-01-13 16:23:19 +02:00
Christoph Oelckers
2200e68794
- removed the level assignment in ChangeStatNum.
...
This would just overwrite what got set before
2019-01-13 13:57:52 +01:00
alexey.lysiuk
c2a78bbd21
- fixed another crash with stored commands on startup
...
Example: +map CCMD in command line options
2019-01-13 14:50:39 +02:00
alexey.lysiuk
b07ff3f504
- fixed return value of Actor.isFrozen()
...
https://forum.zdoom.org/viewtopic.php?t=63255
2019-01-13 14:46:35 +02:00
Christoph Oelckers
acb71de53c
- removed bSerialOverride.
...
Now that thinker linking is no longer part of the constructor, this hack is no longer needed.
2019-01-13 13:43:43 +01:00
Christoph Oelckers
1a633701b3
Merge branch 'master' of https://github.com/coelckers/gzdoom
2019-01-13 13:40:29 +01:00
Christoph Oelckers
7b61965197
Merge branch 'master' of https://github.com/coelckers/gzdoom
...
# Conflicts:
# src/dthinker.cpp
2019-01-13 13:40:13 +01:00
alexey.lysiuk
1687bd3ef3
- fixed incorrect prologue macro for Actor.isFrozen()
2019-01-13 14:39:44 +02:00
Christoph Oelckers
42b57c995a
- rework of thinker creation so that it can get the level from the passed parameters.
...
Internally it is still one global list of thinkers, this only changes the creation code.
2019-01-13 13:39:14 +01:00
alexey.lysiuk
d3eb983dd3
- fixed loading of saved game
...
Wrong FName constructor was picked for name of map snapshot, it was not restored because of that
2019-01-13 12:24:17 +02:00