mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
ls:: landscape land structure
This commit is contained in:
@@ -1132,6 +1132,7 @@ EX void setLandSphere(cell *c) {
|
||||
vector<eLand> euland;
|
||||
map<int, eLand> euland3;
|
||||
map<int, eLand> euland3_hash;
|
||||
EX map<tuple<int, int, int>, eLand> landscape_lands;
|
||||
|
||||
EX eLand& get_euland(int c) {
|
||||
euland.resize(max_vec);
|
||||
@@ -1144,6 +1145,8 @@ EX void clear_euland(eLand first) {
|
||||
if(!nonisotropic) euland[0] = euland[1] = euland[max_vec-1] = first;
|
||||
euland3.clear();
|
||||
euland3[0] = first;
|
||||
landscape_lands.clear();
|
||||
landscape_lands[{0,0,0}] = first;
|
||||
}
|
||||
|
||||
bool valid_wall_at(int c) {
|
||||
|
Reference in New Issue
Block a user