#pragma once #include "..\munga\style.h" //######################################################################## //########################## RPL4 Local Console ########################## //######################################################################## // // The single-player marshal. Hand-fed eggs are a developer shortcut: a // mission only ends on a console command, so without one the timer hits // 00:00 and just counts up forever. This is the in-process console for // front-end-launched games - it watches the mission, dispatches the // same StopMissionMessage TeslaConsole sent when the selected length // expires, and when the pod returns to WaitingForEgg it brings the race // setup back up and feeds the next egg (or quits if the player closes // the menu). // // Installs itself as the application manager's per-frame hook. // void RPL4LocalConsole_Install(int mission_seconds); // True when the last mission ended under the console's control (timer // stop or pilot exit). WinMain's single-binary race loop then cycles // back to the setup screen for the next race in the same process. Logical RPL4LocalConsole_MissionCompleted(); // The last completed mission's final scores (what each pod reported at // mission end). Valid until the next mission starts running. int RPL4LocalConsole_ResultCount(); Logical RPL4LocalConsole_GetResult(int index, int *host_ID, int *score);