aboutsummaryrefslogtreecommitdiff
path: root/src/core/vmrunner.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-04 23:49:49 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-10-04 23:49:49 +0800
commit068cfdc8fb0e31c9ff736ee426f1291d07115c11 (patch)
tree233a0439425b0735aa8c8c7a636cfca784fb25a7 /src/core/vmrunner.hpp
parent8e208d0f5bca187588da8ece1b955bdd47e75acd (diff)
downloadbullet-lab-remix-068cfdc8fb0e31c9ff736ee426f1291d07115c11.tar.xz
Rewrite the function calling method and enable it in the VM.
Yet another stupid commit.
Diffstat (limited to 'src/core/vmrunner.hpp')
-rw-r--r--src/core/vmrunner.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/vmrunner.hpp b/src/core/vmrunner.hpp
index d9d9a59..2dec71f 100644
--- a/src/core/vmrunner.hpp
+++ b/src/core/vmrunner.hpp
@@ -40,7 +40,9 @@ public:
blrScriptVM(){ic=fncnt=pinst=0;}
int loadLSBFromMemory(const char* ptr,DWORD size);
int getInstCount();
- void runFunction(const char *fncnym);
+ void vmRunFunction(const char *fncnym);
+ void vmSetRetValf(float v);
+ void vmSetRetVald(int v);
void vmInit(unsigned int seed);
void vmDeinit();
};