#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 then plays the launcher role - the // arcade launcher restarted the pod after every mission - and respawns // the process, landing back on the race setup screen. Logical RPL4LocalConsole_ShouldRelaunch();