Rename Lotus3 to MiataDrive; original-graphics title screen
- examples/Lotus3 -> examples/MiataDrive, sketch MiataDrive.ino, emulator target APP=MiataDrive, platformio src_dir updated - drop the borrowed photo title background (title_bg.h): the title screen now renders the game's own start line under the arch with the selected car parked on the road; color picker labels sit over the horizon, showcase car doubles as the live preview - add dedicated README (controls, features, sprite pipeline, gallery) - commit in-progress work the game now depends on: sound engine events (engine hum, crash noise) plus the 4-line SDL audio shim in the emulator host
This commit is contained in:
@@ -23,6 +23,9 @@ endif
|
||||
ifeq ($(APP),Lotus3)
|
||||
APP_TITLE := Lotus 3
|
||||
DEFS += -DEMU_APP_LOTUS3
|
||||
ifdef AUTOPLAY
|
||||
DEFS += -DAUTOPLAY
|
||||
endif
|
||||
endif
|
||||
APP_TITLE ?= $(APP)
|
||||
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
#ifndef APP_INO
|
||||
#define APP_INO "MissileCommand.ino"
|
||||
#endif
|
||||
|
||||
// emulator-side autoplay request (consumed by sketches that support it)
|
||||
bool emuAutoplay = false;
|
||||
#ifndef APP_NAME
|
||||
#define APP_NAME "T-Deck app"
|
||||
#endif
|
||||
@@ -82,6 +85,7 @@ int main(int argc, char **argv)
|
||||
else if (!strcmp(argv[i], "--dump-interval") && i + 1 < argc) dumpEvery = atoi(argv[++i]);
|
||||
else if (!strcmp(argv[i], "--type") && i + 1 < argc) typeStr = argv[++i];
|
||||
else if (!strcmp(argv[i], "--type-at") && i + 1 < argc) typeFromFrame = atoi(argv[++i]);
|
||||
else if (!strcmp(argv[i], "--autoplay")) { emuAutoplay = true; }
|
||||
#ifdef EMU_APP_MISSILECOMMAND
|
||||
else if (!strcmp(argv[i], "--wave") && i + 1 < argc) emuStartWaveRequest = atoi(argv[++i]);
|
||||
else if (!strcmp(argv[i], "--autoplay")) autoplay = true;
|
||||
|
||||
Reference in New Issue
Block a user