#ifndef GAME_SCRIPT_LOCALS_H #define GAME_SCRIPT_LOCALS_H #include #include #include namespace MWScript { struct Locals { std::vector mShorts; std::vector mLongs; std::vector mFloats; void configure (const ESM::Script& script) { mShorts.clear(); mShorts.resize (script.mData.mNumShorts, 0); mLongs.clear(); mLongs.resize (script.mData.mNumLongs, 0); mFloats.clear(); mFloats.resize (script.mData.mNumFloats, 0); } }; } #endif