Line 67... |
Line 67... |
67 |
int AddExe(const Utils::String &exe);
|
67 |
int AddExe(const Utils::String &exe);
|
68 |
SGameExe *gameExe(const Utils::String &exe) const;
|
68 |
SGameExe *gameExe(const Utils::String &exe) const;
|
69 |
|
69 |
|
70 |
int FindVersion(const Utils::String &exe, int size, Utils::String *fVersion);
|
70 |
int FindVersion(const Utils::String &exe, int size, Utils::String *fVersion);
|
71 |
|
71 |
|
- |
|
72 |
int findAddonType(const Utils::String &gameExe) const;
|
72 |
int GetGameType(const Utils::String &gameExe) const;
|
73 |
int GetGameType(const Utils::String &gameExe) const;
|
73 |
int GetGameVersion(const Utils::String &gameExe, Utils::String *fVersion) const;
|
74 |
int GetGameVersion(const Utils::String &gameExe, Utils::String *fVersion) const;
|
74 |
bool GetGameVersionName(const Utils::String &gameExe, Utils::String *versionName) const;
|
75 |
bool GetGameVersionName(const Utils::String &gameExe, Utils::String *versionName) const;
|
75 |
Utils::String ExtractGameName(const Utils::String &dir) const;
|
76 |
Utils::String ExtractGameName(const Utils::String &dir) const;
|
76 |
Utils::String GetGameRunExe(const Utils::String &dir) const;
|
77 |
Utils::String GetGameRunExe(const Utils::String &dir) const;
|
Line 90... |
Line 91... |
90 |
void GetDirectoryData(GameDirectory *gameDir) const;
|
91 |
void GetDirectoryData(GameDirectory *gameDir) const;
|
91 |
|
92 |
|
92 |
int ConvertGameType(int gametype, int *version);
|
93 |
int ConvertGameType(int gametype, int *version);
|
93 |
|
94 |
|
94 |
int GetNumGames() { return m_lExe.size(); }
|
95 |
int GetNumGames() { return m_lExe.size(); }
|
95 |
SGameExe *GetGame(int game) { if ( game >= 0 && game < m_lExe.size() ) return m_lExe[game]; return NULL; }
|
96 |
SGameExe *GetGame(int game) const;
|
96 |
|
97 |
|
97 |
private:
|
98 |
private:
|
98 |
int _findExe(const Utils::String &exe) const;
|
99 |
int _findExe(const Utils::String &exe) const;
|
99 |
int _findVersion(int exe, int size, Utils::String *fVersion) const;
|
100 |
int _findVersion(int exe, int size, Utils::String *fVersion) const;
|
100 |
|
101 |
|