Fix compilation

Former-commit-id: a6a103de01
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-06 23:40:18 +03:00
parent 72ba8f32df
commit 698badd39d
6 changed files with 49 additions and 24 deletions

View File

@ -3,8 +3,11 @@
#include "types.h" #include "types.h"
#include "Kyoto/TToken.hpp"
#include "Kyoto/Particles/CParticleGen.hpp" #include "Kyoto/Particles/CParticleGen.hpp"
class CGenDescription;
class CElementGen : public CParticleGen { class CElementGen : public CParticleGen {
public: public:
enum EModelOrientationType { kMOT_Normal, kMOT_One }; enum EModelOrientationType { kMOT_Normal, kMOT_One };

View File

@ -21,6 +21,7 @@ class CAnimRes;
class CFrustumPlanes; class CFrustumPlanes;
class CModel; class CModel;
class CModelFlags; class CModelFlags;
class CStateManager;
// TODO move // TODO move
#include "Kyoto/Math/CQuaternion.hpp" #include "Kyoto/Math/CQuaternion.hpp"

View File

@ -2,23 +2,7 @@
#include "types.h" #include "types.h"
// TODO CGunMotion? #include "MetroidPrime/Weapons/GunController/CGunMotion.hpp"
namespace SamusGun {
enum EAnimationState {
kAS_Wander,
kAS_Fidget,
kAS_Struck,
kAS_FreeLook,
kAS_ComboFire,
kAS_Idle,
kAS_BasePosition,
};
enum EFidgetType {
kFT_Invalid = -1,
kFT_Minor,
kFT_Major,
};
} // namespace SamusGun
class CStateManager; class CStateManager;

View File

@ -1,11 +1,33 @@
#ifndef _CGUNMOTION_HPP #ifndef _CGUNMOTION_HPP
#define _CGUNMOTION_HPP #define _CGUNMOTION_HPP
#include "MetroidPrime/CModelData.hpp"
#include "Kyoto/CToken.hpp"
#include "Kyoto/CObjectReference.hpp" #include "Kyoto/CObjectReference.hpp"
#include "rstl/vector.hpp"
class CVector3f; class CVector3f;
class CStateManager; class CStateManager;
namespace SamusGun {
enum EAnimationState {
kAS_Wander,
kAS_Fidget,
kAS_Struck,
kAS_FreeLook,
kAS_ComboFire,
kAS_Idle,
kAS_BasePosition,
};
enum EFidgetType {
kFT_Invalid = -1,
kFT_Minor,
kFT_Major,
};
} // namespace SamusGun
class CGunMotion { class CGunMotion {
public: public:
CGunMotion(CAssetId ancsId, const CVector3f& scale); CGunMotion(CAssetId ancsId, const CVector3f& scale);

View File

@ -30,16 +30,30 @@ void CObjectList::AddObject(CEntity& ent) {
void CObjectList::RemoveObject(TUniqueId uid) {} void CObjectList::RemoveObject(TUniqueId uid) {}
CEntity* CObjectList::GetObjectById() {} CEntity* CObjectList::GetObjectById() {
return nullptr;
}
const CEntity* CObjectList::GetObjectById() const {} const CEntity* CObjectList::GetObjectById() const {
return nullptr;
}
CEntity* CObjectList::GetValidObjectById(TUniqueId uid) {} CEntity* CObjectList::GetValidObjectById(TUniqueId uid) {
return nullptr;
}
const CEntity* CObjectList::GetValidObjectById(TUniqueId uid) const {} const CEntity* CObjectList::GetValidObjectById(TUniqueId uid) const {
return nullptr;
}
CEntity* CObjectList::operator[](int idx) {} CEntity* CObjectList::operator[](int idx) {
return nullptr;
}
const CEntity* CObjectList::operator[](int idx) const {} const CEntity* CObjectList::operator[](int idx) const {
return nullptr;
}
const CEntity* CObjectList::GetValidObjectByIndex(int idx) const {} const CEntity* CObjectList::GetValidObjectByIndex(int idx) const {
return nullptr;
}

View File

@ -0,0 +1 @@
#include "MetroidPrime/Weapons/GunController/CGunMotion.hpp"