mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-19 10:51:33 +00:00
28 lines
516 B
C++
28 lines
516 B
C++
#ifndef _CPVSVISSET
|
|
#define _CPVSVISSET
|
|
|
|
#include "rstl/auto_ptr.hpp"
|
|
|
|
enum EPVSVisSetState {
|
|
kVSS_EndOfTree,
|
|
kVSS_NodeFound,
|
|
kVSS_OutOfBounds,
|
|
};
|
|
|
|
class CPVSVisSet {
|
|
public:
|
|
CPVSVisSet(int numBits, int numLights, const rstl::auto_ptr< uchar >& leafPtr);
|
|
void Reset(EPVSVisSetState state);
|
|
|
|
EPVSVisSetState GetVisible(int index) const;
|
|
|
|
private:
|
|
EPVSVisSetState x0_state;
|
|
int x4_numBits;
|
|
int x8_numLights;
|
|
rstl::auto_ptr< uchar > xc_ptr;
|
|
};
|
|
CHECK_SIZEOF(CPVSVisSet, 0x14);
|
|
|
|
#endif // _CPVSVISSET
|