Split lighting and shading - add lightings.txt

This commit is contained in:
Mike Primm 2011-07-09 01:26:47 -05:00
parent 69baafe597
commit a3c00a1026
14 changed files with 387 additions and 151 deletions

View file

@ -319,13 +319,15 @@ public class MapManager {
}
}
public MapManager(DynmapPlugin plugin, ConfigurationNode configuration, ConfigurationNode shadercfg, ConfigurationNode perspectivecfg) {
public MapManager(DynmapPlugin plugin, ConfigurationNode configuration, ConfigurationNode shadercfg, ConfigurationNode perspectivecfg,
ConfigurationNode lightingscfg) {
plug_in = plugin;
mapman = this;
/* Initialize HD map manager */
hdmapman = new HDMapManager();
hdmapman.loadHDShaders(shadercfg);
hdmapman.loadHDPerspectives(perspectivecfg);
hdmapman.loadHDLightings(lightingscfg);
this.tileQueue = new AsynchronousQueue<MapTile>(new Handler<MapTile>() {
@Override