Commit graph

75 commits

Author SHA1 Message Date
Mike Primm
f7b2d78e80 Fix tile render timmes, split out utility class 2011-07-08 00:40:52 -05:00
Mike Primm
016f7541dc Add some cleanup to help avoid exceptions on /reload and shutdown/disable 2011-06-29 01:37:09 -05:00
Mike Primm
1fd933e07f 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
c108ca2ddd Add option to have Dynmap STFU during start (verbose: false)
Add softdep, authors, stats commands to plugin.yml
2011-06-26 14:31:40 -05:00
Mike Primm
e9a42660ab Change autogenerate-to-visibilitylimits to have options for map-only (temporary generated chunks) versus permanent (world growing)
Fix exception catching code in thread pool
2011-06-25 16:01:06 -05:00
Mike Primm
b5a4a844e0 Add autogenerate-to-visibilitylimits option to allow automatic priming/generating of chunks within defined visibility area
Avoid rendering tiles with nothing but empty chunks
Limit size of hash-file cache, and move hash files to world-specific tile directories
2011-06-25 01:13:40 -05:00
Mike Primm
4d4db1fa8d 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
4d388b1115 Finish zoom out on normal and 'bigworld' mode, fix marker coordinates 2011-06-23 00:53:56 -05:00
Mike Primm
6fdf859c00 Finish rest of zoom out core logic - still need to finish web UI 2011-06-22 13:56:21 -05:00
Mike Primm
b575cd3b1b Settable zoom out code - incomplete prototype 2011-06-22 08:27:21 -05:00
Mike Primm
2336b89614 Add biome-based coloring option for surface map 2011-06-20 00:09:22 -05:00
Mike Primm
01d18a3851 Add support for throttling chunk load rate, spreading over ticks 2011-06-18 19:43:47 -05:00
Mike Primm
7231a16cbb Add support for limiting visible areas on each world, selective fill
of hidden areas (air, stone, ocean)
2011-06-16 23:37:28 -05:00
Mike Primm
4fd1cfd923 Log fullrender messages to commandsender, versus just log 2011-06-16 01:58:12 -05:00
Mike Primm
076db15b63 Merge remote branch 'upstream/master' 2011-06-15 01:40:42 -05:00
Mike Primm
934a952135 Add support for ChunkSnapshot API (CB860), maintain legacy support too 2011-06-15 01:27:59 -05:00
Mike Primm
1d069f7fa7 Add alternate directory structure to better support huge worlds 2011-06-13 21:43:02 -05:00
Mike Primm
b4a909aee3 Have per-world control of sending player position and health, prevent
player icon flicker on addplayer (even when not on world or position
is obfuscated)
2011-06-03 08:42:24 -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
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
Mike Primm
51db1bda82 Fix exception in world ordering code when world not in worlds list 2011-05-26 15:32:56 -05:00
FrozenCow
e4628b2664 Fixed order of worlds in sidebar. 2011-05-26 19:05:16 +02:00
FrozenCow
b4bde5148b Changed the way templates and world-configuration are handled. 2011-05-24 02:13:43 +02:00
FrozenCow
678b6b916b Added events for components and implemented 'buildclientconfiguration'-event in ClientConfigurationComponent. 2011-05-22 16:27:43 +02: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
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
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
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
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
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
02514b8625 Render command now responds with a nice message. 2011-03-10 22:59:03 +01:00
FrozenCow
d9bbef12f8 Some changes after running Findbugs. 2011-03-05 16:09:26 +01:00
FrozenCow
a21c945097 Fixed JsonTimerTask. 2011-02-26 18:23:35 +01:00
FrozenCow
1df916dde0 Made MapTypes per World (instead of having MapTypes for all worlds). 2011-02-21 22:17:38 +01:00
FrozenCow
b900f5c419 Force making directories on tile-rendering (needs cleaner fix). 2011-02-13 23:23:15 +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
e4b0aff867 Renamed y to z in DynmapChunk. 2011-02-09 00:42:16 +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