Latest Raze Changes
Latest 50 commits, skipping 7700
Unofficial development builds at DRD Team
28-Jan-2019 (Monday) at 17:39:14 PST by Christoph Oelckers
Split G_DoCompleted into a global part and a level specific part.
28-Jan-2019 (Monday) at 17:08:53 PST by Christoph Oelckers
- add Level parameter to G_LeavingHub
28-Jan-2019 (Monday) at 17:04:31 PST by Christoph Oelckers
- 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
Moved the PointInSector functions into FLevelLocals
28-Jan-2019 (Monday) at 16:09:02 PST by Christoph Oelckers
- 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
- moved sound sequence head of list into FLevelLocals.
28-Jan-2019 (Monday) at 13:33:50 PST by Christoph Oelckers
- initial adjustments for P_Ticker.
28-Jan-2019 (Monday) at 13:19:09 PST by Christoph Oelckers
- 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
- removed the remaining level references from p_acs.cpp.
28-Jan-2019 (Monday) at 11:15:48 PST by Christoph Oelckers
- 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
- forgot to save this.
28-Jan-2019 (Monday) at 09:42:56 PST by Christoph Oelckers
- use map time, not hub time for map actions.
28-Jan-2019 (Monday) at 09:26:14 PST by Christoph Oelckers
- 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_refactor28-Jan-2019 (Monday) at 06:41:52 PST by Christoph Oelckers
- more XCode warnings fixed.
28-Jan-2019 (Monday) at 06:20:02 PST by Christoph Oelckers
- added braces as per XCode's suggestion.
28-Jan-2019 (Monday) at 05:31:23 PST by Christoph Oelckers
- 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
- 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
- removed the intermediate P_SpawnPlayer inline
27-Jan-2019 (Sunday) at 17:44:05 PST by Christoph Oelckers
- made most of the player spawn spot handliing functions members of FLevelLocals.
27-Jan-2019 (Sunday) at 17:43:39 PST by Christoph Oelckers
- 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
- 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
- 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
- fixed all the missed level references in the decal thinkers.
27-Jan-2019 (Sunday) at 16:37:21 PST by Christoph Oelckers
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- roughly 50 more, mostly search and replace.
27-Jan-2019 (Sunday) at 08:35:50 PST by Christoph Oelckers
- 50 more simple replacements of 'level'
27-Jan-2019 (Sunday) at 08:21:36 PST by Christoph Oelckers
- removed level references in the software renderers.
27-Jan-2019 (Sunday) at 08:12:03 PST by Christoph Oelckers
- give the sector a level reference.
27-Jan-2019 (Sunday) at 07:59:50 PST by Christoph Oelckers
- a few more.
27-Jan-2019 (Sunday) at 07:38:10 PST by alexey.lysiuk
- 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
- removed a few direct uses of TThinkerIterator.
27-Jan-2019 (Sunday) at 07:09:05 PST by Christoph Oelckers
- 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
- handled most level references in actorinlines.h and p_mobj.cpp.
27-Jan-2019 (Sunday) at 06:02:37 PST by Christoph Oelckers
- 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
- removed all remaining references to level and TThinkerIterator from p_enemy.cpp.
27-Jan-2019 (Sunday) at 05:49:51 PST by Christoph Oelckers
- removed all remaining references to level and TThinkerIterator from p_enemy.cpp.
27-Jan-2019 (Sunday) at 05:48:35 PST by Christoph Oelckers
- fixed some deprecation warnings about 'level'.
27-Jan-2019 (Sunday) at 05:33:02 PST by Christoph Oelckers
- 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_refactor27-Jan-2019 (Sunday) at 05:00:23 PST by Christoph Oelckers
- 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
Missed "Abnt_C2" in the keybind name array.
24-Jan-2019 (Thursday) at 19:09:09 PST by Rachael Alexanderson
- 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
Punctuated the input strings in UpperCamelCase format.