diff options
author | yexo <yexo@openttd.org> | 2009-09-10 20:19:12 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-09-10 20:19:12 +0000 |
commit | ca6c4ee98ade5710757ed662108823525a4ee4c7 (patch) | |
tree | 4ff6fb521658b17e4e0801cd1d7b82f70fe5be85 /src/3rdparty/squirrel/include | |
parent | 6175ee0fa41ea8a9d5c84aed8e47a5f4d3e9a6b7 (diff) | |
download | openttd-ca6c4ee98ade5710757ed662108823525a4ee4c7.tar.xz |
(svn r17498) -Add [NoAI]: Enable the squirrel std math library
Diffstat (limited to 'src/3rdparty/squirrel/include')
-rw-r--r-- | src/3rdparty/squirrel/include/squirrel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/squirrel/include/squirrel.h b/src/3rdparty/squirrel/include/squirrel.h index 63fb96e39..7963a54c3 100644 --- a/src/3rdparty/squirrel/include/squirrel.h +++ b/src/3rdparty/squirrel/include/squirrel.h @@ -314,6 +314,7 @@ SQUIRREL_API bool sq_resumecatch(HSQUIRRELVM v, int suspend = -1); SQUIRREL_API bool sq_resumeerror(HSQUIRRELVM v); SQUIRREL_API SQRESULT sq_wakeupvm(HSQUIRRELVM v,SQBool resumedret,SQBool retval,SQBool raiseerror,SQBool throwerror); SQUIRREL_API SQInteger sq_getvmstate(HSQUIRRELVM v); +SQUIRREL_API void sq_decreaseops(HSQUIRRELVM v, int amount); /*compiler*/ SQUIRREL_API SQRESULT sq_compile(HSQUIRRELVM v,SQLEXREADFUNC read,SQUserPointer p,const SQChar *sourcename,SQBool raiseerror); |