mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-27 11:04:16 +00:00
26 lines
640 B
C++
26 lines
640 B
C++
#pragma once
|
|
|
|
#include <basis/seadTypes.h>
|
|
|
|
namespace al {
|
|
class ScreenPointTarget;
|
|
|
|
class ScreenPointCheckGroup {
|
|
public:
|
|
ScreenPointCheckGroup(s32 size);
|
|
void setValid(ScreenPointTarget* target);
|
|
void setInvalid(ScreenPointTarget* target);
|
|
ScreenPointTarget* getTarget(s32 index) const;
|
|
void setTarget(ScreenPointTarget* target);
|
|
|
|
private:
|
|
s32 mSize = 0;
|
|
s32 mCount = 0;
|
|
s32 mValidCount = 0;
|
|
// `mValidCount` valid targets first, followed by invalid ones up to `mCount`
|
|
ScreenPointTarget** mScreenPointTargets = nullptr;
|
|
};
|
|
|
|
static_assert(sizeof(ScreenPointCheckGroup) == 0x18);
|
|
} // namespace al
|