qzdoom/src/scripting
Christoph Oelckers 66b1f36e56 - actually evaluate the default parameters and store them in the VMFunction.
- disabled the assert in PType::GetRegType. This assert blocks any use to check for types that are incompatible with function parameters.
- pass the default parameter constants to the native functions. At the moment this is not used yet.
- use the function defaults to complete argument lists to script functions.
- fixed all default values that got flagged by the expression evaluator as non-constant. Most were state labels and colors which were defaulted to "". The proper value is null for states and 0 for colors.
- also replaced all "" defaults for names with "none".
2016-10-27 01:30:34 +02:00
..
codegeneration - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
decorate - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
vm - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
zscript - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
thingdef.cpp - removed the FxDamageValue hack and implemented it properly using FxReturnStatement. 2016-10-26 14:04:49 +02:00
thingdef.h - removed the FxDamageValue hack and implemented it properly using FxReturnStatement. 2016-10-26 14:04:49 +02:00
thingdef_data.cpp - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
thingdef_properties.cpp - removed the FxDamageValue hack and implemented it properly using FxReturnStatement. 2016-10-26 14:04:49 +02:00