mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-12 19:08:16 -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
60 lines
1.3 KiB
C++
60 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Game/NameObj/NameObj.hpp"
|
|
#include <JSystem/JGeometry/TVec.hpp>
|
|
|
|
class ChipBase;
|
|
class StageSwitchCtrl;
|
|
|
|
class ChipGroup : public NameObj {
|
|
public:
|
|
ChipGroup(const char*, s32);
|
|
|
|
struct ChipEntry {
|
|
/* 0x0 */ ChipBase* mChip;
|
|
/* 0x4 */ bool mIsGotten;
|
|
};
|
|
|
|
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();
|
|
|
|
/* 0x0C */ ChipEntry mChips[5];
|
|
/* 0x34 */ StageSwitchCtrl* mSwitchCtrl;
|
|
/* 0x38 */ TVec3f mUIPos;
|
|
/* 0x44 */ s32 mGotCount;
|
|
/* 0x48 */ s32 mTotalCount;
|
|
/* 0x4C */ s32 mStageSwitchArg;
|
|
/* 0x50 */ s32 mChipType;
|
|
/* 0x54 */ s32 mFlashFrame;
|
|
/* 0x58 */ s32 mCounterTimer;
|
|
/* 0x5C */ f32 mUIRange;
|
|
/* 0x60 */ f32 mUIRangeFixed;
|
|
/* 0x64 */ u32 mIsDeactivated;
|
|
/* 0x68 */ s32 mAlreadyDoneFlag;
|
|
/* 0x6C */ u8 mIsListeningAppear;
|
|
/* 0x6D */ u8 mIsCounterVisible;
|
|
};
|
|
|
|
class BlueChipGroup : public ChipGroup {
|
|
public:
|
|
BlueChipGroup(const char*);
|
|
|
|
virtual ~BlueChipGroup();
|
|
};
|
|
|
|
class YellowChipGroup : public ChipGroup {
|
|
public:
|
|
YellowChipGroup(const char*);
|
|
|
|
virtual ~YellowChipGroup();
|
|
};
|