Commit graph

264 commits

Author SHA1 Message Date
Mike Primm
8c7af9ae0e Add shadowstrength attribute for surface renderer - enables shadows
based on top-down chunk sky light data
2011-05-20 20:52:34 -05:00
mikeprimm
4662328bb9 Make sure boundary condition is respected - getHighestBlockY must return 1 or higher 2011-05-20 08:47:35 -07:00
mikeprimm
2299df445a Make sure boundary condition is right on getMaximumY - must be 1 or higher 2011-05-20 08:46:12 -07:00
Mike Primm
4cfc249625 Prototype of chunk snapshot support - pre-Bukkit API (reflection
based, with fallback to existing APIs)
2011-05-20 01:38:49 -05:00
FrozenCow
dcfac37752 Fixed ConfigurationNode. 2011-05-19 11:15:15 +02:00
Mike Primm
dcfd082039 Add support for WorldGuard on built-in server, fix getNodes() on new
ConfigurationNode class
2011-05-18 23:29:33 -05:00
FrozenCow
6b755333cb Fixed arguments for createInstance. 2011-05-19 03:18:20 +02:00
zeeZ
08014fb9a5 Option to output player health in json for later web usage. 2011-05-19 01:52:38 +02:00
FrozenCow
8e0f1c6b96 Cleaned up logging. 2011-05-19 01:36:14 +02:00
FrozenCow
4a35eea9d9 Cleaned up configuration handling and added new logging class. 2011-05-19 01:36:05 +02:00
Mike Primm
974501cf9d Missed one LOG_PREFIX 2011-05-19 01:35:10 +02:00
Mike Primm
29e970c58a Add basic progress messages on fullrender (end of each map, every 100
renders), and add dispose on Graphics2D to accelerate non-heap memory
recovery
2011-05-19 01:35:10 +02:00
zeeZ
609a9f3724 Organize imports. 2011-05-17 11:30:06 +02:00
zeeZ
0c8e13f943 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/main/java/org/dynmap/MapManager.java
	src/main/java/org/dynmap/debug/LogDebugger.java
	src/main/java/org/dynmap/web/handlers/FileHandler.java
	src/main/java/org/dynmap/web/handlers/SendMessageHandler.java
2011-05-17 11:24:13 +02:00
Mike Primm
85518e72c9 Fix re-entrancy problem in FileHandler (shared buffer can cause
corrupted or exchanged tiles)
2011-05-16 21:11:28 -05:00
zeeZ
66cf80cce1 Organize imports. 2011-05-17 02:43:25 +02:00
zeeZ
07612cce2a Prefix all (intentional) output properly. 2011-05-17 02:38:49 +02:00
zeeZ
003ff1c149 Fix error if no render triggers are defined. 2011-05-17 06:58:32 +08:00
zeeZ
4b0ca4580a Fix error if no render triggers are defined. 2011-05-17 00:38:26 +02:00
zeeZ
b76e6059ae Tabs and spaces. 2011-05-16 20:55:19 +08:00
zeeZ
1ba9fe9cff Op always has permission 2011-05-16 20:55:19 +08:00
zeeZ
bcba7b1a12 Tabs and spaces. 2011-05-16 14:51:18 +02:00
zeeZ
774e7a3d4d Op always has permission 2011-05-16 14:28:18 +02:00
Mike Primm
38b13b6324 Optimize the getRequiredChunks() to load only chunks that are needed -
reduces chunks needed by 42% versus current implementation.
2011-05-15 23:50:50 -05:00
Mike Primm
d888550a73 Reduce heap memory allocation on render path (less heap junk) by
replacing java.awt.Color with work-alike, lightweight updatable
alternative.
2011-05-15 22:25:45 -05:00
Mike Primm
37758ecc21 One more with the tabs 2011-05-15 08:05:36 -05:00
Mike Primm
e5a09b79d2 Clean up tabs 2011-05-15 08:02:45 -05:00
Mike Primm
01b337d3ff Finish HeroChat support - handle directing web messages to selected
channel (versus spamming everyone)
2011-05-15 07:56:45 -05:00
Mike Primm
e372c64a37 Re-merge the nether render support, and update race condition fixes 2011-05-14 23:25:59 -05:00
Mike Primm
ff5f791eaf HeroChat support - reflection based binding to it 2011-05-15 01:18:20 +02:00
zeeZ
c70b3df510 Added data value colored blocks to flat map 2011-05-14 21:28:21 +08:00
FrozenCow
0b5f07054d Replaced tabs with spaces to conform the Bukkit standards. 2011-05-13 10:41:02 +02:00
Mike Primm
d09e54d116 Pull debug message 2011-05-13 10:31:50 +02:00
Mike Primm
bc155e7a05 Add tile data coloring (aka colored wool support), combine rendering
of default tiles and their zoomed counterparts (saves reloading the
default tile, and keeps the scale levels of the map consistent during
a fullrender and otherwise)
2011-05-13 10:31:38 +02:00
Mike Primm
71e873f5c5 Shift all imageIO and file I/O to async thread
Minus the version change in plugin.yml.
2011-05-13 10:29:38 +02:00
zeeZ
8aa96b5c73 Consistency to make Kilandor happy :-). 2011-05-10 12:51:52 +02:00
zeeZ
dfb66d9415 Added weather to json world output (hasStorm and isThundering) 2011-05-10 12:51:52 +02:00
zeeZ
1c06c03f23 Fixed NPE if using regionless config. 2011-05-10 12:51:52 +02:00
zeeZ
1618820180 Organize imports 2011-05-10 12:51:52 +02:00
zeeZ
cd08db4e31 Use Bukkit's way to strip colors. 2011-05-10 12:51:52 +02:00
FrozenCow
6678f13ee2 Partly reverted previous change to get back to zeeZ' getDisplayName. 2011-05-10 12:51:52 +02:00
Mike Primm
15079dda88 Don't need additional delay - using AsycnQueue for that 2011-05-10 12:26:18 +02:00
Mike Primm
51327d1ced Add option to run incremental renders on sync thread, using same chunk
logic as timesliced full render, in order to handle cases where
assumption that all chunks needed for incremental render are already
resident (which can be false if player telepots, move quickly,
multiple players are active, etc).
2011-05-10 12:26:11 +02:00
Mike Primm
bfa8b035ac Added timeslicing to configuration 2011-05-10 12:26:02 +02:00
Mike Primm
e40f58ec93 Add version log message - keep track builds easier 2011-05-10 12:25:56 +02:00
Mike Primm
5da020cdd3 Trap on bogus world names or player with bad current location 2011-05-10 12:25:48 +02:00
Mike Primm
b26d474e1c Add "time-sliced" implementation of fullrender, which does one tile at
a time using the Bukkit scheduler while using a tunable interval
between tiles (0.5 second default), and avoids player timeouts and
blooming the chunk and entity population.
2011-05-10 12:25:34 +02:00
FrozenCow
e8db3aa674 Removed a println. 2011-05-08 21:15:44 +02:00
FrozenCow
0cb23ac84a Fixed tabs. 2011-05-07 22:11:41 +02:00
FrozenCow
1b9ff02ac4 Merge remote-tracking branch 'kilandor/master' 2011-05-07 00:04:05 +02:00