mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
67 lines
1.3 KiB
C++
67 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Game/NameObj/NameObj.hpp"
|
|
#include "Game/Map/StageSwitch.hpp"
|
|
#include <JSystem/JGeometry.hpp>
|
|
|
|
class ChipBase;
|
|
|
|
class ChipGroup : public NameObj {
|
|
public:
|
|
ChipGroup(const char *, s32);
|
|
|
|
struct ChipEntry {
|
|
ChipBase* mChip; // 0x0
|
|
bool mIsGotten; // 0x4
|
|
};
|
|
|
|
virtual ~ChipGroup();
|
|
virtual void init(const JMapInfoIter &);
|
|
virtual void movement();
|
|
|
|
void updateUIRange();
|
|
void registerChip(ChipBase *);
|
|
void noticeEndCompleteDemo();
|
|
s32 getGotCount() const;
|
|
bool isComplete() const;
|
|
void noticeGet(ChipBase *);
|
|
void receiveAppearRequest();
|
|
|
|
/*inline ChipEntry** first() {
|
|
return &mChips;
|
|
}
|
|
|
|
inline ChipEntry& last() {
|
|
return mChips[4];
|
|
}*/
|
|
|
|
ChipEntry mChips[5]; // 0xC
|
|
StageSwitchCtrl* mSwitchCtrl; // 0x34
|
|
TVec3f _38;
|
|
s32 mGotCount; // 0x44
|
|
s32 mTotalCount; // 0x48
|
|
s32 _4C;
|
|
s32 _50;
|
|
u32 _54;
|
|
u32 _58;
|
|
f32 _5C;
|
|
f32 _60;
|
|
u32 _64;
|
|
u32 _68;
|
|
u8 _6C;
|
|
u8 _6D;
|
|
};
|
|
|
|
class BlueChipGroup : public ChipGroup {
|
|
public:
|
|
BlueChipGroup(const char *);
|
|
|
|
virtual ~BlueChipGroup();
|
|
};
|
|
|
|
class YellowChipGroup : public ChipGroup {
|
|
public:
|
|
YellowChipGroup(const char *);
|
|
|
|
virtual ~YellowChipGroup();
|
|
}; |