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

UnlockSystem Class Reference

#include <UnlockSystem.h>

List of all members.

Public Member Functions

 UnlockSystem ()
float PointsUntilNextUnlock (UnlockType t) const
float ArcadePointsUntilNextUnlock () const
float DancePointsUntilNextUnlock () const
float SongPointsUntilNextUnlock () const
bool SongIsLocked (const Song *song) const
bool SongIsRouletteOnly (const Song *song) const
bool CourseIsLocked (const Course *course) const
int GetNumUnlocks () const
const UnlockEntryFindLockEntry (CString lockname) const
void GetPoints (const Profile *pProfile, float fScores[NUM_UNLOCK_TYPES]) const
void UnlockCode (int num)
void UnlockSong (const Song *song)
void UpdateSongs ()

Public Attributes

vector< UnlockEntrym_SongEntries

Private Member Functions

bool Load ()
const UnlockEntryFindSong (const Song *pSong) const
const UnlockEntryFindCourse (const Course *pCourse) const

Private Attributes

set< intm_RouletteCodes


Constructor & Destructor Documentation

UnlockSystem::UnlockSystem  ) 
 


Member Function Documentation

float UnlockSystem::ArcadePointsUntilNextUnlock  )  const [inline]
 

bool UnlockSystem::CourseIsLocked const Course course  )  const
 

float UnlockSystem::DancePointsUntilNextUnlock  )  const [inline]
 

const UnlockEntry * UnlockSystem::FindCourse const Course pCourse  )  const [private]
 

const UnlockEntry * UnlockSystem::FindLockEntry CString  lockname  )  const
 

const UnlockEntry * UnlockSystem::FindSong const Song pSong  )  const [private]
 

int UnlockSystem::GetNumUnlocks  )  const
 

void UnlockSystem::GetPoints const Profile pProfile,
float  fScores[NUM_UNLOCK_TYPES]
const
 

bool UnlockSystem::Load  )  [private]
 

float UnlockSystem::PointsUntilNextUnlock UnlockType  t  )  const
 

bool UnlockSystem::SongIsLocked const Song song  )  const
 

bool UnlockSystem::SongIsRouletteOnly const Song song  )  const
 

float UnlockSystem::SongPointsUntilNextUnlock  )  const [inline]
 

void UnlockSystem::UnlockCode int  num  ) 
 

void UnlockSystem::UnlockSong const Song song  ) 
 

void UnlockSystem::UpdateSongs  ) 
 


Member Data Documentation

set<int> UnlockSystem::m_RouletteCodes [private]
 

vector<UnlockEntry> UnlockSystem::m_SongEntries
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:04:59 2005 for StepMania by doxygen 1.3.7