SBSPSS/source/game/pause.h

92 lines
1.6 KiB
C
Raw Normal View History

2001-02-09 18:48:35 +01:00
/*=========================================================================
pause.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __GAME_PAUSE_H__
#define __GAME_PAUSE_H__
/*----------------------------------------------------------------------
Includes
-------- */
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPauseMenu
{
public:
void init();
void shutdown();
void select();
2001-02-09 22:41:55 +01:00
void unselect();
2001-02-09 18:48:35 +01:00
void think(int _frames);
void render();
int isActive();
private:
2001-06-27 20:06:59 +02:00
typedef enum
{
STATE__MAIN_MENU,
STATE__CONFIRM_QUIT,
} STATE;
enum
{
RESPONSE__WAITING,
RESPONSE__CONTINUE,
RESPONSE__QUIT,
RESPONSE__CONFIRM_QUIT_YES,
RESPONSE__CONFIRM_QUIT_NO,
};
void renderLives();
2001-02-09 22:41:55 +01:00
int m_active;
2001-06-27 20:06:59 +02:00
int m_responseFlag;
STATE m_currentState;
class CGUIControlFrame *m_pauseGuiFrame;
class CGUIControlFrame *m_confirmQuitGuiFrame;
2001-02-09 22:41:55 +01:00
2001-06-27 20:06:59 +02:00
class FontBank *m_fontBank;
2001-02-09 18:48:35 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
2001-02-09 22:41:55 +01:00
#endif /* __GAME_PAUSE_H__ */
2001-02-09 18:48:35 +01:00
/*===========================================================================
end */