9f795082578aa783fe9fef3d18bba1dc5b9a9be7
Domain correction from playtest: hand-fed eggs are a developer shortcut - a mission only ends on a console command, so the clock hits 00:00 and counts up forever. Even single-player games need a console marshal. RPL4CONSOLE is that console. Like the real one it lives on its own thread: it owns the mission clock and raises the stop request at the selected length; the app-manager per-frame hook (new gPerFrameHook seam in APPMGR, called while the application global is live - the loop condition NULLs it on exit, which ate the first attempt) executes the engine-safe part, dispatching the same StopMissionMessage TeslaConsole sent. Final scores flow in through a new RP-layer sink (gConsoleScoreSink in RPCNSL): RPPlayer feeds it the same score it sends a real console at mission end. It also inherits the launcher role: the application tears down after a stop (arcade pods were relaunched per mission by TeslaLauncher), so WinMain respawns the process when the console ended the mission, landing back on the race-setup screen. L4NetworkManager grows FeedLocalEgg (the single-user egg-inject path, callable mid-session) for the future in-process loop. Verified end to end: menu -> 3:00 race -> stop dispatched exactly on time -> final score collected (host 1 = 4113) -> process respawned with the front end up. -egg runs stay unmarshaled (the dev shortcut). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Red Planet 4.12
Red Planet is the VWE pod-racing game built on the in-house MUNGA engine
(Win32 / DirectX 9, MUNGA_L4 platform layer). The 4.12 line is the
consumer port: a version of Red Planet that can be sold on Steam and played
over internet multiplayer, without cockpit-pod hardware.
Forked from RP411 (the arcade/cockpit 4.11 line) with full history preserved.
Goals
- Steam distribution — Steamworks integration, SteamPipe builds, store-ready packaging.
- Internet multiplayer — take the engine's LAN-era WinSock networking online (NAT traversal, matchmaking, latency tolerance).
- No cockpit required — keyboard / mouse / gamepad input and on-screen replacements for the pod's RIO panel and plasma display, drawing on vRIO.
- Self-hosted sessions — in-game race setup/join replacing the operator-driven TeslaConsole flow.
See docs/RP412-ROADMAP.md for the plan and the Steam-multiplayer logistics.
Building
Unchanged from 4.11 for now — see BUILD.md
(VS 2005/2008 + DirectX SDK June 2010, Release|Win32, output Release\rpl4opt.exe).
Toolchain modernization is a roadmap item.
Related repositories
| Repo | Role |
|---|---|
| RP411 | Upstream arcade source (this repo's base) |
| VRIO | Virtual RIO panel + vPLASMA display — input bindings and display emulation to fold in |
| TeslaSuite | TeslaConsole / Launcher / vPOD — the arcade session-control stack 4.12 replaces (and a reference for the Munga control protocol, TCP 1501) |
Languages
C++
86.5%
C
13%
PowerShell
0.3%
Assembly
0.2%