Latest Raze Changes

Latest 50 commits, skipping 7750

Unofficial development builds at DRD Team

Newer commits | Older commits

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

Punctuated the input strings in UpperCamelCase format.

23-Jan-2019 (Wednesday) at 23:35:30 PST by Nemrtvi
Commit 40afa13f87
Parents: caf326abe7

Improved Strife’s BIGFONT file

27-Jan-2019 (Sunday) at 05:00:23 PST by Christoph Oelckers
Commit 9bb4ea34e7
Parents: 39f53a4de0

  • 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
Commit e7aa10b5c8
Parents: 22939aade7

  • 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
Commit 39f53a4de0
Parents: 2f84de9c37

  • 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
Commit 8323524014
Parents: df4c7d8f56

  • 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
Commit df4c7d8f56
Parents: 9b1b6db85d

  • initialize the impact decal counter for each level.

26-Jan-2019 (Saturday) at 12:23:19 PST by Christoph Oelckers
Commit 9b1b6db85d
Parents: e5139cc325

  • 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
Commit e5139cc325
Parents: fe06c49e34

  • moved all EV_Light* functions and G_SerializeLevel into FLevelLocals

26-Jan-2019 (Saturday) at 08:54:58 PST by Christoph Oelckers
Commit fe06c49e34
Parents: 0e5320cb3a

  • fixed: DAutomap::Serialize needs to call its super method.

26-Jan-2019 (Saturday) at 07:22:35 PST by alexey.lysiuk
Commit 0e5320cb3a
Parents: 05830455e7

  • fixed linking of optimized targets

Undefined symbols for architecture x86_64: "AActor::Vec3Angle(double, TAngle, double, bool)", referenced from: Net_DoCommand(int, unsigned char**, int) in d_net.cpp.o

26-Jan-2019 (Saturday) at 06:21:20 PST by Christoph Oelckers
Commit 05830455e7
Parents: 625e9f2525

  • 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
Commit 625e9f2525
Parents: fb86f397a0

  • the sector variables are still needed.

26-Jan-2019 (Saturday) at 00:01:40 PST by Christoph Oelckers
Commit fb86f397a0
Parents: 10feb446fa

  • Level as member variable in the sight checker.

25-Jan-2019 (Friday) at 23:28:45 PST by Christoph Oelckers
Commit 10feb446fa
Parents: 28761b4c33

  • made most of the EV_* functions part of FLevelLocals.

25-Jan-2019 (Friday) at 10:46:03 PST by Christoph Oelckers
Commit 28761b4c33
Parents: 20989a0b41

  • 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
Commit 20989a0b41
Parents: 4e052f2857

  • 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
Commit 2f84de9c37
Parents: 06e7ca4170

  • fixed indentations caused by conflict resolution in cherry-picked commit d911fa99a121fd415472c3d5217cd9cda9f2c20a

25-Jan-2019 (Friday) at 09:16:18 PST by Christoph Oelckers
Commit 4e052f2857
Parents: ba114f6f23

  • 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
Commit 06e7ca4170
Parents: 1407d0a7c5

Missed "Abnt_C2" in the keybind name array.

24-Jan-2019 (Thursday) at 19:09:09 PST by Rachael Alexanderson
Commit 1407d0a7c5 (rolling_back)
Parents: b2ee99c7cc

  • 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
Commit ba114f6f23
Parents: 0124cecc15

  • give the hardware renderer's drawinfo its own level pointer

24-Jan-2019 (Thursday) at 16:19:35 PST by Christoph Oelckers
Commit 0124cecc15
Parents: bf3dc2f99b

  • added missing #include.

24-Jan-2019 (Thursday) at 15:57:01 PST by Christoph Oelckers

Merge branch 'rolling_back' into new_level_refactor

24-Jan-2019 (Thursday) at 15:55:28 PST by Christoph Oelckers
Commit b2ee99c7cc
Parents: 68f0cf111d

  • 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
Commit f4081c33a6
Parents: 3cef56249d

  • 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
Commit 3cef56249d
Parents: 2623fbb54b

  • 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
Commit 2623fbb54b
Parents: 7418ebef56

  • deleted unused mus2midi.cpp file.

24-Jan-2019 (Thursday) at 11:33:25 PST by Christoph Oelckers
Commit 7418ebef56
Parents: 4d55c28b60

  • use default constructors for the thinkers to avoid empty non-inlined functions.

24-Jan-2019 (Thursday) at 11:27:34 PST by Christoph Oelckers
Commit 4d55c28b60
Parents: 0a6b6173de

  • 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
Commit 0a6b6173de
Parents: 0e5986769e

  • Moved Strife conversation data into FLevelLocals.

24-Jan-2019 (Thursday) at 10:28:40 PST by Christoph Oelckers
Commit 0e5986769e
Parents: 4c250a58ca

  • 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
Commit 4c250a58ca
Parents: 1f2162fea8

  • reroute all uses of FActorIterator and NActorIterator through FLevelLocals.

20-Jan-2019 (Sunday) at 21:33:53 PST by nashmuhandes
Commit 68f0cf111d
Parents: 92045bea0e

Punctuated the input strings in UpperCamelCase format.

20-Jan-2019 (Sunday) at 21:33:53 PST by nashmuhandes
Commit 199ac43841 (level_removal_abandoned)
Parents: b3bc0dc838

Punctuated the input strings in UpperCamelCase format.

23-Jan-2019 (Wednesday) at 23:35:30 PST by Nemrtvi
Commit 92045bea0e
Parents: 83d464d1be

Improved Strife’s BIGFONT file

23-Jan-2019 (Wednesday) at 23:35:30 PST by Nemrtvi
Commit b3bc0dc838
Parents: af563b9212

Improved Strife’s BIGFONT file

23-Jan-2019 (Wednesday) at 17:17:10 PST by Christoph Oelckers
Commit 1f2162fea8
Parents: 97495e1857

  • 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
Commit 97495e1857
Parents: 7e9340f3b7

  • moved the tag manager into FLevelLocals

23-Jan-2019 (Wednesday) at 16:40:09 PST by Christoph Oelckers
Commit 7e9340f3b7
Parents: 9f8dd66189

  • 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
Commit 9f8dd66189
Parents: 65750bd7bf

  • 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
Commit 65750bd7bf
Parents: 85b5f8d0a0

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 with FThinkerIterator globally because this only adds pointless type checks - with all actor subclasses being scripted this class has become redundant.

23-Jan-2019 (Wednesday) at 15:22:18 PST by Christoph Oelckers
Commit 85b5f8d0a0
Parents: ac7a9183aa

  • 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
Commit ac7a9183aa
Parents: 83d464d1be

  • 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
Commit 83d464d1be
Parents: 77cbd0c238

  • fixed code emission for constant ZScript function arguments

23-Jan-2019 (Wednesday) at 13:35:48 PST by Christoph Oelckers
Commit 77cbd0c238
Parents: a78daa8937

  • copied the changes to DFlashFader in master.

23-Jan-2019 (Wednesday) at 13:31:22 PST by Christoph Oelckers
Commit a78daa8937
Parents: d60707c71e

  • fixed flicker light selection of light radius.

23-Jan-2019 (Wednesday) at 13:02:13 PST by Christoph Oelckers
Commit d60707c71e
Parents: ceb38751f0

  • added the fix for BuiltinNew which I missed when cherry-picking.

23-Jan-2019 (Wednesday) at 13:01:37 PST by Christoph Oelckers
Commit ceb38751f0
Parents: 5c8ae72453

  • fixed some merging issues.

Newer commits | Older commits