0
Commit Graph

81 Commits

Author SHA1 Message Date
Aaron Griffith
5f5bda948e Merge remote branch 'eminence/mcregion' into mcregion 2011-02-23 18:01:09 -05:00
Andrew Chin
0372aea4ac New _find_regionfiles function 2011-02-23 17:49:34 -05:00
Aaron Griffith
b40d84f92b fixed crash on worlds named "World[not int]", and made world list play nice with world names 2011-02-23 13:07:21 -05:00
Aaron Griffith
dd01eae9e0 corrected world loading by name to handle renamed worlds 2011-02-23 12:52:21 -05:00
Andrew Chin
391ba50aea Provide a nice error message when run on McRegion'd worlds 2011-02-22 19:08:58 -05:00
Alejandro Aguilera
ad9756fa8c Change to a better looking and better maintainable code. (thanks blixt) 2011-01-05 15:09:55 +01:00
Alejandro Aguilera
23b7e90c54 Fix findTrueSpawn for spawn in y = 128 2011-01-05 02:38:57 +01:00
Andrew Chin
3ee93357b9 Check that level.dat exists before trying to nbt.load it 2010-12-30 21:04:36 -05:00
Andrew Chin
2bf7566b5a Ignore cache images that don't start with "img."
This fixes a bug introduced by the cache-checking changes
2010-12-23 02:21:54 -05:00
Andrew Chin
1a526bbba0 Merged in rmccue's cache checking changes
Conflicts:
	chunk.py
2010-12-23 02:01:58 -05:00
Jenny
d210076479 Adds spawn output rendering (variant of night which shows dark areas in red) and support for multiple map types with buttons to switch between them. 2010-12-14 02:39:01 -08:00
Ryan McCue
ae0b3dfedf check_cache() wants a full tuple, not just part 2010-12-14 11:54:26 +10:00
Ryan McCue
b3abb072c8 Use chunk.check_cache 2010-12-13 22:16:35 +10:00
Ryan McCue
439231d280 Pretend a string is an AsyncResult 2010-12-13 21:57:35 +10:00
Ryan McCue
810ecaf6db Use the proper find_oldimage() 2010-12-13 21:38:19 +10:00
Ryan McCue
fcfaffffbb Check if the key exists first 2010-12-13 21:21:24 +10:00
Ryan McCue
8def0ffaef Check cache synchronously, to avoid async overhead.
This is starting to do my head in. Apologies if these don't make any
sense, but they do to me. :)
2010-12-13 21:16:21 +10:00
Ryan McCue
c14c6d2bcc My typing is horrible tonight, use the proper variable name 2010-12-13 20:40:58 +10:00
Ryan McCue
ead41141bb Use a tuple properly, oops 2010-12-13 20:39:34 +10:00
Ryan McCue
ef82e657ee Use the right name 2010-12-13 20:38:11 +10:00
Ryan McCue
8ec7986353 Only pass the part of the dict we need to the chunk renderer 2010-12-13 20:34:17 +10:00
Ryan McCue
2eb85ae946 Use the proper directory to walk 2010-12-11 21:18:02 +10:00
Ryan McCue
e7c19f9309 Use a more efficient checker for cached images 2010-12-11 21:10:59 +10:00
Andrew Chin
e96bb91b82 Better handling of the biome tinting images.
If they're not found with _find_file, then look in the EXTRACTEDBIOME
folder in the worlddir.
2010-12-05 01:35:12 -05:00
Andrew Chin
c60180f793 Biome data from Biome Extractor is now used if it is present.
If the BIOMEEXTRACTOR data is not available, then non-biome aware
tinting will be used

Open biome data in binary mode (Windows requires this)
2010-11-23 00:48:39 -05:00
Andrew Chin
914a3073f0 Fixed --chunklist
This bug was introduced by the signpost code which required a queue
object to be passed to the chunk rendered.  This wasn't done with
--chunklist
2010-11-08 20:36:02 -05:00
Andrew Chin
d01fb1f520 Merge remote branch 'upstream/master' 2010-11-02 18:59:58 -04:00
Andrew Brown
32552c50d6 only render overworld. Still renders grayscale though 2010-10-31 13:19:58 -04:00
Andrew Chin
f2b34dff7a Improved handling of signposts 2010-10-24 00:19:27 -04:00
Andrew Chin
cb363df3cd Initial work on generating markers.js from signposts
Details:
 * A queue object is passed to all renderers, allowing each process to
   avoid using shared memory when recording signpost data.
 * New overviewer.dat file that stores persistent data between runs.
   Currently used to store information on signs.  markers.js is
   generated by merging the stored POI list with the newly generated POI
   list.
 * POIs are tagged with their type (e.g. "spawn" or "sign").  This
   should be useful if different types of POIs needs to be
   handled/displayed differently

Known bugs:
 * If you delete the last sign in a chunk, it won't be removed from
   markers.js
2010-10-20 22:11:34 -04:00
Aaron Griffith
f8b516b360 Merge branch 'master' into lighting
Conflicts:
	chunk.py
2010-10-14 15:01:31 -04:00
Aaron Griffith
51e1721a6d Merge branch 'master' into lighting
Conflicts:
	chunk.py
	gmap.py
	textures.py
	world.py
2010-10-05 08:35:23 -04:00
Alex Jurkiewicz
05770468fb More useful error if invalid --chunklist specified. 2010-10-05 15:29:22 +11:00
Andrew Chin
86d5476234 use os.path.join to build the spawn chunk path 2010-10-01 19:45:41 -04:00
Alex Jurkiewicz
c14740cbc6 Merge branch 'master' of git://github.com/brownan/Minecraft-Overviewer into logging 2010-10-01 09:51:49 +10:00
Alex Jurkiewicz
9f49bf3d77 Change logging to use the 'logging' module. 2010-09-30 14:35:37 +10:00
Andrew Brown
fd43331350 removed unused imports 2010-09-29 23:31:19 -04:00
Aaron Griffith
8dccf4162c added run-time flags to enable lighting or nighttime rendering 2010-09-28 16:57:23 -04:00
Aaron Griffith
8d145f2b58 added correct chunk boundary lighting 2010-09-27 19:59:41 -04:00
Andrew Brown
aa82a82f13 won't error when no worlds are found. Thanks jbergstroem 2010-09-27 09:03:24 -04:00
Andrew Brown
d637ddbbe1 added the option to specify a list of chunks to update. 2010-09-27 00:52:11 -04:00
Andrew Chin
0a73d3af56 Merge remote branch 'origin/master' 2010-09-26 01:32:16 -04:00
Andrew Brown
3c75c60f61 overhauled options descriptions in readme 2010-09-25 01:33:39 -04:00
Andrew Chin
80c15a3910 Added initial work on a structure to allow map annocations
The spawn point is automatically added to the gmap as a marker.
Adding other markers (signs, mob spawners, etc) should be fairly
easy.  Note: the math that converts from in-game block coordinates
to pixel coordinates is iffy.  it requires a careful codereview
2010-09-24 23:26:43 -04:00
Andrew Brown
c53070304f can now specify a chunk cache directory manually 2010-09-22 23:51:31 -04:00
Andrew Brown
d6f5afc40f Added GPL license to all files.
If anyone is interested in using this software under different
conditions, contact me.
2010-09-21 22:51:12 -04:00
Andrew Brown
7278286599 get_worlds only considers world dirs of length 6
(I like to store backups of my worlds in the same dir as World1.tar and
it was trying to open up world number 'r')
2010-09-21 22:36:06 -04:00
Ryan Hitchman
07145bef3b make it easier for the user to use a map in an expected location, show some information about found saves 2010-09-21 15:09:11 -05:00
Andrew Brown
6e323791e6 removed unneeded imports 2010-09-15 19:13:55 -04:00
Andrew Brown
2d4f0cc082 I believe I now have a usable program again 2010-09-14 23:53:28 -04:00