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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user