0
Commit Graph

115 Commits

Author SHA1 Message Date
Xon
383e8197af Performance improvements on update scan 2011-03-19 02:50:44 +08:00
Aaron Griffith
07dd219d20 refactored c extensions into one 2011-03-08 17:43:50 -05:00
Aaron Griffith
4e63e6e9fa Merge commit 'eminence/direct-to-tiles' into dtt-c-render
Conflicts:
	chunk.py
2011-03-08 16:34:26 -05:00
Aaron Griffith
5a05105b62 Merge branch 'master' into dtt-merge
Conflicts:
	chunk.py
2011-03-06 18:05:28 -05:00
Andrew Chin
9c7d6a184d Print error messages after print_help 2011-03-06 17:54:18 -05:00
Aaron Griffith
a5612a1fa5 moved corrupt chunk handling to get_lvldata so it applies to all chunk loading
brought up in Issue #286:
https://github.com/brownan/Minecraft-Overviewer/issues/286
2011-03-06 15:48:48 -05:00
Aaron Griffith
6a1ee964bf inlined 'iterate_chunkblocks' (backported from Xon's code)
From the discussion in the massive Issue #271 discussion:
https://github.com/brownan/Minecraft-Overviewer/issues/#issue/271
2011-03-06 01:57:05 -05:00
Andrew Chin
66a9306a29 Experimental code to provide a C implementation of chunk_render
Please see the TODO comments in iterate.c

None of the lighting, spawning, night, or cave modes work with this
version.
2011-03-06 00:30:40 -05:00
Aaron Griffith
48642e0e5b changed biome fix to be more consistent with the other region code 2011-03-03 20:48:32 -05:00
Aaron Griffith
a6805c2e0c updated biome rendering to use latest Biome Extractor format 2011-03-03 12:27:47 -05:00
Aaron Griffith
d813053329 removed lingering traces of the hash system 2011-03-01 20:28:31 -05:00
Aaron Griffith
4293851fcc fixed chunk double-render bug and artifacts at the top of each tile 2011-03-01 20:22:22 -05:00
Aaron Griffith
33b10f7065 initial (and incorrect) drawing code 2011-03-01 16:45:04 -05:00
Andrew Chin
f4cd71a09b Fix region calc typo 2011-03-01 08:11:38 -05:00
Andrew Chin
5f2f098d40 Better cache checking, now uses chunk timestamps
and possibly fixed a bug in check_cache?
2011-02-28 22:10:36 -05:00
Andrew Chin
caa1ef1f45 Catch proper exception in chunk.py
Also removed unnecessary check in world.py
2011-02-28 18:56:22 -05:00
Andrew Chin
1f8fb017a3 Check to ensure level.dat has been updated
Error out if level.dat has not been updated.  Also, cleaned up some
debugging print statements
2011-02-26 21:59:49 -05:00
Andrew Chin
a690ebbce5 some caching work
hashchecking needs to be checked to see if it's still OK
timestamp checking should involved the timestamps from inside the region
file, not of the region file itself.
2011-02-24 23:29:58 -05:00
Alejandro Aguilera
5e360600c4 Update functions _load_up_left and _load_up_right with the new region format in chunk.py. 2011-02-24 13:22:25 +01:00
Andrew Chin
05ea562060 Working rendering with the new McRegion format.
Notes:
 * Currently only works with -p 1
 * Caching is mostly compatible with existing caches, but not completly.
   This needs more testing and more code reviews
 * There are probably many code paths that will throw exceptions.
 * Not ready for general use yet, but is OK for testing
2011-02-23 22:13:35 -05:00
Alejandro Aguilera
d90a3666dd Fix .any() not working as expected. 2011-02-03 00:36:02 +01:00
Alejandro Aguilera
15e0e9210f Finish and comment. 2011-02-02 23:01:25 +01:00
Alejandro Aguilera
448733dd44 Improvements for generate_pseudo_andcildata in chunk.py, and necessary changes to fences case in textures.py
This changes will help to properly render redstonewire.
2011-02-02 23:01:25 +01:00
Alejandro Aguilera
5bf705dfe9 Improving the function generate pseudo_ancildata. (first part) 2011-02-02 23:01:25 +01:00
Alejandro Aguilera
664d14dee3 Add some Minecraft beta 1.2 blocks to the render support:
-The 2 new woods
-The dispensers
-Chaged to the new top for the furnace (and I think fixed them)
-Lapis lazuli block
-Lapis lazuli ore
-Note block
-Sandstone
2011-01-15 01:49:46 +01:00
Alejandro Aguilera
effaa204e0 Add blockid = 55 to the list of transparent blocks. 2011-01-11 10:10:31 +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
0ab56ce1d9 made sure biome color arrays are loaded in each thread 2011-01-01 15:45:36 -08:00
Andrew Chin
97aa81311c Fixed empty sign handling, updated findSigns.py 2010-12-31 23:35:18 -05:00
Alex Cline
ee1e7c3aa9 Changed blank sign logic to use aheadley's suggestion. 2010-12-31 20:45:02 -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
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
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
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
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
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
8ec7986353 Only pass the part of the dict we need to the chunk renderer 2010-12-13 20:34:17 +10:00
Andrew Chin
fcbff8af2a Improved marker titles and newlines
Primarily for browsers that don't render newlines in tooltips.
Thanks to ben0x539
2010-12-11 20:15:12 -05:00
Ryan McCue
211f489f66 Add logging regarding whether cached image is used or not 2010-12-11 21:32:36 +10:00
Ryan McCue
b7f4855ec6 Use logging instead of print statement 2010-12-11 21:31:20 +10:00
Ryan McCue
dff4f4aea8 Add debugging info 2010-12-11 21:22:58 +10:00