add playback toggles

can be added to preprocessor definition on common and core to build playback build
This commit is contained in:
Jas Laferriere 2020-07-03 23:52:07 -07:00 committed by R2DLiu
commit 4d20c0fa70
2 changed files with 8 additions and 1 deletions

View file

@ -21,7 +21,12 @@ namespace Common
#define SLIPPI_REV_STR "2.1.1"
const std::string scm_slippi_semver_str = SLIPPI_REV_STR;
const std::string scm_rev_str = "Faster Melee - Slippi (" SLIPPI_REV_STR ")" BUILD_TYPE_STR;
#ifdef IS_PLAYBACK
const std::string scm_rev_str = "Mainline - Slippi (" SLIPPI_REV_STR ") - Playback" BUILD_TYPE_STR;
#else
const std::string scm_rev_str = "Mainline - Slippi (" SLIPPI_REV_STR ")" BUILD_TYPE_STR;
#endif
const std::string scm_rev_git_str = SCM_REV_STR;
const std::string scm_desc_str = SCM_DESC_STR;

View file

@ -117,8 +117,10 @@ CEXISlippi::CEXISlippi()
localSelections.Reset();
// Update user file and then listen for User
#ifndef IS_PLAYBACK
user->UpdateFile();
user->ListenForLogIn();
#endif
#ifdef CREATE_DIFF_FILES
// MnMaAll.usd