Heightmap is now an integer.

This commit is contained in:
2023-09-20 16:24:00 -04:00
parent bd97745ed1
commit 1e9eec2c48
2 changed files with 21 additions and 3 deletions
+18 -1
View File
@@ -61,6 +61,15 @@ public class Zone extends AbstractGameObject {
public static final Set<Mob> respawnQue = Collections.newSetFromMap(new ConcurrentHashMap<>());
public static long lastRespawn = 0;
public Bounds blendBounds;
public float major_radius;
public float minor_radius;
public float min_blend;
public float max_blend;
public String sea_level_type;
public float sea_level;
public String terrain_type;
public float terrain_max_y;
public int terrain_image;
/**
* ResultSet Constructor
@@ -81,7 +90,15 @@ public class Zone extends AbstractGameObject {
this.icon3 = rs.getString("icon3");
this.min_level = rs.getInt("min_level");
this.max_level = rs.getInt("max_level");
this.hash = rs.getString("hash");
this.major_radius = rs.getFloat("major_radius");
this.minor_radius = rs.getFloat("minor_radius");
this.min_blend = rs.getFloat("min_blend");
this.max_blend = rs.getFloat("max_blend");
this.sea_level_type = rs.getString("sea_level_type");
this.sea_level = rs.getFloat("sea_level");
this.terrain_type = rs.getString("terrain_type");
this.terrain_max_y = rs.getFloat("terrain_max_y");
this.terrain_image = rs.getInt("terrain_image");
//this needs to be here specifically for new zones created after server boot (e.g. player city zones)