stuff
This commit is contained in:
parent
1ba696f5fc
commit
1721a74466
@ -9993,4 +9993,6 @@ InjectHook(0x438790, &CTheScripts::Init, PATCH_JUMP);
|
|||||||
InjectHook(0x439040, &CTheScripts::Process, PATCH_JUMP);
|
InjectHook(0x439040, &CTheScripts::Process, PATCH_JUMP);
|
||||||
InjectHook(0x439400, &CTheScripts::StartTestScript, PATCH_JUMP);
|
InjectHook(0x439400, &CTheScripts::StartTestScript, PATCH_JUMP);
|
||||||
InjectHook(0x439410, &CTheScripts::IsPlayerOnAMission, PATCH_JUMP);
|
InjectHook(0x439410, &CTheScripts::IsPlayerOnAMission, PATCH_JUMP);
|
||||||
|
//InjectHook(0x44FD10, &CTheScripts::UndoBuildingSwaps, PATCH_JUMP);
|
||||||
|
//InjectHook(0x44FD60, &CTheScripts::UndoEntityVisibilitySettings, PATCH_JUMP);
|
||||||
ENDPATCHES
|
ENDPATCHES
|
||||||
|
@ -269,10 +269,16 @@ public:
|
|||||||
static CRunningScript* StartTestScript();
|
static CRunningScript* StartTestScript();
|
||||||
static bool IsPlayerOnAMission();
|
static bool IsPlayerOnAMission();
|
||||||
static void ClearSpaceForMissionEntity(const CVector&, CEntity*);
|
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 UndoBuildingSwaps();
|
||||||
static void UndoEntityVisibilitySettings();
|
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 bool IsDebugOn() { return DbgFlag; };
|
||||||
static void InvertDebugFlag() { DbgFlag = !DbgFlag; }
|
static void InvertDebugFlag() { DbgFlag = !DbgFlag; }
|
||||||
|
|
||||||
@ -303,9 +309,7 @@ private:
|
|||||||
static void DrawDebugAngledSquare(float, float, float, float, float, float, float, float);
|
static void DrawDebugAngledSquare(float, float, float, float, float, float, float, float);
|
||||||
static void DrawDebugCube(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 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 AddToInvisibilitySwapArray(CEntity*, bool);
|
||||||
static void AddToBuildingSwapArray(CBuilding*, int32, int32);
|
static void AddToBuildingSwapArray(CBuilding*, int32, int32);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user