2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 18:24:55 +00:00

Initial migration to URDE-hashed object tags

This commit is contained in:
Jack Andersen
2016-02-29 17:08:25 -10:00
parent c1af78e7ed
commit 2a614215c8
14 changed files with 189 additions and 283 deletions

View File

@@ -181,6 +181,12 @@ public:
#endif
}
void think()
{
if (m_spaceTree)
m_spaceTree->think();
}
void saveState(Athena::io::IStreamWriter& w) const
{
w.writeUint32Big(atUint32(m_class));
@@ -272,6 +278,14 @@ public:
}
}
void think()
{
if (m_slots[0])
m_slots[0]->think();
if (m_slots[1])
m_slots[1]->think();
}
void saveState(Athena::io::IStreamWriter& w) const
{
w.writeUint32Big(atUint32(m_class));
@@ -360,6 +374,13 @@ public:
: Space(vm, cls, parent) {}
};
class GameSpace : public Space
{
public:
GameSpace(ViewManager& vm, Class cls, Space* parent)
: Space(vm, cls, parent) {}
};
class TestSpace : public Space
{
std::unique_ptr<Specter::Button> m_button;