Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ScreenHowToPlay.cpp File Reference

#include "global.h"
#include <cstdlib>
#include "ScreenHowToPlay.h"
#include "ThemeManager.h"
#include "GameState.h"
#include "Game.h"
#include "RageLog.h"
#include "RageDisplay.h"
#include "SongManager.h"
#include "NoteFieldPositioning.h"
#include "GameManager.h"
#include "NotesLoaderSM.h"
#include "GameSoundManager.h"
#include "Model.h"
#include "ThemeMetric.h"
#include "PlayerState.h"
#include "Style.h"

Defines

#define ST_LEFT   0x01
#define ST_DOWN   0x02
#define ST_UP   0x04
#define ST_RIGHT   0x08
#define ST_JUMPLR   (ST_LEFT | ST_RIGHT)
#define ST_JUMPUD   (ST_UP | ST_DOWN)

Enumerations

enum  Animation {
  ANIM_DANCE_PAD, ANIM_DANCE_PADS, ANIM_UP, ANIM_DOWN,
  ANIM_LEFT, ANIM_RIGHT, ANIM_JUMPLR, NUM_ANIMATIONS
}

Functions

const ThemeMetric< float > SECONDS_TO_SHOW ("ScreenHowToPlay","SecondsToShow")
const ThemeMetric< CString > STEPFILE ("ScreenHowToPlay","Stepfile")
const ThemeMetric< intNUM_PERFECTS ("ScreenHowToPlay","NumPerfects")
const ThemeMetric< intNUM_MISSES ("ScreenHowToPlay","NumMisses")
const ThemeMetric< bool > USELIFEBAR ("ScreenHowToPlay","UseLifeMeterBar")
const ThemeMetric< bool > USECHARACTER ("ScreenHowToPlay","UseCharacter")
const ThemeMetric< bool > USEPAD ("ScreenHowToPlay","UsePad")
const ThemeMetric< bool > USEPLAYER ("ScreenHowToPlay","UseNotefield")
CString GetAnimPath (Animation a)
bool HaveAllCharAnimations ()
 REGISTER_SCREEN_CLASS (ScreenHowToPlay)

Variables

const CString anims [NUM_ANIMATIONS]

Define Documentation

#define ST_DOWN   0x02
 

#define ST_JUMPLR   (ST_LEFT | ST_RIGHT)
 

#define ST_JUMPUD   (ST_UP | ST_DOWN)
 

#define ST_LEFT   0x01
 

#define ST_RIGHT   0x08
 

#define ST_UP   0x04
 


Enumeration Type Documentation

enum Animation
 

Enumeration values:
ANIM_DANCE_PAD 
ANIM_DANCE_PADS 
ANIM_UP 
ANIM_DOWN 
ANIM_LEFT 
ANIM_RIGHT 
ANIM_JUMPLR 
NUM_ANIMATIONS 


Function Documentation

CString GetAnimPath Animation  a  )  [static]
 

bool HaveAllCharAnimations  )  [static]
 

const ThemeMetric<int> NUM_MISSES "ScreenHowToPlay"  ,
"NumMisses" 
[static]
 

const ThemeMetric<int> NUM_PERFECTS "ScreenHowToPlay"  ,
"NumPerfects" 
[static]
 

REGISTER_SCREEN_CLASS ScreenHowToPlay   ) 
 

const ThemeMetric<float> SECONDS_TO_SHOW "ScreenHowToPlay"  ,
"SecondsToShow" 
[static]
 

const ThemeMetric<CString> STEPFILE "ScreenHowToPlay"  ,
"Stepfile" 
[static]
 

const ThemeMetric<bool> USECHARACTER "ScreenHowToPlay"  ,
"UseCharacter" 
[static]
 

const ThemeMetric<bool> USELIFEBAR "ScreenHowToPlay"  ,
"UseLifeMeterBar" 
[static]
 

const ThemeMetric<bool> USEPAD "ScreenHowToPlay"  ,
"UsePad" 
[static]
 

const ThemeMetric<bool> USEPLAYER "ScreenHowToPlay"  ,
"UseNotefield" 
[static]
 


Variable Documentation

const CString anims[NUM_ANIMATIONS] [static]
 

Initial value:

{ "DancePad-DDR.txt", "DancePads-DDR.txt", "BeginnerHelper_step-up.bones.txt", "BeginnerHelper_step-down.bones.txt", "BeginnerHelper_step-left.bones.txt", "BeginnerHelper_step-right.bones.txt", "BeginnerHelper_step-jumplr.bones.txt" }


Generated on Thu Jan 27 20:58:08 2005 for StepMania by doxygen 1.3.7