SBSPSS/source/game/pause.h

97 lines
1.8 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-07-18 22:39:48 +02:00
int m_SpeechPlaying;
2001-07-10 21:43:13 +02:00
int m_padDebounce;
2001-06-27 20:06:59 +02:00
int m_responseFlag;
2001-07-26 18:12:32 +02:00
int m_vibrationChangeFlag;
int m_vibrationState;
2001-06-27 20:06:59 +02:00
STATE m_currentState;
class CGUIControlFrame *m_pauseGuiFrame;
class CGUIControlFrame *m_confirmQuitGuiFrame;
2001-07-31 18:01:36 +02:00
class CGUIObject *m_vibGUIOption;
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 */