gzdoom/wadsrc/static/zscript
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
..
chex - 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
doom - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
heretic - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
hexen - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
inventory - converted a few more in various files. 2019-01-06 22:10:19 +01:00
menu - split gl_texture_hqresize into two variables - one for mode, one for multiplier. 2018-12-10 14:25:29 -05:00
raven - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
scriptutil - scriptified G_PlayerFinishLevel. 2018-12-02 16:26:02 +01:00
shared - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
statscreen Make StatusScreen::End virtual 2018-09-15 13:21:13 +02:00
statusbar - portal.cpp is almost free of access to the global level variable. 2019-01-06 17:06:40 +01:00
strife - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
actor.txt - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
actor_actions.txt - exported all native components of APlayerPawn. 2019-01-03 18:01:58 +01:00
actor_attacks.txt Fix A_CustomBulletAttack's spawnofs_xy parameter 2019-01-02 08:13:53 +01:00
actor_checks.txt - removed all direct references of AInventory::Owner and AInventory::Amount from the C++ code. 2018-12-03 17:41:05 +01:00
actor_interaction.txt - cleaned up use of the random function in script files. 2018-12-21 12:40:05 +01:00
actor_inventory.txt - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
base.txt - removed level references from p_mobj.cpp. 2019-01-07 00:51:18 +01:00
compatibility.txt - deprecated a few functions that depend on AAPTR_* to be useful. 2018-12-05 18:33:59 +01:00
constants.txt - scriptified G_PlayerFinishLevel. 2018-12-02 16:26:02 +01:00
destructible.txt Exported destructible geometry to ZScript 2018-11-07 00:12:37 +01:00
dynarrays.txt - fixed: Dynamic arrays for object pointers need different treatment than arrays for regular pointers, because they require GC::WriteBarrier to be called. 2018-01-19 19:49:42 +01:00
events.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
level_compatibility.txt - capitalization of 'level' in all places where no changes will be needed. 2019-01-06 14:38:51 +01:00
mapdata.txt Expand UDMF and ZScript API for side's own additive colors 2018-12-26 16:58:27 +01:00
sounddata.txt - scriptified ASoundSequence. 2017-01-14 14:37:29 +01:00
zscript_license.txt - removed all Doom Source license and all default Raven copyright headers and replaced them with GPLv3. Also fixed the license in a few other files. 2017-04-17 13:33:19 +02:00