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

#include <interlevelscene.h>

Inheritance diagram for InterlevelScene:
Collaboration diagram for InterlevelScene:

Public Types

enum  Phase { FADE_IN , STATIC , FADE_OUT }
 
enum  Mode {
  DESCEND , ASCEND , CONTINUE , RESURRECT ,
  RETURN , FALL , NONE
}
 

Public Member Functions

bool isThreadAlive ()
 
void descend ()
 
void fall ()
 
void ascend ()
 
void returnTo ()
 
void restore ()
 
void resurrect ()
 
virtual void init ()
 
virtual void update ()
 
- Public Member Functions inherited from PixelScene
 PixelScene ()
 
 ~PixelScene ()
 

Public Attributes

Phase phase
 
float timeLeft
 
BitmapText * message
 
std::string error
 
bool threadEndFlag
 
- 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
 

Static Public Attributes

static const float TIME_TO_FADE = 0.3f
 
static const std::string TXT_DESCENDING = "lang.inter_desc"
 
static const std::string TXT_ASCENDING = "lang.inter_asce"
 
static const std::string TXT_LOADING = "lang.inter_load"
 
static const std::string TXT_RESURRECTING = "lang.inter_resurr"
 
static const std::string TXT_RETURNING = "lang.inter_return"
 
static const std::string TXT_FALLING = "lang.inter_falling"
 
static const std::string ERR_FILE_NOT_FOUND = "lang.inter_filenotfound"
 
static const std::string ERR_GENERIC = "lang.inter_errgeneric"
 
static Mode mode
 
static int returnDepth
 
static int returnPos
 
static bool noStory = false
 
static bool fallIntoPit
 
- 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)
 
- Protected Member Functions inherited from PixelScene
void fadeIn ()
 
void fadeIn (int color, bool light)
 

Member Enumeration Documentation

◆ Mode

Enumerator
DESCEND 
ASCEND 
CONTINUE 
RESURRECT 
RETURN 
FALL 
NONE 

◆ Phase

Enumerator
FADE_IN 
STATIC 
FADE_OUT 

Member Function Documentation

◆ ascend()

void InterlevelScene::ascend ( )
Here is the call graph for this function:

◆ descend()

void InterlevelScene::descend ( )

◆ fall()

void InterlevelScene::fall ( )
Here is the call graph for this function:

◆ init()

void InterlevelScene::init ( )
virtual

Reimplemented from PixelScene.

Here is the call graph for this function:

◆ isThreadAlive()

bool InterlevelScene::isThreadAlive ( )
Here is the caller graph for this function:

◆ restore()

void InterlevelScene::restore ( )
Here is the call graph for this function:

◆ resurrect()

void InterlevelScene::resurrect ( )
Here is the call graph for this function:

◆ returnTo()

void InterlevelScene::returnTo ( )
Here is the call graph for this function:

◆ update()

void InterlevelScene::update ( )
virtual
Here is the call graph for this function:

Member Data Documentation

◆ ERR_FILE_NOT_FOUND

const std::string InterlevelScene::ERR_FILE_NOT_FOUND = "lang.inter_filenotfound"
static

◆ ERR_GENERIC

const std::string InterlevelScene::ERR_GENERIC = "lang.inter_errgeneric"
static

◆ error

std::string InterlevelScene::error

◆ fallIntoPit

bool InterlevelScene::fallIntoPit
static

◆ message

BitmapText* InterlevelScene::message

◆ mode

InterlevelScene::Mode InterlevelScene::mode
static

◆ noStory

bool InterlevelScene::noStory = false
static

◆ phase

Phase InterlevelScene::phase

◆ returnDepth

int InterlevelScene::returnDepth
static

◆ returnPos

int InterlevelScene::returnPos
static

◆ threadEndFlag

bool InterlevelScene::threadEndFlag

◆ TIME_TO_FADE

const float InterlevelScene::TIME_TO_FADE = 0.3f
static

◆ timeLeft

float InterlevelScene::timeLeft

◆ TXT_ASCENDING

const std::string InterlevelScene::TXT_ASCENDING = "lang.inter_asce"
static

◆ TXT_DESCENDING

const std::string InterlevelScene::TXT_DESCENDING = "lang.inter_desc"
static

◆ TXT_FALLING

const std::string InterlevelScene::TXT_FALLING = "lang.inter_falling"
static

◆ TXT_LOADING

const std::string InterlevelScene::TXT_LOADING = "lang.inter_load"
static

◆ TXT_RESURRECTING

const std::string InterlevelScene::TXT_RESURRECTING = "lang.inter_resurr"
static

◆ TXT_RETURNING

const std::string InterlevelScene::TXT_RETURNING = "lang.inter_return"
static

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