78 lines
1.5 KiB
C
78 lines
1.5 KiB
C
|
/*=========================================================================
|
||
|
|
||
|
start.h
|
||
|
|
||
|
Author: PKG
|
||
|
Created:
|
||
|
Project: Spongebob
|
||
|
Purpose:
|
||
|
|
||
|
Copyright (c) 2000 Climax Development Ltd
|
||
|
|
||
|
===========================================================================*/
|
||
|
|
||
|
#ifndef __FRONTEND_START_H__
|
||
|
#define __FRONTEND_START_H__
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Includes
|
||
|
-------- */
|
||
|
|
||
|
#ifndef __FRONTEND_FRONTEND_H__
|
||
|
#include "frontend\frontend.h"
|
||
|
#endif
|
||
|
|
||
|
|
||
|
/* Std Lib
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Tyepdefs && Defines
|
||
|
------------------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Structure defintions
|
||
|
-------------------- */
|
||
|
|
||
|
class CFrontEndStart : public CFrontEndMode
|
||
|
{
|
||
|
public:
|
||
|
void init();
|
||
|
void shutdown();
|
||
|
void select();
|
||
|
void unselect();
|
||
|
void render();
|
||
|
void think(int _frames);
|
||
|
|
||
|
int isReadyToExit();
|
||
|
CFrontEndScene::FrontEndMode getNextMode();
|
||
|
|
||
|
|
||
|
private:
|
||
|
enum
|
||
|
{
|
||
|
NO_SLOT_SELECTED=-1,
|
||
|
};
|
||
|
|
||
|
int m_selectedSlot;
|
||
|
int m_escapeToTitles;
|
||
|
int m_shuttingDown;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Globals
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Functions
|
||
|
--------- */
|
||
|
|
||
|
/*---------------------------------------------------------------------- */
|
||
|
|
||
|
#endif /* __FRONTEND_START_H__ */
|
||
|
|
||
|
/*===========================================================================
|
||
|
end */
|