0
Commit Graph

683 Commits

Author SHA1 Message Date
Andrew Chin
935d353ef1 Fix build regression on non-windows platforms 2011-01-10 21:42:33 -05:00
Andrew Chin
521a359139 changes for py2exe 2011-01-08 16:09:01 -05:00
Andrew Chin
feeb3283e0 New benchmarking script
Useful for examining how a code change affects performance
2011-01-08 01:21:41 -05:00
Andrew Chin
dc842874ed Merge remote branch 'upstream/master' 2011-01-08 01:03: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
Alejandro Aguilera
416e1b6b85 Add textures for minetrack slopes in textures.py 2011-01-02 16:23:42 +01:00
Andrew Chin
3d84e76d0e Merge branch 'grasscolor-fix' of https://github.com/agrif/Minecraft-Overviewer into agrif-grasscolor-fix 2011-01-01 20:57:24 -05:00
Aaron Griffith
c43e7c0dbf alpha_over warning will now only print once per run 2011-01-01 19:00:44 -05:00
Aaron Griffith
0ab56ce1d9 made sure biome color arrays are loaded in each thread 2011-01-01 15:45:36 -08:00
Aaron Griffith
b2d8c415ca added check to textures.py prepareBiomeData so it will only run once per process 2011-01-01 15:43:45 -08:00
Andrew Chin
97aa81311c Fixed empty sign handling, updated findSigns.py 2010-12-31 23:35:18 -05:00
Andrew Chin
7b6bbbc267 Merge branch 'blanksigns' of https://github.com/TheMagistrate/Minecraft-Overviewer into TheMagistrate-blanksigns 2010-12-31 22:37:45 -05:00
Alex Cline
ee1e7c3aa9 Changed blank sign logic to use aheadley's suggestion. 2010-12-31 20:45:02 -05:00
Aaron Griffith
0136cc1eba changed textures.py to use global declarations instead of sys.modules[__name__] 2010-12-31 17:59:14 -05:00
Andrew Chin
bbeb0d1359 Merge remote branch 'origin/master' 2010-12-31 00:56:05 -05:00
Andrew Chin
e989e97c5e Added a new config file parser.
The new config file parser has an interface that's nearly identical to
the OptionParser of optparse.

Below is a sample settings.py config file:

$ cat settings.py
import multiprocessing

if 'rendermode' not in locals():
    rendermode="lighting"

cachedir = "cache.%s.cachedir" % rendermode

procs = multiprocessing.cpu_count() - 1
2010-12-31 00:53:57 -05:00
Andrew Chin
3ee93357b9 Check that level.dat exists before trying to nbt.load it 2010-12-30 21:04:36 -05:00
Alex Cline
802cd30dc8 Added conditional to only add signs that are not blank to the POI list. 2010-12-30 15:31:03 -05:00
Andrew Chin
fe8cd07c51 Fixed version check 2010-12-23 23:31:07 -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
Andrew Chin
e9aa4b6228 Merge branch 'master' of https://github.com/jennytoo/Minecraft-Overviewer into jennytoo-master 2010-12-18 20:13:11 -05:00
Andrew Chin
334385951c Merge branch 'fences' of https://github.com/Fenixin/Minecraft-Overviewer into Fenixin-fences 2010-12-18 18:27:06 -05:00
Andrew Chin
ad5fa9b208 Merge branch 'master' of https://github.com/rmccue/Minecraft-Overviewer into rmccue-master 2010-12-18 15:30:12 -05:00
Andrew Chin
d08730eefb Merge branch 'optimization2' of https://github.com/Fenixin/Minecraft-Overviewer into Fenixin-optimization2 2010-12-18 13:50:35 -05:00
Andrew Chin
774e9ff1bd Merged in .gitignore changes 2010-12-18 13:21:43 -05:00
Alejandro Aguilera
dc7307af56 Darken both sides of the fence 2010-12-17 15:30:00 +01:00
Alejandro Aguilera
1d31cd7e9a Add a special case in generate_special_texture for fences, and add his blockid to special_blocks set. 2010-12-17 13:21:24 +01:00
Alejandro Aguilera
daf7a68d38 Make chunk.py check for blocks that need pseudo ancil data and call generate_pseudo_ancildata. 2010-12-17 12:57:56 +01:00
Alejandro Aguilera
1ad82cf4b1 New function in chunk.py that generates false ancillary data for fence like blocks. 2010-12-17 12:52:47 +01:00
Alejandro Aguilera
598050ddf4 Chunk.pi now loads the 4 adjacent chunks (only blocks data). 2010-12-17 12:51:07 +01:00
Jenny
62a7ee5a50 Fixed missing comma. 2010-12-16 06:46:53 -08: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
Alejandro Aguilera
c5f21ba94a Don't render blocks of half covered chunks. 2010-12-14 09:30:23 +01:00
Ryan McCue
ae0b3dfedf check_cache() wants a full tuple, not just part 2010-12-14 11:54:26 +10:00
Andrew Chin
5819ab60e0 Fix for optimize-img with spaces in the output_dir 2010-12-13 19:49:24 -05:00
Alejandro Aguilera
07383f6d5d Optimization: Chunk.py checks in adjacents chunks to render or not blocks. 2010-12-13 23:17:56 +01:00
Ryan McCue
b3abb072c8 Use chunk.check_cache 2010-12-13 22:16:35 +10:00
Ryan McCue
72ec5469fa Fix order and naming of parameters 2010-12-13 22:04:52 +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
Andrew Chin
e70bafb453 Tweaked the viewstate link GUI
Moved it to the bottom of the screen, as it was in the way of the
existing controls on the top-right.  Added it as a map conrol instead of
a simple div.  Improved the styling a bit
2010-12-11 23:15:02 -05:00
Andrew Chin
33a03213c4 Merged in arrai's viewstate link code
Merge commit 'ffe92f7db84789436f53769df1099cd8a68e6097' into arrai-master

Conflicts:
	template.html
2010-12-11 22:19:28 -05:00