openmw-tes3coop/apps/openmw/mwscript/locals.hpp

26 lines
583 B
C++
Raw Normal View History

2010-07-02 12:31:29 +00:00
#ifndef GAME_SCRIPT_LOCALS_H
#define GAME_SCRIPT_LOCALS_H
#include <vector>
#include <components/esm/loadscpt.hpp>
#include <components/interpreter/types.hpp>
namespace MWScript
{
2013-02-03 13:27:27 +00:00
class Locals
2010-07-02 12:31:29 +00:00
{
2013-02-03 13:27:27 +00:00
public:
std::vector<Interpreter::Type_Short> mShorts;
std::vector<Interpreter::Type_Integer> mLongs;
std::vector<Interpreter::Type_Float> mFloats;
void configure (const ESM::Script& script);
bool setVarByInt(const std::string& script, const std::string& var, int val);
2010-07-02 12:31:29 +00:00
};
}
#endif