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-02-09 22:41:55 +01:00
|
|
|
int m_active;
|
2001-02-12 18:18:17 +01:00
|
|
|
int m_exitPauseMenuFlag;
|
|
|
|
int m_quitGameFlag;
|
2001-02-09 22:41:55 +01:00
|
|
|
|
2001-05-13 23:06:26 +02:00
|
|
|
class CGUIControlFrame *m_guiFrame;
|
|
|
|
class CGUISpatCountReadout *m_guiSpatReadout;
|
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 */
|