chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e3671e
)
Note a todo
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Feb 2021 11:50:50 +0000
(11:50 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Feb 2021 11:51:32 +0000
(11:51 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/gamestate.rs
patch
|
blob
|
history
diff --git
a/src/gamestate.rs
b/src/gamestate.rs
index 6fc0cb310a91e3946469b7257db75f083f418bf0..e1e75f90ff846b78102a15c700b7500fd36bb877 100644
(file)
--- a/
src/gamestate.rs
+++ b/
src/gamestate.rs
@@
-139,6
+139,8
@@
pub struct UoDescription {
#[typetag::serde]
pub trait Piece: Outline + Send + Debug {
/// by convention, occult face is nfaces-1
+ // xxx this is no good, we need a central definition of the occult
+ // face to avoid weird behaviour with buggy gamespecs
fn nfaces(&self) -> RawFaceId;
#[throws(InternalError)]