0
Commit Graph

121 Commits

Author SHA1 Message Date
matrixhacker
b6ac54a2b6 Added the ability to specify multiple crop zones. 2014-05-09 23:44:46 -04:00
Aaron Griffith
4b2cbfb5ee Merge pull request #1074 from CounterPillow/optimizerewrite
Rewrote image optimisation stuff.
2014-05-06 18:25:09 -04:00
Aaron Griffith
7c23d6e86a added rendercheck mode 3, the identity function of rendercheck modes! 2014-05-01 16:48:28 -04:00
Aaron Griffith
a8fc3300b4 general fixes for min/maxzoom, documentation cleared up
hopeful fix for #1086
2014-04-05 20:29:58 -04:00
Andrew Chin
90071e999f Merge #1055 -- Prevent opening and parsing files which haven't been modified since the last time that the render was done. 2014-03-30 18:21:08 -04:00
CounterPillow
09477ed8a0 Rewrote image optimisation stuff.
The old one was broken anyway.
2014-03-04 00:39:59 +01:00
Andrew Chin
d11960ecfb Try to track the capabilities of our outputdir filesystem.
For example, don't chmod if the filesystem dosen't support chmod, and
don't rename over files if that's not supported (this functionality was
already in place).

Should fix #1061
Related to #1055 (we could add a mtime capability flag)
2014-02-11 10:38:38 -05:00
Patrick-Emmanuel Boulanger-Nadeau
18beae6624 Import the platform 2014-01-21 10:55:13 -05:00
Patrick-Emmanuel Boulanger-Nadeau
8023b52fdc Pythonic or 2014-01-21 10:52:53 -05:00
Patrick-Emmanuel Boulanger-Nadeau
6ee3eba550 Do not use the newer than check on windows since apparently minecraft will not force a timestamp update on the file when they are written until it's closed. 2014-01-21 10:08:19 -05:00
Patrick-Emmanuel Boulanger-Nadeau
8458451044 Respect the markall parameter 2014-01-20 15:55:51 -05:00
Patrick-Emmanuel Boulanger-Nadeau
4579998663 Prevent opening and parsing files which haven't been modified since the last time that the render was done 2014-01-20 15:34:36 -05:00
Johan Kiviniemi
4bb8c7ce3a tileset: Log message when resuming interrupted forcerender 2013-12-29 03:26:05 +02:00
Johan Kiviniemi
8ac4f2811e RendertileSet: Do not render the root tile unnecessarily 2013-12-29 01:43:32 +02:00
Johan Kiviniemi
65f375eaac Add debugging code to RendertileSet counts
There seems to be something wrong with count caching. Calculate the
count by iterating and log an error when that count doesn’t equal the
precalculated one.
2013-12-29 01:36:36 +02:00
Johan Kiviniemi
471d6247db tileset: Automatically resume an interrupted forcerender 2013-12-28 14:57:53 +02:00
Aaron Griffith
da6d3614bc Merge remote-tracking branch 'ion1/master' 2013-12-28 01:12:46 -05:00
Johan Kiviniemi
71e3441cb1 RendertileSet: Cache the number of tiles 2013-12-27 08:51:36 +02:00
Johan Kiviniemi
c49fdd19e1 RendertileSet: Round-robin the four top-level subtrees 2013-12-27 08:51:36 +02:00
Johan Kiviniemi
e4638467ef Simplify RendertileSet code 2013-12-27 08:51:36 +02:00
Andrew Chin
7089eef005 Add a minzoom option
This only affects what's written to overviewerConfig.js.  That is, it
does not change the amount of tiles rendered (it's exactly analogous to
maxzom)

Closes #994
2013-12-26 23:04:20 -05:00
Johan Kiviniemi
66fb4afb5c tileset: Unify _posttraversal_helper and _iterate_helper 2013-12-25 04:50:18 +02:00
Johan Kiviniemi
f94e3de03f tileset: Render in expanding order from center 2013-12-25 04:50:18 +02:00
Johan Kiviniemi
a788065cfb tileset: Typo fix 2013-12-24 21:47:27 +02:00
Aaron Griffith
df732bfa25 Revert "Merge remote-tracking branch 'exhuma/master', PR #963"
This reverts commit e26727943f, reversing
changes made to 7bbb077704.
2013-12-02 07:40:00 -05:00
Aaron Griffith
e26727943f Merge remote-tracking branch 'exhuma/master', PR #963
Conflicts:
	overviewer.py
	overviewer_core/aux_files/genPOI.py
	overviewer_core/textures.py
2013-12-01 16:35:28 -05:00
Robin
d5c5a40797 Negative maxzoom gets added to the total levels
->Specifying -1 would result in the most detailed level to be excluded
2013-11-21 06:48:52 +01:00
Michel Albert
4112b5a72e Using a dedicated logger inside overviewer_core. 2013-07-28 15:04:51 +02:00
Aaron Griffith
f87dcee6f1 emit a warning (but don't crash!) on unexpected empty tiles 2013-07-25 14:15:19 -04:00
Krotton
221be8e211 s/rednerchecks/renderchecks
Well, I suppose this branch doesn't execute too often, as nobody noticed the typo so far ;).
2013-06-08 23:30:02 +02:00
Nicolas Frattaroli
3986e10af2 Added option showlocationmarker 2013-05-13 15:38:54 +02:00
Andrew Chin
94f51136b1 Fix spawn markers
(Fallout from the arbitrary dimension name change)
2013-02-03 14:56:00 -05:00
Aaron Griffith
443aa84b07 updated tileset.py and genPOI.py and a few other stragglers 2013-01-06 01:00:06 -05:00
Thomas Lake
223b326df1 Add option to configure maxzoom and appropriate documentation 2012-11-28 20:24:29 -05:00
Aaron Griffith
49b05dece5 huh, I guess the overlay attribute is always there. length > 0 then. 2012-09-11 15:47:52 -04:00
Aaron Griffith
143b9fa366 overlay-ness now considers whether the "overlay" option is set 2012-09-11 14:28:35 -04:00
Andrew Chin
8c9de7a575 Allow the poiTitle setting to be tileset-specific. Added docs
Closes #761
2012-07-28 20:53:03 -04:00
Andrew Chin
59c706cf14 Merge remote branch 'origin/resize' 2012-07-20 22:22:44 -04:00
CounterPillow
63b72aabaa Added defaultzoom config option 2012-07-15 05:53:15 +02:00
RamsesA
2b421d6d25 added a fast resize function
Added resize_half() and resize_half_wrap() functions to composite.c and
overviewer.h, to replace the call to PIL's resize function made by
tileset.py. Also added "resize_half" to COverviewerMethods in main.c, so
it can be called from Python. Should increase performance by 10 to 20%
for the entire program.
2012-07-03 20:26:23 -04:00
Aaron Griffith
25cb1f19c9 if render_loop raises a general exception, it's considered fatal now
this is how some misconfiguration is caught, so *some* must be fatal
2012-06-07 19:56:11 -04:00
Aaron Griffith
05bfaaf967 added slime overlay, colors chunks green if slimes can spawn 2012-06-05 23:18:15 -04:00
Andrew Chin
97c3f8f913 Merge remote branch 'origin/devel'
Conflicts:
	docs/config.rst
2012-06-03 21:15:12 -04:00
Andrew Brown
fdda8234ff added warning for extremely absurd region files 2012-05-11 22:19:15 -04:00
Fabian Norman
8ffcec347a Merge remote branch 'source/master' into remote-tiles
Conflicts:
	overviewer.py
2012-05-02 01:04:13 -07:00
Fabian Norman
85567cae42 Initial changes to add the base option to the config file. 2012-04-25 19:42:18 -07:00
Andrew Chin
d97c3547f9 Merge branch master into devel
Conflicts:
	docs/config.rst
	overviewer.py
	overviewer_core/settingsDefinition.py
	overviewer_core/tileset.py
2012-04-15 11:03:16 -04:00
Richard Pastrick
b13bbd0204 Add the JS stuff and a little bit more python glue to make overlays only display for a specified render 2012-04-12 08:59:13 -07:00
Aaron Griffith
db0a1d3415 updated isOverlay to correctly recognize modes with no Base() primitive 2012-04-09 17:10:05 -04:00
Thomas Lake
36aa6ed011 Add 'showspawn' render option
Allow users to hide the spawn marker that is normally generated for
overworld levels
2012-04-08 13:04:13 +01:00