Jeck - Forgot to commit headers. Ooops.

This commit is contained in:
wagic.jeck
2009-08-27 14:13:39 +00:00
parent db1730ee7f
commit c5b530bd3b
3 changed files with 8 additions and 2 deletions
-1
View File
@@ -115,7 +115,6 @@ public:
//optionally fallback to a file within a certain directory. //optionally fallback to a file within a certain directory.
//The sanity=false option returns the adjusted path even if the file doesn't exist. //The sanity=false option returns the adjusted path even if the file doesn't exist.
string profileFile(string filename="", string fallback="", bool sanity=true,bool relative=false); string profileFile(string filename="", string fallback="", bool sanity=true,bool relative=false);
string modeFile(string filename, string fallback, bool relative);
void checkProfile(); void checkProfile();
void createUsersFirstDeck(int setId); void createUsersFirstDeck(int setId);
+1
View File
@@ -29,6 +29,7 @@ public:
virtual ostream& toString(ostream& out)const; virtual ostream& toString(ostream& out)const;
OptionItem( string _id, string _displayValue); OptionItem( string _id, string _displayValue);
virtual ~OptionItem() {};
virtual void Entering(); virtual void Entering();
virtual bool Leaving(); virtual bool Leaving();
+7 -1
View File
@@ -10,7 +10,13 @@ public:
WResourceManager(); WResourceManager();
~WResourceManager(); ~WResourceManager();
//Wrapped from JResourceManager //Wrapped from JResourceManager
void RemoveAll(){jrm->RemoveAll();}
void RemoveGraphics(){jrm->RemoveGraphics();}
void RemoveSound(){jrm->RemoveSound();}
void RemoveFont(){jrm->RemoveFont();}
int CreateTexture(const string &textureName); int CreateTexture(const string &textureName);
JTexture* GetTexture(const string &textureName); JTexture* GetTexture(const string &textureName);
JTexture* GetTexture(int id); JTexture* GetTexture(int id);
@@ -41,7 +47,7 @@ public:
string graphicsFile(const string filename, const string specific = ""); string graphicsFile(const string filename, const string specific = "");
string musicFile(const string filename, const string specific = ""); string musicFile(const string filename, const string specific = "");
string sfxFile(const string filename, const string specific = ""); string sfxFile(const string filename, const string specific = "");
bool fileOK(string filename, bool relative = false); int fileOK(string filename, bool relative = false);
private: private:
JResourceManager * jrm; JResourceManager * jrm;