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:
0c2ca3d
)
hidden: Use Area
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2021 00:53:56 +0000
(
00:53
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2021 01:38:24 +0000
(
01:38
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/hidden.rs
patch
|
blob
|
history
diff --git
a/src/hidden.rs
b/src/hidden.rs
index e47f48814007569c735325b6cabd8610282b00a5..a43040d2e6c8b373096a32f963038c8e508fbac4 100644
(file)
--- a/
src/hidden.rs
+++ b/
src/hidden.rs
@@
-26,7
+26,7
@@
pub struct PieceOccult {
#[derive(Clone,Debug,Serialize,Deserialize)]
pub struct Occultation {
- region:
[Pos; 2]
, // automatically affect pieces here
+ region:
Area
, // automatically affect pieces here
occulter: PieceId, // kept in synch with PieceOccult::active
views: Vec<OccultView>,
#[serde(default)] defview: OccultationKind,