vkdoom_m/src/scripting/zscript
Christoph Oelckers 86544086df - allow the VM to run on one global stack per thread.
It is utterly pointless to require every function that wants to make a VM call to allocate a new stack first. The allocation overhead doubles the time to set up the call.
With one stack, previously allocated memory can be reused. The only important thing is, if this ever gets used in a multithreaded environment to have the stack being declared as thread_local, although for ZDoom this is of no consequence.

- eliminated all cases where native code was calling other native code through the VM interface. After scriptifying the game code, only 5 places were left which were quickly eliminated. This was mostly to ensure that the native VM function parameters do not need to be propagated further than absolutely necessary.
2016-11-30 17:15:01 +01:00
..
ast.cpp - added static constant arrays. At the moment they can only be defined inside functions due to lack of dedicated storage inside classes for static data. 2016-11-20 18:00:37 +01:00
zcc-parse.lemon - scriptified Strife's dagger and crossbow. 2016-11-29 13:00:07 +01:00
zcc_compile.cpp - allow the VM to run on one global stack per thread. 2016-11-30 17:15:01 +01:00
zcc_compile.h - scriptified the Sigil. This isn't fully tested yet. 2016-11-28 14:39:25 +01: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 added class pointer casts. Due to grammar problems the type has to be put into parentheses to get the class token out of the global parsing namespace: 2016-11-17 20:31:53 +01:00
zcc_parser.cpp - scriptified Hexen's flies. 2016-11-27 18:52:24 +01:00
zcc_parser.h - Don't null-check the ZCC_TreeNode 'this' pointer. 2016-11-23 23:30:54 +01:00