From: Ian Jackson Date: Sat, 17 Oct 2020 13:25:25 +0000 (+0100) Subject: todos X-Git-Tag: otter-0.2.0~625 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=23b49468a129cb25a1cead47d0724bcd7069c1c7;p=otter.git todos Signed-off-by: Ian Jackson --- diff --git a/src/commands.rs b/src/commands.rs index dbf2fd4b..479e36b7 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -46,6 +46,10 @@ pub enum MgmtGameInstruction { SetFixedPlayerAccess { player: PlayerId, token: RawToken }, } +// xxx self-add players +// xxx permission system +// xxx facilitator name? + #[derive(Debug,Serialize,Deserialize)] pub struct MgmtPlayerState { pub timezone: Option, diff --git a/src/gamestate.rs b/src/gamestate.rs index 3e195feb..4983c42d 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -45,7 +45,7 @@ pub struct GameState { pub pieces : Pieces, pub players : PlayerMap, pub gen : Generation, - pub log : VecDeque<(Generation, Arc)>, // xxx expiry + pub log : VecDeque<(Generation, Arc)>, pub max_z : ZCoord, }