Latest Raze Changes

Latest 50 commits, skipping 7650

Unofficial development builds at DRD Team

Newer commits | Older commits

30-Jan-2019 (Wednesday) at 18:29:25 PST by Christoph Oelckers
Commit ddab2c3e78
Parents: 7149d1d312

  • 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
Commit 7149d1d312
Parents: 0a781b9bbb

  • added missing includes

30-Jan-2019 (Wednesday) at 18:25:26 PST by Christoph Oelckers
Commit 0a781b9bbb
Parents: 65f3fec283

  • 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
Commit 65f3fec283
Parents: aa340145ac

  • copied a few more map information CCMDs to g_ccmd.

30-Jan-2019 (Wednesday) at 17:51:07 PST by Christoph Oelckers
Commit aa340145ac
Parents: 4984bc8c5f

  • moved the remaining thinker code to g_shared

30-Jan-2019 (Wednesday) at 17:50:12 PST by Christoph Oelckers
Commit 4984bc8c5f
Parents: 65a812e316

  • prettification of a few files

30-Jan-2019 (Wednesday) at 17:38:39 PST by Christoph Oelckers
Commit 65a812e316
Parents: 77f8dfeabf

  • moved the door thinkers into g_shared.

30-Jan-2019 (Wednesday) at 17:38:23 PST by Christoph Oelckers
Commit 77f8dfeabf
Parents: 51581d018a

  • fixed g_dumpinfo.cpp's includes

30-Jan-2019 (Wednesday) at 17:31:57 PST by Christoph Oelckers
Commit 51581d018a
Parents: 25d5b788f5

  • 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
Commit 25d5b788f5
Parents: 0b4862480e

  • reviewed and sorted out the remaining parts of g_shared

30-Jan-2019 (Wednesday) at 17:05:33 PST by Christoph Oelckers
Commit 0b4862480e
Parents: 0f2938089d

  • fixed macOS compilation.

30-Jan-2019 (Wednesday) at 17:05:16 PST by Christoph Oelckers
Commit 0f2938089d
Parents: 18b8a03f05

  • 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
Commit 18b8a03f05
Parents: fa3312e2a9

  • cleaned up the header list in maploader.cpp.

30-Jan-2019 (Wednesday) at 15:28:43 PST by Christoph Oelckers
Commit fa3312e2a9
Parents: c18a0e7736

  • 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
Commit c18a0e7736
Parents: 0eb3b2abca

  • 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_refactor

30-Jan-2019 (Wednesday) at 11:21:00 PST by Christoph Oelckers
Commit a2065cae4b
Parents: 95679c36b2

  • 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
Commit 64ac6dbc6e
Parents: 99d63faea9

  • moved thinker storage into FLevelLocals.

30-Jan-2019 (Wednesday) at 09:22:37 PST by Christoph Oelckers
Commit 99d63faea9
Parents: 3b4ded5694

  • fixed bad merge of dobjgc.cpp

29-Jan-2019 (Tuesday) at 17:15:48 PST by Christoph Oelckers
Commit 3b4ded5694
Parents: e30f116faf

  • 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
Commit e30f116faf
Parents: 8bbdee5c28

  • 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
Commit 8bbdee5c28
Parents: c15212ca82

  • 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
Commit c15212ca82
Parents: b12de04258

-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
Commit b12de04258
Parents: 3c0200de19

  • 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
Commit 3c0200de19
Parents: ebdb2643c4

  • 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
Commit ebdb2643c4
Parents: f410762695

  • moved UDMF custom properties into FLevelLocals.

29-Jan-2019 (Tuesday) at 15:29:42 PST by Christoph Oelckers
Commit f410762695
Parents: 78b7b64237

  • missed two lines.

29-Jan-2019 (Tuesday) at 15:27:05 PST by Christoph Oelckers
Commit 78b7b64237
Parents: 4ad327d7e0

  • 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
Commit 4ad327d7e0
Parents: 68fe5534a4

  • moved G_ChangeLevel and other exit functions into FLevelLocals.

09-Jan-2019 (Wednesday) at 17:00:58 PST by Christoph Oelckers
Commit 68fe5534a4
Parents: ea849e5aca

  • moved the SectorMarker handling into the level itself.

29-Jan-2019 (Tuesday) at 12:19:16 PST by Christoph Oelckers
Commit ea849e5aca
Parents: 12351ae9bb

  • split G_DoLoadLevel into a level specific and a global part.

29-Jan-2019 (Tuesday) at 11:23:18 PST by Christoph Oelckers
Commit 12351ae9bb
Parents: 1b37d85ac3

  • made dumpportals CCMD multi-level aware.

29-Jan-2019 (Tuesday) at 11:15:06 PST by Christoph Oelckers
Commit 1b37d85ac3
Parents: 4af5ea25c1

  • removed a few missed references in FLevelLocals's member functions.

29-Jan-2019 (Tuesday) at 11:09:06 PST by Christoph Oelckers
Commit 4af5ea25c1
Parents: 6451b7d592

  • 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
Commit 6451b7d592
Parents: d716a17b96

  • moved the combined compatibility flags into FLevelLocals.

29-Jan-2019 (Tuesday) at 08:41:22 PST by Christoph Oelckers
Commit d716a17b96
Parents: 4cb3ce8196

  • compatibility variable handling

29-Jan-2019 (Tuesday) at 07:11:23 PST by Christoph Oelckers
Commit 4cb3ce8196
Parents: 14101fa447

  • StartTravel and EndTravel

29-Jan-2019 (Tuesday) at 07:06:17 PST by Christoph Oelckers
Commit 14101fa447
Parents: eb5a39960e

  • 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
Commit eb5a39960e
Parents: 3c565c9e86

  • missed a few references

28-Jan-2019 (Monday) at 19:44:44 PST by Christoph Oelckers
Commit 3c565c9e86
Parents: 06e5dd1d86

  • 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
Commit 06e5dd1d86
Parents: 14971c8c3a

  • Handle level in bot code

28-Jan-2019 (Monday) at 19:20:36 PST by Christoph Oelckers
Commit 14971c8c3a
Parents: d4ee52f606

  • missed references in p_effect.cpp

28-Jan-2019 (Monday) at 19:17:58 PST by Christoph Oelckers
Commit d4ee52f606
Parents: de1b89707d

  • handle G_StartSlideshow

28-Jan-2019 (Monday) at 18:26:22 PST by Christoph Oelckers
Commit de1b89707d
Parents: 7d3cd53c7e

Handle level in block iterators.

The scripted interface isn't done yet.

28-Jan-2019 (Monday) at 18:15:42 PST by Christoph Oelckers
Commit 7d3cd53c7e
Parents: f823e57446

  • 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
Commit f823e57446
Parents: 473892dede

Handle level check in texture coordinate calculation

28-Jan-2019 (Monday) at 17:18:19 PST by Christoph Oelckers
Commit 473892dede
Parents: 8652f140f2

  • changed all model related references to level.

28-Jan-2019 (Monday) at 17:17:25 PST by Christoph Oelckers
Commit 8652f140f2
Parents: 932bbee928

  • fixed missing declaration

28-Jan-2019 (Monday) at 17:16:36 PST by Christoph Oelckers
Commit 932bbee928
Parents: 1d748b72a8

  • fixed some warnings

28-Jan-2019 (Monday) at 17:39:14 PST by Christoph Oelckers
Commit 1d748b72a8
Parents: 87859b2950

Split G_DoCompleted into a global part and a level specific part.

Newer commits | Older commits