Match and link CIOWin

This commit is contained in:
Phillip Stephens 2022-10-08 02:21:38 -07:00
parent fdbb3376ff
commit 1029d92fd4
5 changed files with 32 additions and 3 deletions

View File

@ -33,6 +33,7 @@ COMPLETE_OBJECTS = [
"MetroidPrime/ScriptObjects/CScriptDebugCameraWaypoint",
"MetroidPrime/ScriptObjects/CScriptPickup",
"MetroidPrime/ScriptObjects/CScriptSwitch",
"MetroidPrime/CIOWin",
"Weapons/IWeaponRenderer",
"Collision/CMaterialList",
"Collision/CMaterialFilter",

View File

@ -0,0 +1,12 @@
#ifndef __CGENDESCRIPTION_HPP__
#define __CGENDESCRIPTION_HPP__
class CGenDescription {
public:
CGenDescription();
~CGenDescription();
private:
char data[0x12c];
};
#endif // __CGENDESCRIPTION_HPP__

View File

@ -17,11 +17,14 @@ public:
kMR_RemoveIOWin = 3,
};
CIOWin(const rstl::string& name);
virtual ~CIOWin();
const rstl::string& GetName() const;
virtual EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) = 0;
virtual bool GetIsContinueDraw() const;
virtual void Draw();
virtual void PreDraw();
virtual void Draw() const;
virtual void PreDraw() const;
private:
rstl::string x4_name;

View File

@ -34,7 +34,7 @@ METROIDPRIME :=\
$(BUILD_DIR)/asm/MetroidPrime/CArchMsgParmReal32.o\
$(BUILD_DIR)/asm/MetroidPrime/Decode.o\
$(BUILD_DIR)/asm/MetroidPrime/CIOWinManager.o\
$(BUILD_DIR)/asm/MetroidPrime/CIOWin.o\
$(BUILD_DIR)/src/MetroidPrime/CIOWin.o\
$(BUILD_DIR)/asm/MetroidPrime/CActor.o\
$(BUILD_DIR)/asm/MetroidPrime/CWorld.o\
$(BUILD_DIR)/asm/MetroidPrime/Tweaks/CTweakParticle.o\

View File

@ -0,0 +1,13 @@
#include "MetroidPrime/CIOWin.hpp"
CIOWin::CIOWin(const rstl::string& name) : x4_name(name) {}
CIOWin::~CIOWin() {}
const rstl::string& CIOWin::GetName() const { return x4_name; }
bool CIOWin::GetIsContinueDraw() const { return true; }
void CIOWin::Draw() const {}
void CIOWin::PreDraw() const {}