Aaron Griffith
f6651cd759
bumped extension number to prepare for likely merge tomorrow
2011-11-17 09:33:22 -05:00
Andrew Brown
4c34e413ab
renamed "level" to "depth" in DirtyTilesTree. Also...
...
iterate_dirty() yields tuples, not reverseiterators
added another level to test_iterate_level()
2011-11-16 20:53:52 -05:00
Aaron Griffith
eac7561ed1
redirecting output to a log file now works on Python 2.6 (Issue #535 )
2011-11-15 15:47:33 -05:00
Andrew Brown
bd08dbc955
Minor comments adjustments
2011-11-15 13:56:39 -05:00
Alejandro Aguilera
b08b15c84f
Fix rail north rotation.
2011-11-15 09:48:30 +01:00
Alejandro Aguilera
6f0b8f74ce
Added buttons.
2011-11-15 09:32:24 +01:00
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
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
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 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
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
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
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
Aaron Griffith
53dbdc98c6
added special smooth-lighting exception for water
2011-11-05 23:29:51 -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 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
Andrew Chin
eb1f79ddf1
Fixed typo
2011-11-03 11:44:36 -03:00
Alejandro Aguilera
2cc160bcaa
Add up to blockid 85.
2011-11-03 13:52:02 +01:00
Aaron Griffith
cc4877f149
fixed stochastic_render and regionlists working together
2011-11-01 23:43:05 -04:00
Aaron Griffith
4d5f19b081
Merge branch 'agrif-stochastic'
2011-11-01 23:20:05 -04:00
Andrew Brown
72681a36cb
re-factored the way tiles are passed from quadtree through rendernode
2011-11-01 22:32:34 -04:00