diff --git a/README.md b/README.md index 94627f3..496d693 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,10 @@ itself a reimplementation of AGI, the engine Sierra shipped *Police Quest* on. ./play.sh ``` -That lists the cases and asks which one. `./play.sh 07` jumps straight to one. +That opens the engine's **title screen** — the whole campaign on one shelf, +arrow keys to choose, Enter to play, Esc backs out of a case to the shelf. +`./play.sh 07` still jumps straight to one case. The shelf's big title comes +from [cases/collection.json](cases/collection.json). Or directly: diff --git a/cases/collection.json b/cases/collection.json new file mode 100644 index 0000000..c147303 --- /dev/null +++ b/cases/collection.json @@ -0,0 +1 @@ +{ "name": "POLICE SQUAD QUEST" } diff --git a/play.sh b/play.sh index 774240d..0d3edca 100755 --- a/play.sh +++ b/play.sh @@ -25,7 +25,10 @@ pick() { } arg="$1" -[ -n "$arg" ] || arg=$(pick) +# No arg: the engine's own title screen / world picker on the cases shelf. +[ -n "$arg" ] || exec cargo run --release -p mrpgi --manifest-path "$ENGINE/Cargo.toml" -- \ + --game "$(pwd)/cases" + # A bare number selects by case prefix; anything else is treated as a path. case "$arg" in