prime/include/MetroidPrime/Player/CHintOptions.hpp

31 lines
609 B
C++
Raw Permalink Normal View History

#ifndef _CHINTOPTIONS
#define _CHINTOPTIONS
#include "types.h"
#include "rstl/vector.hpp"
2022-10-10 19:44:11 +00:00
#include "rstl/string.hpp"
enum EHintState { kHS_Zero, kHS_Waiting, kHS_Displaying, kHS_Delayed };
struct SHintState {
EHintState x0_state;
float x4_time;
bool x8_dismissed;
};
class CHintOptions {
public:
void SetHintNextTime();
void DelayHint(const rstl::string& name);
void ActivateImmediateHintTimer(const rstl::string& name);
void ActivateContinueDelayHintTimer(const rstl::string& name);
private:
rstl::vector< SHintState > x0_hintStates;
int x10_nextHintIdx;
};
#endif // _CHINTOPTIONS