Commit graph

67 commits

Author SHA1 Message Date
Mike Primm
659ddc8204 Clean up warnings 2011-06-13 22:05:14 -05:00
Mike Primm
1d069f7fa7 Add alternate directory structure to better support huge worlds 2011-06-13 21:43:02 -05:00
Mike Primm
163881697a Add background color support per map, add skylands template default 2011-06-03 03:24:21 -05:00
Mike Primm
91f4201354 Merge remote branch 'origin/master' 2011-06-01 19:09:46 -05:00
Mike Primm
8517b5b3f0 Fix tile coord calculation for tile hash on kzed render - too sparse
because not divided by tile dimensions (inconsistent with flat :<)
2011-06-01 19:08:53 -05:00
Mike Primm
9132f82074 Add transparency option on Flat and Surface map, fix file locks 2011-05-31 23:44:17 -05:00
Mike Primm
716ba040df Add file access synchronization to prevent conflicting tile updates 2011-05-31 21:20:23 -05:00
Mike Primm
2b3fd035a5 Add render statistics, support for tile hashcodes to stop non-updates 2011-05-31 00:33:54 -05:00
Mike Primm
9e84b2cdbe Add support in web UI for automatic day/night cycle when night-and-day
set for a given map.
2011-05-29 17:24:46 -05:00
Mike Primm
e5ddd5cb3a More memory tuning on BufferedImage handling, workaround bukkit leak 2011-05-29 09:33:51 -05:00
Mike Primm
cf10e506fe Create BufferedImage using our own buffer - allows faster pixel
writing
2011-05-29 01:52:57 -05:00
Mike Primm
0b7bd6221a Shift all rendering over to async thread pool, minimize server thread
load
2011-05-28 00:08:29 -05:00
Mike Primm
a8b91c7af4 Add night view via ambientlight setting on Flat and Surface maps, add
night-and-day setting to generate both night (default) and day
(prefix+'_day') versions of tiles, and add transparency to generated
PNG files
2011-05-27 00:56:56 -05:00
FrozenCow
c2e3cbc793 Added map-icon to configuration. 2011-05-22 17:45:30 +02:00
FrozenCow
678b6b916b Added events for components and implemented 'buildclientconfiguration'-event in ClientConfigurationComponent. 2011-05-22 16:27:43 +02:00
Mike Primm
5a7ecea7d2 Add BufferedImage cache 2011-05-21 00:30:42 -05:00
Mike Primm
2765f047fd Tune shadow render, add to accept wait queue on web server 2011-05-20 23:26:46 -05:00
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
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
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
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
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
bcba7b1a12 Tabs and spaces. 2011-05-16 14:51: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
e5a09b79d2 Clean up tabs 2011-05-15 08:02: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
FrozenCow
0b5f07054d Replaced tabs with spaces to conform the Bukkit standards. 2011-05-13 10:41:02 +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
1618820180 Organize imports 2011-05-10 12:51:52 +02:00
FrozenCow
3bd163e058 Added HighlightTileRenderer (thanks in part to rockNme2349) 2011-04-07 15:46:50 +02:00
FrozenCow
5a39578acb Another fix for IndexOutOfBounds (by ignoring it...) 2011-03-29 00:59:10 +02:00
FrozenCow
a482af738d Fixed IndexOutOfBoundsException (sortof?) 2011-03-28 18:32:29 +02:00
FrozenCow
411e1adbfc Removed some warnings, redisabled BufferedOutputStream closing. 2011-03-15 21:04:53 +01:00
alron
95f5092499 Doesn't change anywhere? Probably should be final. 2011-03-12 01:38:34 -08:00
FrozenCow
36685c5950 Added ability to specify colorschemes per map/renderer. 2011-03-05 18:38:17 +01:00
FrozenCow
d9bbef12f8 Some changes after running Findbugs. 2011-03-05 16:09:26 +01:00
FrozenCow
5c8d9f3ea3 Fixed incorrect offset when using maximumheight. 2011-02-28 19:24:32 +01:00
FrozenCow
dce5de053c Fixed incorrect offset with maximumHeight. 2011-02-26 23:02:11 +01:00
FrozenCow
a294e10413 Organized imports. 2011-02-15 21:44:08 +01:00
FrozenCow
dcf8047914 Added maximumheight to configuration for somewhat better nether rendering. 2011-02-13 22:33:33 +01:00
FrozenCow
829a7138c4 Added multiworld update support along with client-side support. 2011-02-13 01:19:47 +01:00
FrozenCow
bae9c9f4db Server-side multiworld support with several improvements overal. 2011-02-12 23:47:00 +01:00
FrozenCow
5599f4875c Fixed rendering zoomedout tiles. 2011-02-09 13:25:06 +01:00
FrozenCow
6942618424 Made zoomed-rendering make use of existing tile-files instead of keeping those tiles in memory. 2011-02-08 23:38:57 +01:00
FrozenCow
6c1a69a517 Made updates in JSON format. Combined chat and tile queues into one UpdateQueue. Fixed UpdateQueue. 2011-02-06 03:00:51 +01:00
FrozenCow
a89ef6ac75 Applied Eclipse formatting. 2011-02-05 02:25:18 +01:00