gzdoom/wadsrc/static/zscript/hexen
Christoph Oelckers 480dd347c9 - removed level references from p_mobj.cpp.
This time there was one important exported script function: Actor.Spawn.
Since this will require a level pointer in the new scheme of things the old version had to be deprecated, because it is static with no argument that allows retrieving the level. However, since this is probably one of the most widely used functions I added a workaround to let it continue to work if used from inside an actor class, which should constitute >95% of all uses. This required a little bit of hackery in the compiler backend to swap out the function if appropriate.
Aside from that there were 5 places in the internal ZScript that needed handling, which mostly consisted of making a formerly static internal function non-static.
2019-01-07 00:51:18 +01:00
..
baseweapons.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
bats.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
bishop.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
blastradius.txt Added DMG_EXPLOSION flag. 2018-09-15 13:23:11 +02:00
boostarmor.txt - scriptified a large part of the weapon code. 2017-01-19 17:40:34 +01:00
centaur.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
clericboss.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
clericflame.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
clericholy.txt - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
clericmace.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
clericplayer.txt
clericstaff.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
demons.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
dragon.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
ettin.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
fighteraxe.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
fighterboss.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
fighterfist.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
fighterhammer.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
fighterplayer.txt
fighterquietus.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
firedemon.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
flame.txt - removed ZDOOMADD and updated actors in question with ZDOOMTRANS 2017-06-04 12:30:35 +02:00
flechette.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
flies.txt - added a TStaticArray class that allows safe access to resizable static data (like the sectors, linedefs, etc.) for the VM. 2017-01-02 21:40:52 +01:00
fog.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
healingradius.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
heresiarch.txt - fixed random number generation in SpawnFizzle. 2018-12-23 12:40:26 +01:00
hexenarmor.txt - more Hexen conversions. 2016-10-18 00:49:13 +02:00
hexendecorations.txt - made ZRock4 solid like in vanilla Hexen 2018-11-24 12:51:14 +02:00
hexenkeys.txt - more Hexen conversions. 2016-10-18 00:49:13 +02:00
hexenspecialdecs.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
iceguy.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
korax.txt - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
mageboss.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00
magecone.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
magelightning.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
mageplayer.txt
magestaff.txt - scriptified Hexen's Bloodscourge and Serpent. 2016-11-28 00:49:10 +01:00
magewand.txt - renamed A_FireCustomMissile and added a deprecated compatibility wrapper to deal with the inverted pitch this function used. 2016-12-24 16:34:45 +01:00
mana.txt - added tags to all ammo types. 2017-02-25 19:56:22 +01:00
pig.txt - renamed internal MELEERANGE constant to deconflict with Actor's MeleeRange member. 2016-12-10 16:36:19 +01:00
puzzleitems.txt - another batch of Hexen items converted. 2016-10-18 10:09:02 +02:00
scriptprojectiles.txt - removed ZDOOMADD and updated actors in question with ZDOOMTRANS 2017-06-04 12:30:35 +02:00
serpent.txt - scriptified P_CheckMeleeRange2. 2018-12-05 18:58:15 +01:00
speedboots.txt - another batch of Hexen items converted. 2016-10-18 10:09:02 +02:00
spike.txt - fixed potential null pointer access in Hexen's spike code. 2018-10-07 20:00:30 +02:00
summon.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
teleportother.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
wraith.txt add monster tags (Friendly Names) for Hexen 2018-11-24 14:02:48 +01:00