Andrew Brown
142166ef8e
Failing to delete a corrupt tile should really be an error in the log.
2011-11-13 11:36:27 -05:00
Andrew Brown
0a5c90ba98
delete a tile if the innertile routine can't open it
...
This makes corrupt tiles self-correcting on subsequent runs. Before,
the warning is printed but the tile remains. Worse, the warning won't be
printed again.
2011-11-13 11:23:49 -05:00
Andrew Brown
04a2f05d1c
implemented stochhastic check with chunk scanning
...
Also changed uniform(0,1) to random()
2011-11-13 09:39:49 -05:00
Andrew Brown
866b499142
Lots of rearranging and comments touchups
...
fixes progress updates for first level tiles
fixed long-standing typo inntertile -> innertile
2011-11-13 09:22:19 -05:00
Aaron Griffith
944edf4ef8
changed material property lookups to use a bit table, not python sets
2011-11-11 20:05:29 -05:00
Andrew Brown
3cc22bc13c
Two chunkscan optimizations implemented
...
Checks a path in the tree to see if it's already dirty before
calculating its filepath and checking its mtime
Changed Tile.get_filepath() to use str.join instead of os.path.join
2011-11-11 17:44:16 -05:00
Aaron Griffith
afd3ad639b
textures are now stored in a continuous array in memory, instead of a dict
2011-11-11 15:49:08 -05:00
Aaron Griffith
bb55547b0d
Merge textures rewrite into 19prep
2011-11-11 14:05:05 -05:00
Aaron Griffith
dc0110ee73
unknown blocks are no longer assumed to be transparent
2011-11-10 09:51:25 -05:00
Aaron Griffith
74e0ef2ad6
brought solid_blocks (etc.) sets back in line with old values
2011-11-10 09:42:21 -05:00
Andrew Brown
a822cd1d3c
added an index of command line options with brief descriptions
...
Also added a warning to regionlist that it may be broken
2011-11-10 00:03:30 -05:00
Andrew Brown
b9bca19cda
fixed auto-detection for forcerender on empty maps
...
also re-arranged code so scan_chunks() returns the tree object
2011-11-09 23:17:27 -05:00
Aaron Griffith
ae651b87ec
Merge branch 'texture-packs'
2011-11-09 13:59:11 -05:00
Andrew Brown
f6b7e1b501
implemented forcerender and auto-detection of empty tiledirs
...
Also added a few debug lines during chunkscanning with timing info
2011-11-08 16:02:15 -05:00
Andrew Brown
14ed48f975
misc cleanup and minor optimizations
2011-11-08 15:31:01 -05:00
Andrew Brown
75070f817f
fixes so the last commit runs on maps that need work
2011-11-07 23:18:38 -05:00
Andrew Brown
13f3ba90ab
preliminary chunk-scan algorithm activated.
...
forcerender and stochastic are currently broken.
2011-11-07 22:18:51 -05:00
Andrew Chin
d18df1e694
Don't print scary bug warning on ctrl-c
2011-11-07 21:49:00 -05:00
Andrew Brown
636913af57
Merge remote-tracking branch 'origin/master' into brownan-chunkscan
...
Conflicts:
overviewer.py
overviewer_core/quadtree.py
2011-11-07 21:04:01 -05:00
Andrew Chin
d59410123d
New table format to list detected worlds
2011-11-07 20:52:30 -05:00
Andrew Brown
d589369ea3
catch-all exceptions and print a more colorful message
2011-11-07 20:36:00 -05:00
Andrew Brown
49f8e1a09f
configure_logger() takes a loglevel and verbose flag now
2011-11-07 20:11:10 -05:00
Aaron Griffith
acbf87db3f
bumped extension version for new smooth-lighting mode
2011-11-07 19:50:55 -05:00
Aaron Griffith
9b39a96fef
Merge branch 'smooth-lighting'
2011-11-07 19:46:10 -05:00
Aaron Griffith
c0d37004cc
now using MCPatcher animated water/lava textures, if present
2011-11-07 16:57:34 -05:00
Aaron Griffith
bca4b9b011
added support for loading textures directly out of texture packs
2011-11-07 16:57:34 -05:00
Aaron Griffith
0d656e274f
added Jason Scheirer to CONTRIBUTORS.rst
2011-11-07 16:57:34 -05:00
Alejandro Aguilera
e2dde5e6e0
Add lily pads to biome tinting. Fix pumpkin and melon stem.
2011-11-07 16:21:03 +01:00
Alejandro Aguilera
29bc7fa0ba
Update iterate.c for nether brick fences and update the way glass panes and iron bars stick.
2011-11-07 15:41:55 +01:00
Alejandro Aguilera
25493c071f
Add place holders for levers and buttons so the block is transparent.
2011-11-07 15:20:43 +01:00
Alejandro Aguilera
6dbac888d2
Fix holes in stairs.
2011-11-07 13:26:22 +01:00
Alejandro Aguilera
3f628dcc1b
Add all the 1.9 pre-release blocks.
2011-11-07 13:16:35 +01:00
Alejandro Aguilera
1cfe21153a
All blocks before 1.9pre added.
2011-11-07 11:56:35 +01:00
Andrew Brown
b1c38a56f2
scan_chunks() works according to preliminary tests \o/
2011-11-06 23:25:47 -05:00
Andrew Brown
6c0ab7e48c
moved tile filepath calculation to Tile object
2011-11-06 21:12:11 -05:00
Andrew Brown
2e28375786
damn semicolons!
2011-11-06 20:58:50 -05:00
Andrew Brown
33667093a3
added the default value for bgcolor and imgformat in QuadtreeGen constructor
2011-11-06 20:46:05 -05:00
Andrew Brown
6e2d52ceee
This should really raise an error if file not found
2011-11-06 20:35:11 -05:00
Aaron Griffith
4de9ba3b6e
added docs for lighting and smooth-lighting
2011-11-06 20:34:06 -05:00
Andrew Brown
3f54347735
cleaned up some mess, clarified some things in comments
2011-11-06 18:27:37 -05:00
Andrew Brown
30e7083cd0
Tile.compute_path implemented and exhaustively tested
2011-11-06 10:01:44 -05:00
Andrew Brown
13bca41192
docs: illustration of quadtree paths
2011-11-06 09:38:19 -05:00
Aaron Griffith
53dbdc98c6
added special smooth-lighting exception for water
2011-11-05 23:29:51 -04:00
Andrew Brown
c460b0747d
added more docs on tile layout and addressing
2011-11-05 12:04:00 -04:00
Andrew Brown
5d8daabe05
re-named variables for increased accuracy
2011-11-04 18:34:08 -04:00
Andrew Brown
5d26d3e5f6
added repr, eq, neq methods to Tile class
2011-11-04 18:33:27 -04:00
Andrew Brown
c56c39fac7
Added note to -v option in docs
2011-11-03 21:36:38 -04:00
Andrew Chin
42593bab58
Use a terse logging line if --verbose is not specified
2011-11-03 21:29:27 -04:00
Aaron Griffith
c1fdcffad7
fixed rendering error in snow and half-steps
2011-11-03 16:07:56 -04:00
Aaron Griffith
acb2d159f5
filled in simpler blocks between id 50 and 85
2011-11-03 16:05:25 -04:00