- void calculateNoise();
- int calcHeightMap();
-
- void generateTerrain();
- void carveRidges();
- //void carveRivers(); //experimental
-
- void testBiomes();
- void addTopNodes();
-
- void generateCaves(int max_stone_y);
-};
+ bool getMountainTerrainAtPoint(s16 x, s16 y, s16 z);
+ bool getMountainTerrainFromMap(int idx_xyz, int idx_xz, s16 y);
+ bool getFloatlandMountainFromMap(int idx_xyz, int idx_xz, s16 y);
+ void floatBaseExtentFromMap(s16 *float_base_min, s16 *float_base_max, int idx_xz);
+
+ int generateTerrain();
+ void generateRidgeTerrain();
+
+private:
+ float float_mount_density;
+ float float_mount_height;
+ s16 floatland_level;
+ s16 shadow_limit;