From: Ian Jackson Date: Sun, 23 Aug 2020 10:13:59 +0000 (+0100) Subject: todo X-Git-Tag: otter-0.2.0~1080 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=cb1dc5f3f8c0a5793471b0bae04606d736f5dd8b;p=otter.git todo --- diff --git a/src/commands.rs b/src/commands.rs index b594ef03..1936bb81 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -8,6 +8,7 @@ pub enum MgmtCommand { CreateGame { name: String, insns: Vec }, ListGames { all: Option, }, AlterGame { + // xxx option scope, access control name: String, insns: Vec, how: MgmtGameUpdateMode, }, diff --git a/src/global.rs b/src/global.rs index 58f99c8f..fe597be2 100644 --- a/src/global.rs +++ b/src/global.rs @@ -501,6 +501,9 @@ impl InstanceGuard<'_> { // ---------- save/load ---------- +// xxx saving on client api calls +// xxx saving on "extraordinary" mgmt calls + enum SavefilenameParseResult { NotGameFile, AccessFile,