mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-10 04:41:32 -10:00
* (Cleanup) offset comments for DinoPackun * (Cleanup) offset comments for SkeletalFishBoss * (Cleanup) offset comments for CameraTranslators * (Cleanup) offset comments for Demos * (Cleanup) offset comments for Enemies * (Cleanup) offset comments for Gravities * (Cleanup) offset comments for LiveActors * (Cleanup) offset comments for Maps * (Cleanup) offset comments for MapObjs * (Cleanup) offset comments for NameObjs * (Cleanup) offset comments for NPCs * (Cleanup) offset comments for Player * (Cleanup) offset comments for Scenes * (Cleanup) offset comments for System * (Cleanup) offset comments for Utils * (Cleanup) offset comments for JSystem * (Cleanup) offset comments for MetroTRK * forgot the union comments * (Cleanup) offset comments for MSL_C * (Cleanup) offset comments for nw4r * (Cleanup) offset comments for the SDK * (Cleanup) offset comments for all that was left
129 lines
3.1 KiB
C++
129 lines
3.1 KiB
C++
#pragma once
|
|
|
|
#include "Game/MapObj/MapObjActor.hpp"
|
|
#include <JSystem/JGeometry/TMatrix.hpp>
|
|
|
|
class NameObjArchiveListCollector;
|
|
|
|
struct SoundEffectDataEntry {
|
|
/* 0x0 */ const char* objectName;
|
|
/* 0x4 */ const char* soundName;
|
|
/* 0x8 */ f32 _8;
|
|
};
|
|
|
|
class SimpleMapObj : public MapObjActor {
|
|
public:
|
|
SimpleMapObj(const char* pName) : MapObjActor(pName) {
|
|
}
|
|
|
|
virtual ~SimpleMapObj() {
|
|
}
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
};
|
|
|
|
class SimpleEnvironmentObj : public MapObjActor {
|
|
public:
|
|
inline SimpleEnvironmentObj(const char* pName) : MapObjActor(pName) {
|
|
}
|
|
|
|
virtual ~SimpleEnvironmentObj();
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void connectToScene(const MapObjActorInitInfo&);
|
|
};
|
|
|
|
class SimpleMapObjFarMax : public SimpleMapObj {
|
|
public:
|
|
inline SimpleMapObjFarMax(const char* pName) : SimpleMapObj(pName) {
|
|
}
|
|
|
|
virtual ~SimpleMapObjFarMax() {
|
|
}
|
|
|
|
virtual void init(const JMapInfoIter&);
|
|
};
|
|
|
|
class SimpleMapObjPush : public SimpleMapObj {
|
|
public:
|
|
inline SimpleMapObjPush(const char* pName) : SimpleMapObj(pName) {
|
|
}
|
|
|
|
virtual ~SimpleMapObjPush();
|
|
virtual void attackSensor(HitSensor*, HitSensor*);
|
|
};
|
|
|
|
class SimpleMapObjNoSilhouetted : public SimpleMapObj {
|
|
public:
|
|
inline SimpleMapObjNoSilhouetted(const char* pName) : SimpleMapObj(pName) {
|
|
}
|
|
|
|
virtual ~SimpleMapObjNoSilhouetted();
|
|
virtual void connectToScene(const MapObjActorInitInfo&);
|
|
};
|
|
|
|
class SimpleSeesawObj : public MapObjActor {
|
|
public:
|
|
SimpleSeesawObj(const char*);
|
|
|
|
virtual ~SimpleSeesawObj();
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void control();
|
|
|
|
/* 0xC4 */ TMtx34f _C4;
|
|
};
|
|
|
|
class SimpleMirrorObj : public MapObjActor {
|
|
public:
|
|
SimpleMirrorObj(const char* pName, const char* a2 = nullptr, MtxPtr = nullptr);
|
|
|
|
virtual ~SimpleMirrorObj();
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void calcAndSetBaseMtx();
|
|
|
|
/* 0xC4 */ MtxPtr mMtx;
|
|
};
|
|
|
|
class SimpleMirrorReflectionObj : public SimpleMapObj {
|
|
public:
|
|
inline SimpleMirrorReflectionObj(const char* pName) : SimpleMapObj(pName) {
|
|
}
|
|
|
|
virtual ~SimpleMirrorReflectionObj();
|
|
virtual void init(const JMapInfoIter&);
|
|
virtual void connectToScene(const MapObjActorInitInfo&);
|
|
};
|
|
|
|
class SimpleTextureSwitchChangeObj : public SimpleMapObj {
|
|
public:
|
|
inline SimpleTextureSwitchChangeObj(const char* pName) : SimpleMapObj(pName) {
|
|
}
|
|
|
|
virtual ~SimpleTextureSwitchChangeObj();
|
|
virtual void initCaseUseSwitchA(const MapObjActorInitInfo&);
|
|
virtual s32 getChangedTextureNo() const;
|
|
|
|
void changeTexture();
|
|
};
|
|
|
|
class UFOKinokoUnderConstruction : public MapObjActor {
|
|
public:
|
|
inline UFOKinokoUnderConstruction(const char* pName) : MapObjActor(pName) {
|
|
}
|
|
|
|
virtual ~UFOKinokoUnderConstruction();
|
|
virtual void init(const JMapInfoIter&);
|
|
};
|
|
|
|
class GlaringLight : public SimpleMapObj {
|
|
public:
|
|
inline GlaringLight(const char* pName) : SimpleMapObj(pName) {
|
|
}
|
|
|
|
virtual ~GlaringLight();
|
|
virtual void connectToScene(const MapObjActorInitInfo&);
|
|
};
|
|
|
|
namespace MR {
|
|
void makeArchiveListUFOKinokoUnderConstruction(NameObjArchiveListCollector*, const JMapInfoIter&);
|
|
}; // namespace MR
|