mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 12:36:45 +03:00
Move all scripting header files into new folder.
This commit is contained in:
parent
b43b9c704f
commit
a9d8b78c96
29 changed files with 0 additions and 0 deletions
25
Scripting/Include/GameScriptRotation.h
Normal file
25
Scripting/Include/GameScriptRotation.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#pragma once
|
||||
|
||||
#include "framework.h"
|
||||
|
||||
namespace sol {
|
||||
class state;
|
||||
}
|
||||
struct PHD_3DPOS;
|
||||
|
||||
class GameScriptRotation {
|
||||
public:
|
||||
short x{ 0 };
|
||||
short y{ 0 };
|
||||
short z{ 0 };
|
||||
|
||||
GameScriptRotation() = default;
|
||||
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*);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue