This commit is contained in:
parent
903a84367b
commit
d936b98f6a
9 changed files with 264 additions and 33 deletions
|
@ -12,6 +12,7 @@
|
|||
===========================================================================*/
|
||||
|
||||
#ifndef __FRONTEND_MAINTITL_H__
|
||||
#define __FRONTEND_MAINTITL_H__
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Includes
|
||||
|
@ -21,6 +22,10 @@
|
|||
#include "gfx\prim.h"
|
||||
#endif
|
||||
|
||||
#ifndef __FRONTEND_FRONTENTD_H__
|
||||
#include "frontend\frontend.h"
|
||||
#endif
|
||||
|
||||
|
||||
/* Std Lib
|
||||
------- */
|
||||
|
@ -33,7 +38,7 @@
|
|||
Structure defintions
|
||||
-------------------- */
|
||||
|
||||
class CFrontEndMainTitles
|
||||
class CFrontEndMainTitles : public CFrontEndMode
|
||||
{
|
||||
public:
|
||||
void init();
|
||||
|
@ -41,6 +46,9 @@ public:
|
|||
void render();
|
||||
void think(int _frames);
|
||||
|
||||
int isReadyToExit();
|
||||
CFrontEndScene::FrontEndMode getNextMode();
|
||||
|
||||
|
||||
private:
|
||||
enum
|
||||
|
@ -67,6 +75,8 @@ private:
|
|||
{
|
||||
MODE__PRESS_START,
|
||||
MODE__SELECT_OPTION,
|
||||
MODE__START_GAME,
|
||||
MODE__GOTO_OPTIONS,
|
||||
};
|
||||
|
||||
POLY_FT4 *prepareSeaPortionFT4(struct sFrameHdr *_fh,int _x,int _y,int _w,int _h,int _rgb);
|
||||
|
@ -76,9 +86,14 @@ private:
|
|||
|
||||
class SpriteBank *m_sprites;
|
||||
class FontBank *m_smallFont;
|
||||
class FontBank *m_bigFont;
|
||||
|
||||
class CGUIControlFrame *m_mainMenu;
|
||||
|
||||
int m_mode;
|
||||
|
||||
int m_startGameFlag;
|
||||
int m_gotoOptionsFlag;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue