qzdoom/wadsrc/static/zscript
Christoph Oelckers e620c9bd7d - scriptified parts of a_bossbrain.cpp. Some things cannot be done yet, the script code is there but commented out.
- exported thinker iterator and drop item chain to scripting. Unlike its native counterpart the script-side iterator is wrapped into a DObject to allow proper handling for memory management.
- fixed: The VMFunctionBuilder only distinguished between member and action functions but failed on static ones.
- fixed: FxAssign did not add all needed type casts. Except for purely numeric types it will now wrap the expression in an FxTypeCast. Numeric handling remains unchanged for both performance reasons and not altering semantics for DECORATE.
- exported all internal flags as variables to scripting. They still cannot be used in an actor definition.
- make ATAG_STATE the same as ATAG_GENERIC. Since state pointers exist as actual variables they can take both values which on occasion can trigger some asserts.
- gave PClass a bExported flag, so that scripts cannot see purely internal classes. Especially the types like PInt can cause problems.

Todo: we need readonly references to safely expose the actor defaults. Right now some badly behaving code could overwrite them.
2016-10-31 17:03:26 +01:00
..
chex - converted the Chex Quest actors, completing the DECORATE conversion. 2016-10-18 23:22:41 +02:00
doom - scriptified parts of a_bossbrain.cpp. Some things cannot be done yet, the script code is there but commented out. 2016-10-31 17:03:26 +01:00
heretic - use the function defaults from the script instead of explicitly setting them again in the code. This is a needless cause of potential errors and since the values are readily available now it's better to use them in the functions. 2016-10-27 15:53:53 +02:00
hexen - use the function defaults from the script instead of explicitly setting them again in the code. This is a needless cause of potential errors and since the values are readily available now it's better to use them in the functions. 2016-10-27 15:53:53 +02:00
raven - turned everything I could into non-action functions. 2016-10-22 17:49:08 +02:00
shared - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
strife - turned everything I could into non-action functions. 2016-10-22 17:49:08 +02:00
actor.txt - scriptified parts of a_bossbrain.cpp. Some things cannot be done yet, the script code is there but commented out. 2016-10-31 17:03:26 +01:00
base.txt - scriptified parts of a_bossbrain.cpp. Some things cannot be done yet, the script code is there but commented out. 2016-10-31 17:03:26 +01:00
constants.txt - scriptified a_archvile.cpp. 2016-10-30 18:41:39 +01:00