Files
DoomRTX/neo/prey/Prey/game_animatedgui.h
T
2026-05-05 15:01:01 -07:00

35 lines
691 B
C++

#ifndef __GAME_ANIMATEDGUI_H__
#define __GAME_ANIMATEDGUI_H__
class hhAnimatedGui : public hhAnimatedEntity {
public:
CLASS_PROTOTYPE(hhAnimatedGui);
void Spawn(void);
hhAnimatedGui();
virtual ~hhAnimatedGui();
virtual void Think();
void Save( idSaveGame *savefile ) const;
void Restore( idRestoreGame *savefile );
protected:
void FadeInGui();
void FadeOutGui();
void Event_Trigger( idEntity *activator );
void Event_PlayIdle();
protected:
bool bOpen;
int idleOpenAnim;
int idleCloseAnim;
int openAnim;
int closeAnim;
idInterpolate<float> guiScale;
idEntity * attachedConsole;
};
#endif /* __GAME_ANIMATEDGUI_H__ */