1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

on-demand building of plainshapes

This commit is contained in:
Zeno Rogue
2018-05-04 12:20:50 +02:00
parent abe16f6bd3
commit 1c07230f88
4 changed files with 98 additions and 56 deletions

10
hyper.h
View File

@@ -3349,3 +3349,13 @@ namespace fieldpattern {
bool incompatible(eLand l1, eLand l2);
eOrbLandRelation getOLR(eItem it, eLand l);
struct plainshape;
void clear_plainshape(plainshape& gsh);
void build_plainshape(plainshape& gsh, gp::local_info& li);
namespace gp {
void clear_plainshapes();
plainshape& get_plainshape();
}
extern bool debug_geometry;