/************************************************************** * 函数说明:目录初始化函数 * **************************************************************/ void MenuInitialation(void) { MainMenuInit(); StateMenuInit(); PlanMenuInit(); ParaMenuInit(); ExposureMenuInit(); SensorMenuInit(); MotorMenuInit(); ManulMenuInit(); ShutterMenuInit(); }
bool LegacyMenu::backLoad() { GfLogTrace("Pre-loading menu and game data ...\n"); bool SupportsHumanDrivers = LmRaceEngine().supportsHumanDrivers(); // Pre-load the main and race select menus // (to be able to get back to them, even when directly starting a given race). if (!RmRaceSelectInit(MainMenuInit(SupportsHumanDrivers))) return false; // Pre-load race managers, drivers, tracks, cars stuff. if (!GfRaceManagers::self()) return false; GfLogTrace("Pre-loading menu and game data completed.\n"); return true; }