add: new graph cmd: "stats", now accessible through cmd, not only via menu.
fix: changed language string hashes to reduce collisions.
This commit is contained in:
parent
5bef8f7540
commit
eadd7cd3a2
6 changed files with 72 additions and 51 deletions
|
|
@ -57,7 +57,7 @@ private:
|
|||
StringArray m_logos;
|
||||
StringArray m_avatars;
|
||||
|
||||
HashMap <uint32, String, Hash <int32>> m_language;
|
||||
HashMap <uint32, String, Hash <int32>> m_language { 256 };
|
||||
HashMap <int32, DifficultyData> m_difficulty;
|
||||
|
||||
// default tables for personality weapon preferences, overridden by weapon.cfg
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ private:
|
|||
int cmdNodeReleaseEditor ();
|
||||
int cmdNodeUpload ();
|
||||
int cmdNodeIterateCamp ();
|
||||
int cmdNodeShowStats ();
|
||||
|
||||
private:
|
||||
int menuMain (int item);
|
||||
|
|
|
|||
|
|
@ -371,6 +371,7 @@ public:
|
|||
void convertToPOD (const Path &path, PODPath &pod);
|
||||
void convertCampDirection (Path &path);
|
||||
void setAutoPathDistance (const float distance);
|
||||
void showStats ();
|
||||
|
||||
const char *getDataDirectory (bool isMemoryFile = false);
|
||||
const char *getOldFormatGraphName (bool isMemoryFile = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue