mirror of https://github.com/PrimeDecomp/prime.git
24 lines
672 B
C++
24 lines
672 B
C++
#ifndef __CHUDMEMOPARMS_HPP__
|
|
#define __CHUDMEMOPARMS_HPP__
|
|
|
|
#include "types.h"
|
|
class CInputStream;
|
|
class CHUDMemoParms {
|
|
public:
|
|
CHUDMemoParms(float dispTime, bool clear, bool fadeOut, bool hint)
|
|
: mDispTime(dispTime), mClearMemoWindow(clear), mFadeOutOnly(fadeOut), mHintMemo(hint) {}
|
|
CHUDMemoParms(CInputStream& in);
|
|
|
|
float GetDisplayTime() const { return mDispTime; }
|
|
bool IsClearMemoWindow() const { return mClearMemoWindow; }
|
|
bool IsFadeOutOnly() const { return mFadeOutOnly; }
|
|
bool IsHintMemo() const { return mHintMemo; }
|
|
|
|
private:
|
|
float mDispTime;
|
|
bool mClearMemoWindow;
|
|
bool mFadeOutOnly;
|
|
bool mHintMemo;
|
|
};
|
|
#endif // __CHUDMEMOPARMS_HPP__
|