My Project
 
Loading...
Searching...
No Matches
StartScene Class Reference

#include <startscene.h>

Inheritance diagram for StartScene:
Collaboration diagram for StartScene:

Classes

class  ChallengeButton
 
class  ClassShield
 
class  GameButton
 

Public Member Functions

virtual void init ()
 
virtual void destroy ()
 
void startNewGame ()
 
 StartScene ()
 
 ~StartScene ()
 
virtual void onBackPressed ()
 
- Public Member Functions inherited from PixelScene
 PixelScene ()
 
 ~PixelScene ()
 

Static Public Attributes

static HeroClass curClass
 
static const int BUTTON_HEIGHT = 24.0f
 
static const int GAP = 2
 
static const char * TXT_LOAD = "lang.loadgame"
 
static const char * TXT_NEW = "lang.newgame"
 
static const char * TXT_ERASE = "lang.erase_current_game"
 
static const char * TXT_DPTH_LVL = "lang.depth_lvl"
 
static const char * TXT_REALLY = "lang.really"
 
static const char * TXT_WARNING = "lang.start_scene_warning"
 
static const char * TXT_YES = "lang.start_scene_yes"
 
static const char * TXT_NO = "lang.start_scene_no"
 
static const char * TXT_UNLOCK = "lang.unlock"
 
static const char * TXT_WIN_THE_GAME = "lang.unlock_challenge"
 
static const int WIDTH_P = 116
 
static const int HEIGHT_P = 220
 
static const int WIDTH_L = 224
 
static const int HEIGHT_L = 124
 
- Static Public Attributes inherited from PixelScene
static float defaultZoom = 0
 
static float minZoom
 
static float maxZoom
 
static Camera * uiCamera
 
static float scale = 0.3f
 
static bool noFade = false
 

Additional Inherited Members

- Static Public Member Functions inherited from PixelScene
static BitmapText * createText (float size)
 
static BitmapText * createText (const std::string &text, float size)
 
static BitmapText * createText (Uint16 ch, float size)
 
static BitmapTextMultiline * createMultiline (float size)
 
static BitmapTextMultiline * createMultiline (const std::string &text, float size)
 
static float align (Camera *camera, float pos)
 
static float align (float pos)
 
static void align (Visual *v)
 
static void chooseFont (float size, float zoom)
 
static void showBadge (const Badges::Badge *badge)
 
- Public Attributes inherited from PixelScene
const float MIN_WIDTH_P = 128
 
const float MIN_HEIGHT_P = 224
 
const float MIN_WIDTH_L = 224
 
const float MIN_HEIGHT_L = 160
 
- Protected Member Functions inherited from PixelScene
void fadeIn ()
 
void fadeIn (int color, bool light)
 

Constructor & Destructor Documentation

◆ StartScene()

StartScene::StartScene ( )
Here is the caller graph for this function:

◆ ~StartScene()

StartScene::~StartScene ( )
Here is the call graph for this function:

Member Function Documentation

◆ destroy()

void StartScene::destroy ( )
virtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void StartScene::init ( )
virtual

Reimplemented from PixelScene.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onBackPressed()

void StartScene::onBackPressed ( )
virtual
Here is the call graph for this function:

◆ startNewGame()

void StartScene::startNewGame ( )
Here is the call graph for this function:

Member Data Documentation

◆ BUTTON_HEIGHT

const int StartScene::BUTTON_HEIGHT = 24.0f
static

◆ curClass

HeroClass StartScene::curClass
static

◆ GAP

const int StartScene::GAP = 2
static

◆ HEIGHT_L

const int StartScene::HEIGHT_L = 124
static

◆ HEIGHT_P

const int StartScene::HEIGHT_P = 220
static

◆ TXT_DPTH_LVL

const char * StartScene::TXT_DPTH_LVL = "lang.depth_lvl"
static

◆ TXT_ERASE

const char * StartScene::TXT_ERASE = "lang.erase_current_game"
static

◆ TXT_LOAD

const char * StartScene::TXT_LOAD = "lang.loadgame"
static

◆ TXT_NEW

const char * StartScene::TXT_NEW = "lang.newgame"
static

◆ TXT_NO

const char * StartScene::TXT_NO = "lang.start_scene_no"
static

◆ TXT_REALLY

const char * StartScene::TXT_REALLY = "lang.really"
static

◆ TXT_UNLOCK

const char * StartScene::TXT_UNLOCK = "lang.unlock"
static

◆ TXT_WARNING

const char * StartScene::TXT_WARNING = "lang.start_scene_warning"
static

◆ TXT_WIN_THE_GAME

const char * StartScene::TXT_WIN_THE_GAME = "lang.unlock_challenge"
static

◆ TXT_YES

const char * StartScene::TXT_YES = "lang.start_scene_yes"
static

◆ WIDTH_L

const int StartScene::WIDTH_L = 224
static

◆ WIDTH_P

const int StartScene::WIDTH_P = 116
static

The documentation for this class was generated from the following files: