gzdoom/src/scripting/zscript
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
..
ast.cpp - changed assignment operators to be expressions, like they are in C and DECORATE. 2016-10-21 12:22:42 +02:00
zcc-parse.lemon - scriptified A_BruisAttack. 2016-10-23 17:15:24 +02:00
zcc_compile.cpp - actually evaluate the default parameters and store them in the VMFunction. 2016-10-27 01:30:34 +02:00
zcc_compile.h - restrict 8 and 16 bit integer types to struct and class members - and I am not really sure if they should even be allowed there, aside from legacy readonly properties. For 32 bit floats the same would hold, but those are already mapped to 64 bit doubles silently. 2016-10-16 12:47:26 +02:00
zcc_expr.cpp - implemented '**' (power) operator. To ensure reliability, acustom 'pow' function will be used to calculate it. 2016-10-17 15:17:48 +02:00
zcc_exprlist.h - scriptified A_BruisAttack. 2016-10-23 17:15:24 +02:00
zcc_parser.cpp - Fixed Clang compiler errors and some warnings. 2016-10-25 16:53:14 +02:00
zcc_parser.h - scriptified A_BruisAttack. 2016-10-23 17:15:24 +02:00