gzdoom/wadsrc/static/zscript/doom
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
..
arachnotron.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
archvile.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
bossbrain.txt - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
bruiser.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
cacodemon.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
cyberdemon.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
deadthings.txt - converted all of Doom's actors. 2016-10-14 20:08:41 +02:00
demon.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
doomammo.txt - added tags to all ammo types. 2017-02-25 19:56:22 +01:00
doomarmor.txt Merge branch 'zscript' of https://github.com/rheit/zdoom into gz-zscript 2016-11-15 11:36:59 +01:00
doomartifacts.txt - Added 'canonical transparency' cvar r_canontrans - this simply turns off transparency for Doom objects that were marked as transparent sometime in ZDoom's development cycle 2017-06-04 12:30:35 +02:00
doomdecorations.txt - converted all of Doom's actors. 2016-10-14 20:08:41 +02:00
doomhealth.txt - converted all of Doom's actors. 2016-10-14 20:08:41 +02:00
doomimp.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
doomkeys.txt - converted all of Doom's actors. 2016-10-14 20:08:41 +02:00
doommisc.txt - Added 'canonical transparency' cvar r_canontrans - this simply turns off transparency for Doom objects that were marked as transparent sometime in ZDoom's development cycle 2017-06-04 12:30:35 +02:00
doomplayer.txt - converted all of Doom's actors. 2016-10-14 20:08:41 +02:00
doomweapons.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
fatso.txt fixed spelling (mostly comments) 2018-11-27 19:44:06 +01:00
keen.txt - added an inventory check to A_KeenDie so that it still works if a patch repurposes a pickup item that may end up in the player's inventory. 2018-02-27 10:40:43 +01:00
lostsoul.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
painelemental.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
possessed.txt - fixed typo with RNG name. 2018-11-07 19:20:42 +01:00
revenant.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
scriptedmarine.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
spidermaster.txt add tags for Doom and Heretic monsters 2018-06-27 21:04:00 +02:00
stealthmonsters.txt - converted all of Doom's actors. 2016-10-14 20:08:41 +02:00
weaponbfg.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
weaponchaingun.txt - added proper definitions for all exported native fields. 2016-11-22 23:43:32 +01:00
weaponchainsaw.txt - fixed: A_Saw was using the wrong angle for adjusting the facing direction at the end. 2016-12-04 10:45:20 +01:00
weaponfist.txt - fixed: For melee attacks with a short attack range P_AimLineAttack must check for hits from above and below. 2018-06-03 17:49:00 +02:00
weaponpistol.txt - scriptified the pistol to test if struct member functions work. 2016-11-19 13:56:29 +01:00
weaponplasma.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
weaponrlaunch.txt - fixed: forgot to assign +ZDOOMTRANS to rockets 2017-06-04 12:30:35 +02:00
weaponshotgun.txt - scriptified A_FireShotgun and A_FireChaingun. 2016-11-19 16:39:45 +01:00
weaponssg.txt - Fixed the Super Shotgun refire mismatch. 2016-11-25 00:42:09 +01:00