iw5-mod/src/game/scripting/stack_isolation.hpp

21 lines
361 B
C++
Raw Normal View History

2019-09-27 16:35:57 -04:00
#pragma once
#include "game/game.hpp"
namespace game::scripting
{
class stack_isolation final
{
public:
stack_isolation();
~stack_isolation();
private:
native::VariableValue stack_[512]{};
native::VariableValue* max_stack_;
native::VariableValue* top_;
unsigned int in_param_count_;
unsigned int out_param_count_;
};
}