Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.

This commit is contained in:
Kyzentun
2014-07-14 15:41:04 -06:00
parent fb1a251b7a
commit 6cf23c4dc3
10 changed files with 147 additions and 89 deletions
+2 -1
View File
@@ -34,7 +34,7 @@ public:
m_sAnnouncer(""), m_sPreferredModifiers(""),
m_sStageModifiers(""), m_sScreen(""), m_LuaFunction(),
m_pSong(NULL), m_pSteps(NULL), m_pCourse(NULL),
m_pTrail(NULL), m_pCharacter(NULL), m_SetEnv(),
m_pTrail(NULL), m_pCharacter(NULL), m_SetEnv(), m_SetPref(),
m_sSongGroup(""), m_SortOrder(SortOrder_Invalid),
m_sSoundPath(""), m_vsScreensToPrepare(), m_iWeightPounds(-1),
m_iGoalCalories(-1), m_GoalType(GoalType_Invalid),
@@ -92,6 +92,7 @@ public:
Trail* m_pTrail;
Character* m_pCharacter;
std::map<RString,RString> m_SetEnv;
std::map<RString,RString> m_SetPref;
RString m_sSongGroup;
SortOrder m_SortOrder;
RString m_sSoundPath; // "" for no sound