begin to set up the structure for al::LIveActor and classes it inherits

This commit is contained in:
shibbo 2020-10-31 03:44:00 -04:00
parent 5a0133e169
commit 42b2c69c27
21 changed files with 267 additions and 3 deletions

View File

@ -0,0 +1,10 @@
#pragma once
namespace al
{
class ActorInitInfo
{
public:
};
};

View File

@ -0,0 +1,10 @@
#pragma once
namespace al
{
class IUseName
{
public:
virtual const char* getName() const = 0;
};
};

View File

@ -0,0 +1,38 @@
#pragma once
#include "al/actor/ActorInitInfo.h"
#include "al/area/AreaObjDirector.h"
#include "al/audio/AudioKeeper.h"
#include "al/camera/CameraDirector.h"
#include "al/collision/CollisionDirector.h"
#include "al/effect/EffectKeeper.h"
#include "al/hio/IUseHioNode.h"
#include "al/nerve/Nerve.h"
#include "al/rail/RailKeeper.h"
#include "al/rail/RailRider.h"
#include "al/scene/SceneObjHolder.h"
#include "al/screen/ScreenPointKeeper.h"
#include "al/sensor/HitSensorKeeper.h"
#include "al/switch/StageSwitchKeeper.h"
namespace al
{
class LiveActor : public al::IUseNerve, public al::IUseEffectKeeper, public al::IUseAudioKeeper, public al::IUseStageSwitch, public al::IUseSceneObjHolder, public al::IUseAreaObj, public al::IUseCamera, public al::IUseCollision, public al::IUseRail, public al::IUseHioNode
{
public:
LiveActor(const char *);
virtual al::NerveKeeper* getNerveKeeper() const;
const char* mActorName; // _48
char _50[0x90-0x50];
al::NerveKeeper* mNerveKeeper; // _90
al::HitSensorKeeper* mHitSensorKeeper; // _98
al::ScreenPointKeeper* mScreenPointKeeper; // _A0
al::EffectKeeper* mEffectKeeper; // _A8
al::AudioKeeper* mAudioKeeper; // _B0
al::StageSwitchKeeper* mStageSwitchKeeper; // _C0
al::RailKeeper* mRailKeeper; // _C8
};
};

View File

@ -0,0 +1,12 @@
#pragma once
namespace al
{
class AreaObjDirector;
class IUseAreaObj
{
public:
virtual al::AreaObjDirector* getAreaObjDirector() const = 0;
};
};

View File

@ -0,0 +1,18 @@
#pragma once
namespace al
{
class AudioKeeper;
class IUseAudioKeeper
{
public:
virtual al::AudioKeeper* getAudioKeeper() const = 0;
};
class AudioKeeper
{
public:
};
};

View File

@ -0,0 +1,12 @@
#pragma once
namespace al
{
class CameraDirector;
class IUseCamera
{
public:
virtual al::CameraDirector* getCameraDirector() const = 0;
};
};

View File

@ -0,0 +1,12 @@
#pragma once
namespace al
{
class CollisionDirector;
class IUseCollision
{
public:
virtual al::CollisionDirector* getCollisionDirector() const = 0;
};
};

View File

@ -0,0 +1,9 @@
#pragma once
namespace al
{
class Effect
{
};
};

View File

@ -0,0 +1,10 @@
#pragma once
namespace al
{
class EffectInfo
{
public:
};
}

View File

@ -0,0 +1,17 @@
#pragma once
namespace al
{
class EffectKeeper;
class IUseEffectKeeper
{
public:
virtual al::EffectKeeper* getEffectKeeper() const = 0;
};
class EffectKeeper
{
};
}

View File

@ -0,0 +1,19 @@
#pragma once
namespace al
{
class EffectUserInfo
{
public:
EffectUserInfo();
unsigned long _0;
int _8;
int _C;
unsigned long _10;
int _18;
int _1C;
unsigned long _20;
unsigned long _28;
};
};

View File

@ -0,0 +1,10 @@
#pragma once
namespace al
{
class IUseHioNode
{
public:
// ??
};
};

View File

@ -10,12 +10,10 @@ namespace al
inline IUseNerve()
{
mKeeper = nullptr;
}
virtual NerveKeeper* getNerveKeeper() const = 0;
al::NerveKeeper* mKeeper; // _8
};
class Nerve

View File

@ -15,5 +15,7 @@ namespace al
void initNerve(const al::Nerve *, int);
void updateNerve();
al::NerveKeeper* mKeeper; // _8
};
};

View File

@ -0,0 +1,14 @@
#pragma once
#include "al/rail/RailRider.h"
namespace al
{
class RailKeeper
{
public:
virtual al::RailRider* getRailRider() const;
al::RailRider* mRailRider; // _8
};
};

View File

@ -0,0 +1,12 @@
#pragma once
namespace al
{
class RailRider;
class IUseRail
{
public:
virtual al::RailRider* getRailRider() const = 0;
};
};

View File

@ -0,0 +1,12 @@
#pragma once
namespace al
{
class SceneObjHolder;
class IUseSceneObjHolder
{
public:
virtual al::SceneObjHolder* getSceneObjHolder() const = 0;
};
};

View File

@ -0,0 +1,10 @@
#pragma once
namespace al
{
class ScreenPointKeeper
{
public:
};
};

View File

@ -0,0 +1,10 @@
#pragma once
namespace al
{
class HitSensorKeeper
{
public:
};
};

View File

@ -0,0 +1,15 @@
#pragma once
#include "al/actor/IUseName.h"
namespace al
{
class StageSwitchKeeper;
class IUseStageSwitch : virtual public al::IUseName
{
public:
virtual al::StageSwitchKeeper* getStageSwitchKeeper() const = 0;
virtual void initStageSwitchKeeper() = 0;
};
};

View File

@ -0,0 +1,14 @@
#include "al/actor/LiveActor.h"
namespace al
{
LiveActor::LiveActor(const char *pName)
{
}
al::NerveKeeper* LiveActor::getNerveKeeper() const
{
return mNerveKeeper;
}
};