diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-23 11:30:37 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-23 11:30:37 +0100 |
commit | 1721a74466ff28b6ac92bdec63965784adecd5fa (patch) | |
tree | a5af4afe68cdcd21f9187ac26dc190ec3d218d51 /src/control/Script.h | |
parent | some changes (diff) | |
download | re3-1721a74466ff28b6ac92bdec63965784adecd5fa.tar re3-1721a74466ff28b6ac92bdec63965784adecd5fa.tar.gz re3-1721a74466ff28b6ac92bdec63965784adecd5fa.tar.bz2 re3-1721a74466ff28b6ac92bdec63965784adecd5fa.tar.lz re3-1721a74466ff28b6ac92bdec63965784adecd5fa.tar.xz re3-1721a74466ff28b6ac92bdec63965784adecd5fa.tar.zst re3-1721a74466ff28b6ac92bdec63965784adecd5fa.zip |
Diffstat (limited to 'src/control/Script.h')
-rw-r--r-- | src/control/Script.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index fcbd8395..5533c417 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -269,10 +269,16 @@ public: static CRunningScript* StartTestScript(); static bool IsPlayerOnAMission(); static void ClearSpaceForMissionEntity(const CVector&, CEntity*); - static void ScriptDebugLine3D(float x1, float y1, float z1, float x2, float y2, float z2, int col, int col2); + static void UndoBuildingSwaps(); static void UndoEntityVisibilitySettings(); + static void ScriptDebugLine3D(float x1, float y1, float z1, float x2, float y2, float z2, int col, int col2); + static void RenderTheScriptDebugLines(); + + static void SaveAllScripts(uint8*, uint32*); + static void LoadAllScripts(uint8*, uint32); + static bool IsDebugOn() { return DbgFlag; }; static void InvertDebugFlag() { DbgFlag = !DbgFlag; } @@ -303,9 +309,7 @@ private: static void DrawDebugAngledSquare(float, float, float, float, float, float, float, float); static void DrawDebugCube(float, float, float, float, float, float); static void DrawDebugAngledCube(float, float, float, float, float, float, float, float, float, float); - static void RenderTheScriptDebugLines(); - static void SaveAllScripts(uint8*, uint32*); - static void LoadAllScripts(uint8*, uint32); + static void AddToInvisibilitySwapArray(CEntity*, bool); static void AddToBuildingSwapArray(CBuilding*, int32, int32); |