MB Dev Notes added to critical classes.
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
|
||||
package engine.InterestManagement;
|
||||
|
||||
/* This class is the main interface for Magicbane's
|
||||
* Interest management facilities.
|
||||
*/
|
||||
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.mbEnums;
|
||||
import engine.net.Dispatch;
|
||||
@@ -31,10 +27,17 @@ import static engine.objects.Realm.getRealm;
|
||||
|
||||
public enum RealmMap {
|
||||
|
||||
REALM_MAP;
|
||||
// MB Dev Notes:
|
||||
// This class loads and caches realm maps used by each
|
||||
// map set for its realm overlay. The RealmMap loaded is
|
||||
// controlled by config entry MB_WORLD_REALMMAP
|
||||
//
|
||||
// Unlike a Heightmap this is a just color lookup; identical to
|
||||
// the old image maps used in 90s web technology.
|
||||
//
|
||||
// Realm Map images are stored on disk in /mb.data/realmmaps/
|
||||
|
||||
// Spatial hashmap. Used for determining which Realm
|
||||
// a player is currently located within.
|
||||
REALM_MAP;
|
||||
|
||||
private static final HashMap<Color, Integer> _rgbToIDMap = new HashMap<>();
|
||||
public static int[][] _realmImageMap;
|
||||
|
||||
Reference in New Issue
Block a user