2000-08-29 21:54:22 +02:00
|
|
|
/**********************/
|
|
|
|
/*** Main Game File ***/
|
|
|
|
/**********************/
|
|
|
|
|
|
|
|
#ifndef __GAME_GAME_H__
|
|
|
|
#define __GAME_GAME_H__
|
|
|
|
|
2000-12-07 16:56:20 +01:00
|
|
|
#include "system\gstate.h"
|
|
|
|
#include "level\level.h"
|
2000-08-29 21:54:22 +02:00
|
|
|
|
2001-01-10 18:27:12 +01:00
|
|
|
#ifndef __GAME_CONVO_H__
|
|
|
|
#include "game\convo.h"
|
|
|
|
#endif
|
|
|
|
|
2000-08-29 21:54:22 +02:00
|
|
|
/*****************************************************************************/
|
2000-12-07 16:56:20 +01:00
|
|
|
class FontBank;
|
2000-08-29 21:54:22 +02:00
|
|
|
|
|
|
|
class CGameScene : public CScene
|
|
|
|
{
|
|
|
|
public:
|
2000-09-12 01:41:29 +02:00
|
|
|
CGameScene() {;}
|
|
|
|
virtual ~CGameScene() {;}
|
2000-08-29 21:54:22 +02:00
|
|
|
|
|
|
|
|
2000-10-26 18:50:54 +02:00
|
|
|
void init();
|
|
|
|
void shutdown();
|
|
|
|
void render();
|
|
|
|
void think(int _frames);
|
|
|
|
int readyToShutdown();
|
|
|
|
char *getSceneName() {return "Game";}
|
2000-08-29 21:54:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2000-12-07 16:56:20 +01:00
|
|
|
CLevel Level;
|
2001-01-10 18:27:12 +01:00
|
|
|
CConversation m_conversation;
|
2000-12-07 16:56:20 +01:00
|
|
|
static FontBank *s_genericFont;
|
|
|
|
//static class SpriteBank *s_sprites; <-- Was causing compile error, sorry
|
2000-10-31 17:41:02 +01:00
|
|
|
|
2000-08-29 21:54:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
extern CGameScene GameScene;
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
#endif
|