diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp --- a/src/script/squirrel.hpp +++ b/src/script/squirrel.hpp @@ -253,6 +253,11 @@ public: * Are we allowed to suspend the squirrel script at this moment? */ bool CanSuspend(); + + /** + * How many operations can we execute till suspension? + */ + SQInteger GetOpsTillSuspend(); }; #endif /* SQUIRREL_HPP */