Commit graph

68 commits

Author SHA1 Message Date
Mike Primm
42418edf1f Start isolating Bukkit dependencies, prep code for ports 2012-01-08 01:47:11 -06:00
Mike Primm
8c9733b73f Add /dynmap updaterender command - renders starting at selected location until map edge hit OR until rendered tiles match existing tiles (i.e. no changes) 2011-12-30 15:39:29 +08:00
Mike Primm
ba2c3eac1c Add support for cleanup of stale tiles (off edge of map) 2011-12-15 13:26:09 +08:00
Mike Primm
5c064eab2b Add support for 'compass-mode' - handle 1.9 change of proper north 2011-10-13 23:54:52 -05:00
Mike Primm
477a7d13de Add multiple quality levels for JPG encoding - adjust default to 0.85 2011-08-16 12:32:01 +08:00
Mike Primm
612cdf0c98 Make mapzoomin for Kzed consistent with previous versions (2 below
native)
2011-08-03 15:09:28 -05:00
Mike Primm
ee790f86ed Fix marker position logic and zoom range calculation on Kzed and Flat 2011-08-02 21:51:00 -05:00
Mike Primm
737bcb98d9 Improve handling of /reload, clean up dead code 2011-07-24 23:23:24 -05:00
Mike Primm
a878ce7cd1 Improve progress messages, make sure HDMaps that share render only render once 2011-07-22 01:42:10 -05:00
Mike Primm
559f251d50 Add mapzoomin attribute, to adjust zoom in levels beyond native tile resolution 2011-07-21 23:25:59 -05:00
Mike Primm
ee3f07c6cd Add support for compass rose in all 8 cardinal directions 2011-07-21 02:50:29 -05:00
Mike Primm
2c16c800e9 Performance tuning, improve workaround for bukkit scheduler bugs 2011-07-19 00:52:05 -05:00
Mike Primm
898f4a6740 Handle bigmap versus bigworld, allows HDMap to be big-map-style independent of bigworld setting. Add bigmap setting on KzedMap and FlatMap too. 2011-07-09 15:51:32 -05:00
Mike Primm
69baafe597 Refactor HDMap configuration - add shaders, perspectives 2011-07-08 22:40:40 -05:00
Mike Primm
48fea32500 Tighten up lock release logic on I/O and other exceptions
Make version in plugin.yml string so that 0.20 isn't 0.2
2011-06-28 22:13:42 -05:00
Mike Primm
214fec208d Add queued update triggers for zoom-out updates - deals with file time
resolution issues on Linux (1 second is too long to be reliable)
2011-06-24 08:25:26 -05:00
Mike Primm
f722c6fdc8 Finish zoom out on normal and 'bigworld' mode, fix marker coordinates 2011-06-23 00:53:56 -05:00
Mike Primm
bec1108fa1 Settable zoom out code - incomplete prototype 2011-06-22 08:27:21 -05:00
Mike Primm
e584e3202b Add delay-retry loop for handling temporarily locked image file writes 2011-06-20 16:58:07 -05:00
Mike Primm
6efbf3a3df Update biomecolored to support biome-type-based,
biome-temperature-based and biome-rainfail-based shading
2011-06-20 16:00:28 -05:00
Mike Primm
edf7d4f5c8 Add biome-based coloring option for surface map 2011-06-20 00:09:22 -05:00
Mike Primm
0b7bd72231 Merge remote branch 'upstream/master' 2011-06-15 01:40:42 -05:00
Mike Primm
b1d1075dfe Add support for ChunkSnapshot API (CB860), maintain legacy support too 2011-06-15 01:27:59 -05:00
Mike Primm
0cf7b4be9b Add alternate directory structure to better support huge worlds 2011-06-13 21:43:02 -05:00
Mike Primm
6a50b2ebcd Add background color support per map, add skylands template default 2011-06-03 03:24:21 -05:00
Mike Primm
3c793b5302 Merge remote branch 'origin/master' 2011-06-01 19:09:46 -05:00
Mike Primm
cf71b38259 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
c4646dc299 Add transparency option on Flat and Surface map, fix file locks 2011-05-31 23:44:17 -05:00
Mike Primm
c48d06eec1 Add file access synchronization to prevent conflicting tile updates 2011-05-31 21:20:23 -05:00
Mike Primm
d393ccf6e9 Add render statistics, support for tile hashcodes to stop non-updates 2011-05-31 00:33:54 -05:00
Mike Primm
c00bd077cb 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
a25fcc0001 Create BufferedImage using our own buffer - allows faster pixel
writing
2011-05-29 01:52:57 -05:00
Mike Primm
9b12ebc025 Shift all rendering over to async thread pool, minimize server thread
load
2011-05-28 00:08:29 -05:00
Mike Primm
d2c947653d 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
d5c19703f6 Added map-icon to configuration. 2011-05-22 17:45:30 +02:00
FrozenCow
e57301b14e Added events for components and implemented 'buildclientconfiguration'-event in ClientConfigurationComponent. 2011-05-22 16:27:43 +02:00
Mike Primm
325f069b46 Add BufferedImage cache 2011-05-21 00:30:42 -05:00
Mike Primm
024e7dc96c Tune shadow render, add to accept wait queue on web server 2011-05-20 23:26:46 -05:00
Mike Primm
992a905b0a 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
3365a96565 Prototype of chunk snapshot support - pre-Bukkit API (reflection
based, with fallback to existing APIs)
2011-05-20 01:38:49 -05:00
FrozenCow
7937a64f06 Cleaned up logging. 2011-05-19 01:36:14 +02:00
FrozenCow
e28ee185b6 Cleaned up configuration handling and added new logging class. 2011-05-19 01:36:05 +02:00
Mike Primm
28e98a617d 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
17ba0d4d00 Organize imports. 2011-05-17 02:43:25 +02:00
zeeZ
05f3ced64f Tabs and spaces. 2011-05-16 14:51:18 +02:00
Mike Primm
271990b87c 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
e26ac97787 Clean up tabs 2011-05-15 08:02:45 -05:00
Mike Primm
0ffc825b05 Re-merge the nether render support, and update race condition fixes 2011-05-14 23:25:59 -05:00
FrozenCow
84d01c530a Replaced tabs with spaces to conform the Bukkit standards. 2011-05-13 10:41:02 +02:00
Mike Primm
17644a5778 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