From a47a72b22553ad63a5d75449efacc3e48aa20dd2 Mon Sep 17 00:00:00 2001 From: krystalgamer Date: Sun, 4 Aug 2024 17:16:29 +0200 Subject: [PATCH] switch.cpp placeholders --- switch.cpp | 12 ++++++++++++ switch.h | 2 ++ torch.cpp | 2 -- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/switch.cpp b/switch.cpp index 70f8aa7..4e83446 100644 --- a/switch.cpp +++ b/switch.cpp @@ -9,6 +9,18 @@ extern CPlayer* MechList; extern i32 NumNodes; extern i16 **gTrigNodes; +// @MEDIUMTODO +CSwitch::CSwitch(i16 *,i32) +{ + printf("CSwitch::CSwitch(i16 *,i32)"); +} + +// @SMALLTODO +void Switch_SetSwitchFaceFlags(CItem *) +{ + printf("Switch_SetSwitchFaceFlags(CItem *)"); +} + // @Ok // @Test void CSwitch::AI(void) diff --git a/switch.h b/switch.h index 828ec59..3fa3f0b 100644 --- a/switch.h +++ b/switch.h @@ -9,6 +9,7 @@ class CSwitch : public CBody { public: + EXPORT CSwitch(i16 *,i32); EXPORT void SwitchInactive(void); EXPORT CVector* GetAutoAimTargetPointer(void); EXPORT void SwitchOff(void); @@ -40,4 +41,5 @@ class CSwitch : public CBody void validate_CSwitch(void); EXPORT CSwitch* Switch_GetCSwitchObjectFromItem(CItem *); EXPORT void Switch_SetVisible(bool, CItem*); +EXPORT void Switch_SetSwitchFaceFlags(CItem *); #endif diff --git a/torch.cpp b/torch.cpp index 99b906c..e11ce82 100644 --- a/torch.cpp +++ b/torch.cpp @@ -83,6 +83,4 @@ void validate_CTorch(void){ VALIDATE(CTorch, field_34C, 0x34C); VALIDATE(CTorch, field_350, 0x350); - - }