gzdoom-gles/src/zscript
Randy Heit 6f1bf257e9 - State code now properly calls action functions and has a RET instruction. As expected,
running with the checked VM can be quite slow, since it has asserts everywhere. Some other
  fixes were needed before the code actually worked:
  - A_CallSpecial needs to have its arguments cast to ints.
  - Some functions that set pnum/paramnum directly did not decrement it by 1. This also applies
    to A_Jump, though it just uses the value of paramnum instead of changing it.
  - Renamed pnum in the PARAM macros to paramnum, since pnum is already used in a few other
    places for something different, so this makes searching for it easier.
  This has not been tested especially thoroughly, but a first glance seems to indicate success.

SVN r2163 (scripting)
2010-02-14 19:59:21 +00:00
..
vm.h - State code now properly calls action functions and has a RET instruction. As expected, 2010-02-14 19:59:21 +00:00
vmbuilder.cpp - Allocate VM script code and constants in a single block for better locality of 2009-10-17 02:09:29 +00:00
vmbuilder.h - Use a union, rather than pointer aliasing, to access the parts of a VM instruction. 2009-10-17 00:33:23 +00:00
vmdisasm.cpp - State code now properly calls action functions and has a RET instruction. As expected, 2010-02-14 19:59:21 +00:00
vmexec.cpp - Converted all action functions be directly callable by the VM (though they are not yet 2010-02-12 06:04:57 +00:00
vmexec.h - State code now properly calls action functions and has a RET instruction. As expected, 2010-02-14 19:59:21 +00:00
vmframe.cpp - Allocate VM script code and constants in a single block for better locality of 2009-10-17 02:09:29 +00:00
vmops.h - Added PARAMI for the common case of passing an integer constant to a function. 2009-10-15 21:59:37 +00:00