Latest Raze Changes
Latest 50 commits, skipping 7750
Unofficial development builds at DRD Team
20-Jan-2019 (Sunday) at 21:33:53 PST by nashmuhandes
Punctuated the input strings in UpperCamelCase format.
23-Jan-2019 (Wednesday) at 23:35:30 PST by Nemrtvi
Improved Strife’s BIGFONT file
27-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.
27-Jan-2019 (Sunday) at 04:08:54 PST by Christoph Oelckers
- changed thinker initialization to occur in a Construct function instead of the constructor itself.
This was done to ensure that this code only runs when the thinker itself is fully set up. With a constructor there is no control about such things, if some common initialization needs to be done it has to be in the base constructor, but that makes the entire approach chosen here to ensure proper linking into the thinker chains impossible. ZDoom originally did it that way, which resulted in a very inflexible system and required some awful hacks to let the serializer work with it - the corresponding bSerialOverride flag is now gone.
The only thinker class still having a constructor is DFraggleThinker, because it contains non-serializable data that needs to be initialized in a piece of code that always runs, regardless of whether the object is created explicitly or from a savegame.
27-Jan-2019 (Sunday) at 01:26:23 PST by Christoph Oelckers
Merge branch 'master' into new_level_refactor#Conflicts:
- #
- src/c_dispatch.cpp
27-Jan-2019 (Sunday) at 01:23:47 PST by Christoph Oelckers
- took the delayed console command execution out of the thinker management.
Doing this intermingled with the thinkers is highly unsafe because there are absolutely no guarantees about order of execution. Effectively it ran these commands right in the middle of the playsim which could cause all sorts of synchronization issues, because CCMDs are part of the UI, not the playsim.
- pass a const string to AddCommandString.
This function manipulated the input buffer, leading to all sorts of code contortions to make sure that the passed parameter is clean for that. This function will now create a copy of the passed parameter which it can manipulate without complicating its calling code.
Conflicts:
src/c_dispatch.cpp
26-Jan-2019 (Saturday) at 16:49:20 PST by Christoph Oelckers
- give thinkers a 'level' member and change linking to the chain to happen outside the constructor.
26-Jan-2019 (Saturday) at 14:36:22 PST by Christoph Oelckers
- initialize the impact decal counter for each level.
26-Jan-2019 (Saturday) at 12:23:19 PST by Christoph Oelckers
- added a pseudo-serializer for FLevelLocals pointers.
This doesn't really write out any info for the pointer, if the level does not match it just errors out. This is both for quick detection of badly used level data and for automatic restoring of the pointer from the serializer's working level.
This also removed the temporary workarounds in DAutomap and DLevelScript to restore these pointers when a savegame is loaded.
26-Jan-2019 (Saturday) at 08:55:15 PST by Christoph Oelckers
- moved all EV_Light* functions and G_SerializeLevel into FLevelLocals
26-Jan-2019 (Saturday) at 08:54:58 PST by Christoph Oelckers
- fixed: DAutomap::Serialize needs to call its super method.
26-Jan-2019 (Saturday) at 07:22:35 PST by alexey.lysiuk
- fixed linking of optimized targets
Undefined symbols for architecture x86_64:
"AActor::Vec3Angle(double, TAngle
26-Jan-2019 (Saturday) at 06:21:20 PST by Christoph Oelckers
- made the automap an object.
This simplifies handling a lot because it allows to make the level the owner of its map.
26-Jan-2019 (Saturday) at 03:22:02 PST by Christoph Oelckers
- the sector variables are still needed.
26-Jan-2019 (Saturday) at 00:01:40 PST by Christoph Oelckers
- Level as member variable in the sight checker.
25-Jan-2019 (Friday) at 23:28:45 PST by Christoph Oelckers
- made most of the EV_* functions part of FLevelLocals.
25-Jan-2019 (Friday) at 10:46:03 PST by Christoph Oelckers
- made G_InitLevelLocals a member function of FLevelLocals.
This was another cheap one with a good number of removed references.
25-Jan-2019 (Friday) at 10:04:40 PST by Christoph Oelckers
- use a local variable to access the level in DLevelScript.
This was a relatively cheap change but removes a significant batch of references to the global variable, only making the entry points to the ACS interpreter relevant.
25-Jan-2019 (Friday) at 10:02:30 PST by Rachael Alexanderson
- fixed indentations caused by conflict resolution in cherry-picked commit d911fa99a121fd415472c3d5217cd9cda9f2c20a
25-Jan-2019 (Friday) at 09:16:18 PST by Christoph Oelckers
- use a separate variable pointing to the current level for the UI code.
UI always runs on the primary level, so this does not need the ability to operate on multiple levels. Additionally, this can later be set to null when running play code so that scope violations result in an abort.
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
24-Jan-2019 (Thursday) at 16:26:16 PST by Christoph Oelckers
- give the hardware renderer's drawinfo its own level pointer
24-Jan-2019 (Thursday) at 16:19:35 PST by Christoph Oelckers
- added missing #include.
24-Jan-2019 (Thursday) at 15:57:01 PST by Christoph Oelckers
Merge branch 'rolling_back' into new_level_refactor24-Jan-2019 (Thursday) at 15:55:28 PST by Christoph Oelckers
- call level compatibility handlers for all levels and pass the map name as a second parameter.
This is for user-made handlers for which the checksum is rather useless both for deciding whether to call the handler and for identifying the map.
24-Jan-2019 (Thursday) at 15:42:55 PST by Christoph Oelckers
- give line_t a GetLevel function.
The portal getters need this, even though currently it only gets the global level.
24-Jan-2019 (Thursday) at 15:30:55 PST by Christoph Oelckers
- moved most functions of portals.cpp into FLevelLocals.
Much of this is used during level init and needs to be independent of the current level.
24-Jan-2019 (Thursday) at 11:40:31 PST by Christoph Oelckers
- deleted unused mus2midi.cpp file.
24-Jan-2019 (Thursday) at 11:33:25 PST by Christoph Oelckers
- use default constructors for the thinkers to avoid empty non-inlined functions.
24-Jan-2019 (Thursday) at 11:27:34 PST by Christoph Oelckers
- moved a large batch of code from p_spec.cpp and a few other files into the maploader folder.
08-Jan-2019 (Tuesday) at 17:03:26 PST by Christoph Oelckers
- Moved Strife conversation data into FLevelLocals.
24-Jan-2019 (Thursday) at 10:28:40 PST by Christoph Oelckers
- moved the tid hash into FLevelLocals and adjusted the interface to the iterators.
24-Jan-2019 (Thursday) at 09:50:22 PST by Christoph Oelckers
- reroute all uses of FActorIterator and NActorIterator through FLevelLocals.
20-Jan-2019 (Sunday) at 21:33:53 PST by nashmuhandes
Punctuated the input strings in UpperCamelCase format.
20-Jan-2019 (Sunday) at 21:33:53 PST by nashmuhandes
Punctuated the input strings in UpperCamelCase format.
23-Jan-2019 (Wednesday) at 23:35:30 PST by Nemrtvi
Improved Strife’s BIGFONT file
23-Jan-2019 (Wednesday) at 23:35:30 PST by Nemrtvi
Improved Strife’s BIGFONT file
23-Jan-2019 (Wednesday) at 17:17:10 PST by Christoph Oelckers
- moved the scripted creation functions for tag iterators to LevelLocals
The old static methods are now deprecated, this was done to clarify the relationships at play here.
23-Jan-2019 (Wednesday) at 16:53:05 PST by Christoph Oelckers
- moved the tag manager into FLevelLocals
23-Jan-2019 (Wednesday) at 16:40:09 PST by Christoph Oelckers
- removed most global references to the tag manager by routing most access to FLevelocals.
23-Jan-2019 (Wednesday) at 16:05:07 PST by Christoph Oelckers
- changed Polyobject thinkers to operate on the actual polyobjects instead of indices
This also changes the action special interface to pass a Level parameter to the separate functions and makes a few other minor adjustments to the polyobject code.
23-Jan-2019 (Wednesday) at 15:43:43 PST by Christoph Oelckers
Wrap all iterator calls in the map loader into FLevelLocals methods.
This should later be done for everything else as well, but the map loader should really be free of global dependencies ASAP.
Also replace TThinkerIterator
23-Jan-2019 (Wednesday) at 15:22:18 PST by Christoph Oelckers
- moved several setup methods into the map loader
Code hasn't been moved yet, this only changes the declarations.
23-Jan-2019 (Wednesday) at 15:02:51 PST by Christoph Oelckers
- re-applied the changes for p_spec.cpp
This is mostly map loader code which really should not operate on the global level.
23-Jan-2019 (Wednesday) at 13:37:16 PST by Christoph Oelckers
- fixed code emission for constant ZScript function arguments
23-Jan-2019 (Wednesday) at 13:35:48 PST by Christoph Oelckers
- copied the changes to DFlashFader in master.
23-Jan-2019 (Wednesday) at 13:31:22 PST by Christoph Oelckers
- fixed flicker light selection of light radius.
23-Jan-2019 (Wednesday) at 13:02:13 PST by Christoph Oelckers
- added the fix for BuiltinNew which I missed when cherry-picking.
23-Jan-2019 (Wednesday) at 13:01:37 PST by Christoph Oelckers
- fixed some merging issues.