mirror of https://github.com/PrimeDecomp/prime.git
30 lines
582 B
C++
30 lines
582 B
C++
#ifndef _CHINTOPTIONS
|
|
#define _CHINTOPTIONS
|
|
|
|
#include "types.h"
|
|
|
|
#include "rstl/vector.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
|