mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 16:57:57 +03:00

Make their properties lowercase to keep them consistent with the properties of other classes. Move documentation from GameScriptPosition.h to GameScriptPosition.cpp.
24 lines
377 B
C++
24 lines
377 B
C++
#pragma once
|
|
|
|
#include "framework.h"
|
|
|
|
namespace sol {
|
|
class state;
|
|
}
|
|
struct PHD_3DPOS;
|
|
|
|
class GameScriptRotation {
|
|
public:
|
|
short x;
|
|
short y;
|
|
short z;
|
|
|
|
GameScriptRotation(int x, int y, int z);
|
|
GameScriptRotation(PHD_3DPOS const& pos);
|
|
|
|
std::string ToString() const;
|
|
|
|
void StoreInPHDPos(PHD_3DPOS& pos) const;
|
|
|
|
static void Register(sol::state*);
|
|
};
|