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

#include <pixelscene.h>

Inheritance diagram for PixelScene:
Collaboration diagram for PixelScene:

Classes

class  Fader
 

Public Member Functions

 PixelScene ()
 
 ~PixelScene ()
 
virtual void init ()
 

Static Public Member Functions

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

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 float defaultZoom = 0
 
static float minZoom
 
static float maxZoom
 
static Camera * uiCamera
 
static float scale = 0.3f
 
static bool noFade = false
 

Protected Member Functions

void fadeIn ()
 
void fadeIn (int color, bool light)
 

Constructor & Destructor Documentation

◆ PixelScene()

PixelScene::PixelScene ( )

◆ ~PixelScene()

PixelScene::~PixelScene ( )

Member Function Documentation

◆ align() [1/3]

float PixelScene::align ( Camera * camera,
float pos )
static
Here is the caller graph for this function:

◆ align() [2/3]

float PixelScene::align ( float pos)
static

◆ align() [3/3]

void PixelScene::align ( Visual * v)
static
Here is the call graph for this function:

◆ chooseFont()

void PixelScene::chooseFont ( float size,
float zoom )
static
Here is the caller graph for this function:

◆ createMultiline() [1/2]

BitmapTextMultiline * PixelScene::createMultiline ( const std::string & text,
float size )
static

◆ createMultiline() [2/2]

BitmapTextMultiline * PixelScene::createMultiline ( float size)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createText() [1/3]

BitmapText * PixelScene::createText ( const std::string & text,
float size )
static

◆ createText() [2/3]

BitmapText * PixelScene::createText ( float size)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createText() [3/3]

BitmapText * PixelScene::createText ( Uint16 ch,
float size )
static

◆ fadeIn() [1/2]

void PixelScene::fadeIn ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fadeIn() [2/2]

void PixelScene::fadeIn ( int color,
bool light )
protected

◆ init()

void PixelScene::init ( )
virtual

Reimplemented in AmuletScene, GameScene, InterlevelScene, IntroScene, StartScene, SurfaceScene, and TitleScene.

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

◆ showBadge()

void PixelScene::showBadge ( const Badges::Badge * badge)
static
Here is the call graph for this function:

Member Data Documentation

◆ defaultZoom

float PixelScene::defaultZoom = 0
static

◆ maxZoom

float PixelScene::maxZoom
static

◆ MIN_HEIGHT_L

const float PixelScene::MIN_HEIGHT_L = 160

◆ MIN_HEIGHT_P

const float PixelScene::MIN_HEIGHT_P = 224

◆ MIN_WIDTH_L

const float PixelScene::MIN_WIDTH_L = 224

◆ MIN_WIDTH_P

const float PixelScene::MIN_WIDTH_P = 128

◆ minZoom

float PixelScene::minZoom
static

◆ noFade

bool PixelScene::noFade = false
static

◆ scale

float PixelScene::scale = 0.3f
static

◆ uiCamera

Camera * PixelScene::uiCamera
static

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