chiark / gitweb /
Extend load_inert to offer an occultable piece
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 12 Apr 2022 00:18:22 +0000 (01:18 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 12 Apr 2022 00:18:22 +0000 (01:18 +0100)
commit3e4ff7a93db0fcdc20856186199f91663264afb0
tree2b89521964aabb43b81f106b34acd62d08227a0f
parent3c76bf083d2099165f94a95dcb81ab99ef237856
Extend load_inert to offer an occultable piece

Now inert pieces can be occultable too.  Currently this is meaningless
since we only call load_inert when resolving the occultation
for *another* piece, where we discard the occultation information.

But that is going to change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/gamestate.rs
src/pcaliases.rs
src/shapelib.rs