Add support for custom-perspectives.txt, custom-shaders.txt, custom-lightings.txt
This commit is contained in:
parent
4987ac3fe1
commit
bf4f8a84f0
4 changed files with 89 additions and 42 deletions
|
|
@ -335,15 +335,14 @@ public class MapManager {
|
|||
}
|
||||
}
|
||||
|
||||
public MapManager(DynmapPlugin plugin, ConfigurationNode configuration, ConfigurationNode shadercfg, ConfigurationNode perspectivecfg,
|
||||
ConfigurationNode lightingscfg) {
|
||||
public MapManager(DynmapPlugin plugin, ConfigurationNode configuration) {
|
||||
plug_in = plugin;
|
||||
mapman = this;
|
||||
/* Initialize HD map manager */
|
||||
hdmapman = new HDMapManager();
|
||||
hdmapman.loadHDShaders(shadercfg);
|
||||
hdmapman.loadHDPerspectives(perspectivecfg);
|
||||
hdmapman.loadHDLightings(lightingscfg);
|
||||
hdmapman.loadHDShaders(plugin);
|
||||
hdmapman.loadHDPerspectives(plugin);
|
||||
hdmapman.loadHDLightings(plugin);
|
||||
sscache = new SnapshotCache(configuration.getInteger("snapshotcachesize", 500));
|
||||
|
||||
this.tileQueue = new AsynchronousQueue<MapTile>(new Handler<MapTile>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue