Latest Raze Changes

Latest 50 commits, skipping 7700

Unofficial development builds at DRD Team

Newer commits | Older commits

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.

28-Jan-2019 (Monday) at 17:08:53 PST by Christoph Oelckers
Commit 87859b2950
Parents: f9239f6e0f

  • add Level parameter to G_LeavingHub

28-Jan-2019 (Monday) at 17:04:31 PST by Christoph Oelckers
Commit f9239f6e0f
Parents: 60873bc5d6

  • added a compiler-side workaround for the formerly static methods of FLevelLocals.

LevelLocals on the left side of.a function call will now always be remapped to 'Level', which will either remap to the same-named instance variable or the global deprecated one.

In a few degenerate cases where there is a conflicting local variable named 'level' it may error out but that is unavoidable here but this is very unlikely.

28-Jan-2019 (Monday) at 16:30:41 PST by Christoph Oelckers
Commit 60873bc5d6
Parents: 68667e5eaa

Moved the PointInSector functions into FLevelLocals

28-Jan-2019 (Monday) at 16:09:02 PST by Christoph Oelckers
Commit 68667e5eaa
Parents: 50d59e99cb

  • moved particle storage into FLevelLocals.
  • moved parts of the render setup out of the separate render functions.

Things like particle and polyobject linking were duplicated several times for rendering different things in different renderers. These things only need to be set up once before the renderer is started so it makes a lot more sense to consolidate them into one place outside the actual rendering code.

28-Jan-2019 (Monday) at 14:53:40 PST by Christoph Oelckers
Commit 50d59e99cb
Parents: 623330f938

  • moved sound sequence head of list into FLevelLocals.

28-Jan-2019 (Monday) at 13:33:50 PST by Christoph Oelckers
Commit 623330f938
Parents: befacddab4

  • initial adjustments for P_Ticker.

28-Jan-2019 (Monday) at 13:19:09 PST by Christoph Oelckers
Commit befacddab4
Parents: 6312c44234

  • removed level references in p_trace.cpp. Also added a null check to the sector pointer of the LineTracer Trace function because a null pointer here would crash.

28-Jan-2019 (Monday) at 13:04:33 PST by Christoph Oelckers
Commit 6312c44234
Parents: 259ae41774

  • removed the remaining level references from p_acs.cpp.

28-Jan-2019 (Monday) at 11:15:48 PST by Christoph Oelckers
Commit 259ae41774
Parents: 3721771934

  • sanitized the 'frozen level' code.

This had two different flags that were checked totally inconsistently, and one was not even saved. Moved everything into a few subfunctions so that these checks do not have to be scattered all over the code.

28-Jan-2019 (Monday) at 09:44:42 PST by Christoph Oelckers
Commit 3721771934
Parents: 3c14a7db76

  • forgot to save this.

28-Jan-2019 (Monday) at 09:42:56 PST by Christoph Oelckers
Commit 3c14a7db76
Parents: 3364988680

  • use map time, not hub time for map actions.

28-Jan-2019 (Monday) at 09:26:14 PST by Christoph Oelckers
Commit 3364988680
Parents: 6a43d6c7ff

  • moved the interpolator into FLevelLocals and refactored its use to happen outside the renderers.

There is no need to do this deep inside the renderer where it required code duplication and made it problematic to execute on multiple levels. This is now being done before and after the top level call into the renderer in d_main.cpp. This also serializes the interpolator itself to avoid problems with the Serialize functions adding the interpolations into the list which can only work with a single global instance.

28-Jan-2019 (Monday) at 06:50:42 PST by Christoph Oelckers

Merge remote-tracking branch 'origin/master' into new_level_refactor

28-Jan-2019 (Monday) at 06:41:52 PST by Christoph Oelckers
Commit 44f622c644
Parents: d1ca3ef994

  • more XCode warnings fixed.

28-Jan-2019 (Monday) at 06:20:02 PST by Christoph Oelckers
Commit d1ca3ef994
Parents: 1dc11c5032

  • added braces as per XCode's suggestion.

28-Jan-2019 (Monday) at 05:31:23 PST by Christoph Oelckers
Commit 1dc11c5032
Parents: d0942bcb97

  • changed infighting check so that the static skill checker does not access the level

Instead the level needs to be queried now.

28-Jan-2019 (Monday) at 05:06:19 PST by Christoph Oelckers
Commit d0942bcb97
Parents: 41e576bbb5

  • moved FirstThinker function to FLevelLocals

Currently it is meaningless but that's where it should be later.

27-Jan-2019 (Sunday) at 18:02:25 PST by Christoph Oelckers
Commit 41e576bbb5
Parents: 66695ac6a0

  • removed the intermediate P_SpawnPlayer inline

27-Jan-2019 (Sunday) at 17:44:05 PST by Christoph Oelckers
Commit 66695ac6a0
Parents: 0ef0698d24

  • made most of the player spawn spot handliing functions members of FLevelLocals.

27-Jan-2019 (Sunday) at 17:43:39 PST by Christoph Oelckers
Commit 0ef0698d24
Parents: d941dea005

  • use the proper level for setting up a hardware rendered scene.

The shader timer may be taken from the primary level for the entire scene, because it will always be the same for all levels in a set. The camera textures need to be prepared for all levels.

27-Jan-2019 (Sunday) at 17:41:29 PST by Christoph Oelckers
Commit d941dea005
Parents: 64e9f7e43b

  • added a level iterator for operations that need to make changes to all open levels.

Since currently there is only one level, this will obvciously only run once on that level for the time being.

This is mainly used for CCMDs and CVARs which either print some diagnostics or change some user-settable configuration.

27-Jan-2019 (Sunday) at 17:08:49 PST by Christoph Oelckers
Commit 64e9f7e43b
Parents: aee8851643

  • changemap must use the current UI level if the user wants to go to "*".

27-Jan-2019 (Sunday) at 17:07:46 PST by Christoph Oelckers
Commit aee8851643
Parents: 472a1118dd

  • fixed all the missed level references in the decal thinkers.

27-Jan-2019 (Sunday) at 16:37:21 PST by Christoph Oelckers
Commit 472a1118dd
Parents: 7211c1db0f

  • had to move the tag manager. This somehow got skipped by the last commit.

27-Jan-2019 (Sunday) at 16:33:52 PST by Christoph Oelckers
Commit 7211c1db0f
Parents: a7746278a8

  • give the tag manager a reference to the level.

This is needed for the compatibility search of the sector tag iterator which linearly searches the sector array.

27-Jan-2019 (Sunday) at 16:25:52 PST by Christoph Oelckers
Commit a7746278a8
Parents: 648e472744

  • a few remaining simple ones

This also removes a few pointless comments that popped up and consolidates setting a level's music into a subfuntion.

27-Jan-2019 (Sunday) at 15:55:21 PST by Christoph Oelckers
Commit 648e472744
Parents: b4acb857ad

  • handled approx. half of all cases where the address of level is taken.

27-Jan-2019 (Sunday) at 12:59:19 PST by Christoph Oelckers
Commit b4acb857ad
Parents: 11c453a71f

  • the final batch of easy level replacements.

What's left will require a bit more work...

27-Jan-2019 (Sunday) at 12:03:25 PST by Christoph Oelckers
Commit 11c453a71f
Parents: 4d98c10ea3

  • fix handling of the global script in FraggleScript.

Depending on serialization order is not a good idea here, so now it's no longer stored as a parent in the main level script but explicitly checked for when looking for a variable.

27-Jan-2019 (Sunday) at 10:32:38 PST by Christoph Oelckers
Commit 4d98c10ea3
Parents: b4a95ccaa9

  • let the sound code use the current UI level.

This is what should be audible. To prevent other levels from playing sound, all entry points check whether the sound playing entity belongs to the current UI level.

27-Jan-2019 (Sunday) at 10:16:14 PST by Christoph Oelckers
Commit b4a95ccaa9
Parents: 06ba8c4c00

  • roughly 50 more, mostly search and replace.

27-Jan-2019 (Sunday) at 08:35:50 PST by Christoph Oelckers
Commit 06ba8c4c00
Parents: 8c542e9be8

  • 50 more simple replacements of 'level'

27-Jan-2019 (Sunday) at 08:21:36 PST by Christoph Oelckers
Commit 8c542e9be8
Parents: 4f540c1703

  • removed level references in the software renderers.

27-Jan-2019 (Sunday) at 08:12:03 PST by Christoph Oelckers
Commit 4f540c1703
Parents: 522cc855ad

  • give the sector a level reference.

27-Jan-2019 (Sunday) at 07:59:50 PST by Christoph Oelckers
Commit 522cc855ad
Parents: ae544fa21f

  • a few more.

27-Jan-2019 (Sunday) at 07:38:10 PST by alexey.lysiuk
Commit 95679c36b2
Parents: 9bb4ea34e7

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

27-Jan-2019 (Sunday) at 07:15:32 PST by Christoph Oelckers
Commit ae544fa21f
Parents: c8cd11422a

  • removed a few direct uses of TThinkerIterator.

27-Jan-2019 (Sunday) at 07:09:05 PST by Christoph Oelckers
Commit c8cd11422a
Parents: 73696e2781

  • translate UMAPINFO specials at execution time, not load time.

At load time the context for translation does not exist.

27-Jan-2019 (Sunday) at 07:08:22 PST by Christoph Oelckers
Commit 73696e2781
Parents: c94f0f47a2

  • handled most level references in actorinlines.h and p_mobj.cpp.

27-Jan-2019 (Sunday) at 06:02:37 PST by Christoph Oelckers
Commit c94f0f47a2
Parents: 5aa379e50e

  • removed all remaining references to level and TThinkerIterator from p_floor.cpp, p_lights.cpp, p_pusher.cpp and p_scroll.cpp.

27-Jan-2019 (Sunday) at 05:53:08 PST by Christoph Oelckers
Commit 5aa379e50e
Parents: 2ed2202caa

  • removed all remaining references to level and TThinkerIterator from p_enemy.cpp.

27-Jan-2019 (Sunday) at 05:49:51 PST by Christoph Oelckers
Commit 2ed2202caa
Parents: 73ea59179c

  • removed all remaining references to level and TThinkerIterator from p_enemy.cpp.

27-Jan-2019 (Sunday) at 05:48:35 PST by Christoph Oelckers
Commit 73ea59179c
Parents: 84baa5bb4d

  • fixed some deprecation warnings about 'level'.

27-Jan-2019 (Sunday) at 05:33:02 PST by Christoph Oelckers
Commit 84baa5bb4d
Parents: e9954ee018

  • deprecated the global 'level' variable.

This will currently output 9 warnings for the UDMF property getters. To silence these a bit more work is needed.

27-Jan-2019 (Sunday) at 05:08:23 PST by Christoph Oelckers

Merge branch 'master' into new_level_refactor

27-Jan-2019 (Sunday) at 05:00:23 PST by Christoph Oelckers
Commit 1ab3d4dd09 (3.7fixed)
Parents: cf7e6cc532

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

25-Jan-2019 (Friday) at 00:42:31 PST by nashmuhandes
Commit cf7e6cc532
Parents: 1943f8b59c

Missed "Abnt_C2" in the keybind name array.

24-Jan-2019 (Thursday) at 19:09:09 PST by Rachael Alexanderson
Commit 1943f8b59c
Parents: 4dbbeac748

  • add 'cl_blockcheats' - useful for people who use debugging keys, allows a user to consciously turn off cheats without affecting the server

20-Jan-2019 (Sunday) at 21:33:53 PST by nashmuhandes
Commit 4dbbeac748
Parents: 40afa13f87

Punctuated the input strings in UpperCamelCase format.

Newer commits | Older commits