Latest Raze Changes
Latest 50 commits, skipping 7650
Unofficial development builds at DRD Team
30-Jan-2019 (Wednesday) at 18:29:25 PST by Christoph Oelckers
- removed the playernum parameter from CheckLocalView
This was always used with 'consoleplayer' which really is the only thing making sense here. But this is a part of the global state which should be avoided in play code.
In particular, this makes no real sense in case of secondary maps where it should always return false.
30-Jan-2019 (Wednesday) at 18:25:49 PST by Christoph Oelckers
- added missing includes
30-Jan-2019 (Wednesday) at 18:25:26 PST by Christoph Oelckers
- fixed: DInterpolation was unlinking itself from the wrong interpolator
The global one was just a leftover, the real one is on the current level.
30-Jan-2019 (Wednesday) at 18:03:56 PST by Christoph Oelckers
- copied a few more map information CCMDs to g_ccmd.
30-Jan-2019 (Wednesday) at 17:51:07 PST by Christoph Oelckers
- moved the remaining thinker code to g_shared
30-Jan-2019 (Wednesday) at 17:50:12 PST by Christoph Oelckers
- prettification of a few files
30-Jan-2019 (Wednesday) at 17:38:39 PST by Christoph Oelckers
- moved the door thinkers into g_shared.
30-Jan-2019 (Wednesday) at 17:38:23 PST by Christoph Oelckers
- fixed g_dumpinfo.cpp's includes
30-Jan-2019 (Wednesday) at 17:31:57 PST by Christoph Oelckers
- moved the hud message and alt hud code from g_shared to g_statusbar
This is where it really belongs, this was simply overlooked when the folder was split.
30-Jan-2019 (Wednesday) at 17:27:54 PST by Christoph Oelckers
- reviewed and sorted out the remaining parts of g_shared
30-Jan-2019 (Wednesday) at 17:05:33 PST by Christoph Oelckers
- fixed macOS compilation.
30-Jan-2019 (Wednesday) at 17:05:16 PST by Christoph Oelckers
- started cleaning up the contents of the g_shared directory, starting with a_dynlight.cpp
This is supposed to be come the place where all pure play code should be placed, but for that all CVARs and CCMDs and other things that do not directly handle play data should be taken out to make code reviewing easier. These now get collected in two separate files, g_cvars.cpp and g_dumpinfo.cpp respectively. The sole ZScript property in here has also been moved - to thingdef_properties.cpp.
30-Jan-2019 (Wednesday) at 16:23:06 PST by Christoph Oelckers
- cleaned up the header list in maploader.cpp.
30-Jan-2019 (Wednesday) at 15:28:43 PST by Christoph Oelckers
- moved gamestate_t to g_game.h.
This made reviewing the code for accessing the global state hard, because the doomdef.h contains mainly constants, this particular item was the only thing in there that represents actual engine state.
30-Jan-2019 (Wednesday) at 13:34:11 PST by Christoph Oelckers
- replaced DWORD_MAX with UINT_MAX globally.
This was the last remnant of ZDoom's old integer types.
30-Jan-2019 (Wednesday) at 13:03:21 PST by Christoph Oelckers
Merge branch 'master' into new_level_refactor30-Jan-2019 (Wednesday) at 11:21:00 PST by Christoph Oelckers
- 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.
30-Jan-2019 (Wednesday) at 10:09:21 PST by Christoph Oelckers
- moved thinker storage into FLevelLocals.
30-Jan-2019 (Wednesday) at 09:22:37 PST by Christoph Oelckers
- fixed bad merge of dobjgc.cpp
29-Jan-2019 (Tuesday) at 17:15:48 PST by Christoph Oelckers
- refactored the thinker list.
This was an unorganized set of static members in DThinker but has now been regrouped into something more structured.
29-Jan-2019 (Tuesday) at 16:38:18 PST by Christoph Oelckers
- moved bglobal into FLevelLocals
This is still all static data, only the location has changed, but none of the access.
29-Jan-2019 (Tuesday) at 16:15:32 PST by Christoph Oelckers
- redirect most references to the global players array through FLevelLocals.
The Map loader may not access any global state at all - everything it can touch must be exchangable. Furthermore, if we want to sandbox each level, there may be no direct access to any kind of global state whatsoever from the play code.
29-Jan-2019 (Tuesday) at 16:04:30 PST by Christoph Oelckers
-fixed: The HUD model info was taken from the wrong player
It used the current console player's camera, not the actual camera being used for rendering. Although this is the same most of the time, let's better do it right.
This also removes a few leftover references to the player array elsewhwere in the hardware renderer
29-Jan-2019 (Tuesday) at 15:58:44 PST by Christoph Oelckers
- fixed the remaining deprecation warnings in the base script.
All these required access to the sector's Level reference. The remaining references to the global 'level' variable are all in deprecated functions which is ok.
29-Jan-2019 (Tuesday) at 15:47:34 PST by Christoph Oelckers
- run disconnect scripts on the level the disconnected player is on
This is nearly always the primary one but let's keep the option of using bots on secondary levels.
29-Jan-2019 (Tuesday) at 15:37:29 PST by Christoph Oelckers
- moved UDMF custom properties into FLevelLocals.
29-Jan-2019 (Tuesday) at 15:29:42 PST by Christoph Oelckers
- missed two lines.
29-Jan-2019 (Tuesday) at 15:27:05 PST by Christoph Oelckers
- replaced all TThinkerIterators except one that probably won't be relevant anymore as things progress.
29-Jan-2019 (Tuesday) at 14:45:14 PST by Christoph Oelckers
- moved G_ChangeLevel and other exit functions into FLevelLocals.
09-Jan-2019 (Wednesday) at 17:00:58 PST by Christoph Oelckers
- moved the SectorMarker handling into the level itself.
29-Jan-2019 (Tuesday) at 12:19:16 PST by Christoph Oelckers
- split G_DoLoadLevel into a level specific and a global part.
29-Jan-2019 (Tuesday) at 11:23:18 PST by Christoph Oelckers
- made dumpportals CCMD multi-level aware.
29-Jan-2019 (Tuesday) at 11:15:06 PST by Christoph Oelckers
- removed a few missed references in FLevelLocals's member functions.
29-Jan-2019 (Tuesday) at 11:09:06 PST by Christoph Oelckers
- change per-level attenuation of dynamic lights for each viewpoint.
To avoid unnecessary work, the current state is tracked.
29-Jan-2019 (Tuesday) at 10:28:22 PST by Christoph Oelckers
- moved the combined compatibility flags into FLevelLocals.
29-Jan-2019 (Tuesday) at 08:41:22 PST by Christoph Oelckers
- compatibility variable handling
29-Jan-2019 (Tuesday) at 07:11:23 PST by Christoph Oelckers
- StartTravel and EndTravel
29-Jan-2019 (Tuesday) at 07:06:17 PST by Christoph Oelckers
- health groups and software rendering textures freed of 'level'
Edited cherry-pick of an older commit.
29-Jan-2019 (Tuesday) at 06:22:26 PST by Christoph Oelckers
- missed a few references
28-Jan-2019 (Monday) at 19:44:44 PST by Christoph Oelckers
- moved the static sky variables into FLevelLocals and removed the redundant ones for the texture ID.
28-Jan-2019 (Monday) at 19:27:21 PST by Christoph Oelckers
- Handle level in bot code
28-Jan-2019 (Monday) at 19:20:36 PST by Christoph Oelckers
- missed references in p_effect.cpp
28-Jan-2019 (Monday) at 19:17:58 PST by Christoph Oelckers
- handle G_StartSlideshow
28-Jan-2019 (Monday) at 18:26:22 PST by Christoph Oelckers
Handle level in block iterators.
The scripted interface isn't done yet.
28-Jan-2019 (Monday) at 18:15:42 PST by Christoph Oelckers
- handle the software renderer's GetColorTable function
The real question here should be: Why does this need to get called in over 40 differenrt locations…?
28-Jan-2019 (Monday) at 17:51:06 PST by Christoph Oelckers
Handle level check in texture coordinate calculation
28-Jan-2019 (Monday) at 17:18:19 PST by Christoph Oelckers
- changed all model related references to level.
28-Jan-2019 (Monday) at 17:17:25 PST by Christoph Oelckers
- fixed missing declaration
28-Jan-2019 (Monday) at 17:16:36 PST by Christoph Oelckers
- fixed some warnings
28-Jan-2019 (Monday) at 17:39:14 PST by Christoph Oelckers
Split G_DoCompleted into a global part and a level specific part.