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

Profile.cpp File Reference

#include "global.h"
#include "Profile.h"
#include "RageUtil.h"
#include "PrefsManager.h"
#include "XmlFile.h"
#include "IniFile.h"
#include "GameManager.h"
#include "RageLog.h"
#include "RageFile.h"
#include "song.h"
#include "SongManager.h"
#include "Steps.h"
#include "Course.h"
#include "ThemeManager.h"
#include "CryptManager.h"
#include "ProfileManager.h"
#include "RageFileManager.h"
#include "ScoreKeeperMAX2.h"
#include "crypto/CryptRand.h"
#include "UnlockSystem.h"
#include "Foreach.h"
#include "CatalogXml.h"
#include "Bookkeeper.h"
#include "Game.h"

Defines

#define GUID_SIZE_BYTES   8
#define MAX_RECENT_SCORES_TO_SAVE   100
#define MAX_EDITABLE_INI_SIZE_BYTES   2*1024
#define MAX_PLAYER_STATS_XML_SIZE_BYTES
#define WARN   LOG->Warn("Error parsing file at %s:%d",__FILE__,__LINE__);
#define WARN_AND_RETURN   { WARN; return; }
#define WARN_AND_CONTINUE   { WARN; continue; }
#define WARN_AND_BREAK   { WARN; break; }
#define WARN_M(m)   LOG->Warn("Error parsing file at %s:%d: %s",__FILE__,__LINE__, (const char*) (m) );
#define WARN_AND_RETURN_M(m)   { WARN_M(m); return; }
#define WARN_AND_CONTINUE_M(m)   { WARN_M(m); continue; }
#define WARN_AND_BREAK_M(m)   { WARN_M(m); break; }
#define LOAD_NODE(X)

Functions

CString FormatCalories (float fCals)

Variables

const CString STATS_XSL = "Stats.xsl"
const CString COMMON_XSL = "Common.xsl"

Define Documentation

#define GUID_SIZE_BYTES   8
 

#define LOAD_NODE  ) 
 

Value:

{ \ const XNode* X = xml->GetChild(#X); \ if( X==NULL ) LOG->Warn("Failed to read section " #X); \ else Load##X##FromNode(X); }

#define MAX_EDITABLE_INI_SIZE_BYTES   2*1024
 

#define MAX_PLAYER_STATS_XML_SIZE_BYTES
 

Value:

100 /* Songs */ \ * 3 /* Steps per Song */ \ * 10 /* HighScores per Steps */ \ * 1024 /* size in bytes of a HighScores XNode */

#define MAX_RECENT_SCORES_TO_SAVE   100
 

#define WARN   LOG->Warn("Error parsing file at %s:%d",__FILE__,__LINE__);
 

#define WARN_AND_BREAK   { WARN; break; }
 

#define WARN_AND_BREAK_M  )     { WARN_M(m); break; }
 

#define WARN_AND_CONTINUE   { WARN; continue; }
 

#define WARN_AND_CONTINUE_M  )     { WARN_M(m); continue; }
 

#define WARN_AND_RETURN   { WARN; return; }
 

#define WARN_AND_RETURN_M  )     { WARN_M(m); return; }
 

#define WARN_M  )     LOG->Warn("Error parsing file at %s:%d: %s",__FILE__,__LINE__, (const char*) (m) );
 


Function Documentation

CString FormatCalories float  fCals  )  [static]
 


Variable Documentation

const CString COMMON_XSL = "Common.xsl"
 

const CString STATS_XSL = "Stats.xsl"
 


Generated on Thu Jan 27 20:57:47 2005 for StepMania by doxygen 1.3.7