mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2024-11-23 13:29:49 +00:00
begin to set up the structure for al::LIveActor and classes it inherits
This commit is contained in:
parent
5a0133e169
commit
42b2c69c27
10
include/al/actor/ActorInitInfo.h
Normal file
10
include/al/actor/ActorInitInfo.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class ActorInitInfo
|
||||
{
|
||||
public:
|
||||
|
||||
};
|
||||
};
|
10
include/al/actor/IUseName.h
Normal file
10
include/al/actor/IUseName.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class IUseName
|
||||
{
|
||||
public:
|
||||
virtual const char* getName() const = 0;
|
||||
};
|
||||
};
|
38
include/al/actor/LiveActor.h
Normal file
38
include/al/actor/LiveActor.h
Normal 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
|
||||
};
|
||||
};
|
12
include/al/area/AreaObjDirector.h
Normal file
12
include/al/area/AreaObjDirector.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class AreaObjDirector;
|
||||
|
||||
class IUseAreaObj
|
||||
{
|
||||
public:
|
||||
virtual al::AreaObjDirector* getAreaObjDirector() const = 0;
|
||||
};
|
||||
};
|
18
include/al/audio/AudioKeeper.h
Normal file
18
include/al/audio/AudioKeeper.h
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class AudioKeeper;
|
||||
|
||||
class IUseAudioKeeper
|
||||
{
|
||||
public:
|
||||
virtual al::AudioKeeper* getAudioKeeper() const = 0;
|
||||
};
|
||||
|
||||
class AudioKeeper
|
||||
{
|
||||
public:
|
||||
|
||||
};
|
||||
};
|
12
include/al/camera/CameraDirector.h
Normal file
12
include/al/camera/CameraDirector.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class CameraDirector;
|
||||
|
||||
class IUseCamera
|
||||
{
|
||||
public:
|
||||
virtual al::CameraDirector* getCameraDirector() const = 0;
|
||||
};
|
||||
};
|
12
include/al/collision/CollisionDirector.h
Normal file
12
include/al/collision/CollisionDirector.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class CollisionDirector;
|
||||
|
||||
class IUseCollision
|
||||
{
|
||||
public:
|
||||
virtual al::CollisionDirector* getCollisionDirector() const = 0;
|
||||
};
|
||||
};
|
9
include/al/effect/Effect.h
Normal file
9
include/al/effect/Effect.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class Effect
|
||||
{
|
||||
|
||||
};
|
||||
};
|
10
include/al/effect/EffectInfo.h
Normal file
10
include/al/effect/EffectInfo.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class EffectInfo
|
||||
{
|
||||
public:
|
||||
|
||||
};
|
||||
}
|
17
include/al/effect/EffectKeeper.h
Normal file
17
include/al/effect/EffectKeeper.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class EffectKeeper;
|
||||
|
||||
class IUseEffectKeeper
|
||||
{
|
||||
public:
|
||||
virtual al::EffectKeeper* getEffectKeeper() const = 0;
|
||||
};
|
||||
|
||||
class EffectKeeper
|
||||
{
|
||||
|
||||
};
|
||||
}
|
19
include/al/effect/EffectUserInfo.h
Normal file
19
include/al/effect/EffectUserInfo.h
Normal 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;
|
||||
};
|
||||
};
|
10
include/al/hio/IUseHioNode.h
Normal file
10
include/al/hio/IUseHioNode.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class IUseHioNode
|
||||
{
|
||||
public:
|
||||
// ??
|
||||
};
|
||||
};
|
@ -10,12 +10,10 @@ namespace al
|
||||
|
||||
inline IUseNerve()
|
||||
{
|
||||
mKeeper = nullptr;
|
||||
|
||||
}
|
||||
|
||||
virtual NerveKeeper* getNerveKeeper() const = 0;
|
||||
|
||||
al::NerveKeeper* mKeeper; // _8
|
||||
};
|
||||
|
||||
class Nerve
|
||||
|
@ -15,5 +15,7 @@ namespace al
|
||||
|
||||
void initNerve(const al::Nerve *, int);
|
||||
void updateNerve();
|
||||
|
||||
al::NerveKeeper* mKeeper; // _8
|
||||
};
|
||||
};
|
14
include/al/rail/RailKeeper.h
Normal file
14
include/al/rail/RailKeeper.h
Normal 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
|
||||
};
|
||||
};
|
12
include/al/rail/RailRider.h
Normal file
12
include/al/rail/RailRider.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class RailRider;
|
||||
|
||||
class IUseRail
|
||||
{
|
||||
public:
|
||||
virtual al::RailRider* getRailRider() const = 0;
|
||||
};
|
||||
};
|
12
include/al/scene/SceneObjHolder.h
Normal file
12
include/al/scene/SceneObjHolder.h
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class SceneObjHolder;
|
||||
|
||||
class IUseSceneObjHolder
|
||||
{
|
||||
public:
|
||||
virtual al::SceneObjHolder* getSceneObjHolder() const = 0;
|
||||
};
|
||||
};
|
10
include/al/screen/ScreenPointKeeper.h
Normal file
10
include/al/screen/ScreenPointKeeper.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class ScreenPointKeeper
|
||||
{
|
||||
public:
|
||||
|
||||
};
|
||||
};
|
10
include/al/sensor/HitSensorKeeper.h
Normal file
10
include/al/sensor/HitSensorKeeper.h
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
namespace al
|
||||
{
|
||||
class HitSensorKeeper
|
||||
{
|
||||
public:
|
||||
|
||||
};
|
||||
};
|
15
include/al/switch/StageSwitchKeeper.h
Normal file
15
include/al/switch/StageSwitchKeeper.h
Normal 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;
|
||||
};
|
||||
};
|
14
source/al/actor/LiveActor.cpp
Normal file
14
source/al/actor/LiveActor.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include "al/actor/LiveActor.h"
|
||||
|
||||
namespace al
|
||||
{
|
||||
LiveActor::LiveActor(const char *pName)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
al::NerveKeeper* LiveActor::getNerveKeeper() const
|
||||
{
|
||||
return mNerveKeeper;
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user