Commit Graph
517 Commits
Author SHA1 Message Date
Andrew Chin a9dafa0d05 Moved some more stuff from World to RegionSet
Also, fixed some syntax errors and other minor issues

Rewrite Tracking Issue: #568
2011-12-19 22:10:46 -05:00
Andrew Chin ad2399165a Scan the FS to find RegionSets
Rewrite Tracking Issue: #568
2011-12-19 21:25:24 -05:00
Andrew Chin d332554ec2 Initial commit of the AssetManager
Mostly a blind copy/past from world.py and googlemap.py.  Not runnable

Rewrite Tracking Issue: #565
2011-12-19 19:48:27 -05:00
Aaron Griffith 581ee0906a nbt.py now simply *reads files*, nothing more 2011-12-19 02:03:57 -05:00
Aaron Griffith debb14c48b overviewer no longer trusts ancillary data from blocks that should have none 2011-12-18 04:51:53 -05:00
Andrew Brown a078b46274 comments clarifications and whitespace adjustments 2011-12-17 21:51:32 -05:00
Andrew Brown 86c1b8ba15 dump markers json out in one shot. Added marker comments. 2011-12-17 21:51:32 -05:00
Andrew Brown e5fed90d04 fixed up comments in googlemap.py, moved region.js to web_assets 2011-12-17 21:49:08 -05:00
Aaron Griffith a690771253 --version now displays the correct (new-form) version number 2011-12-17 06:54:27 -05:00
Aaron Griffith 6fb96ca8ab fixed crash when strftime returns non-ascii characters
also generally better unicode handling on web_assets (all files are UTF-8)
2011-12-16 19:48:46 -05:00
Johan Kiviniemi abf643e3ae Switch to autoupdated cacheTag from constant cacheMinutes 2011-12-13 19:24:41 +02:00
Andrew Chin 0aeee084d7 Merge remote-tracking branch 'overviewer/nethermode' 2011-12-12 21:46:33 -05:00
Aaron Griffith cc95799d1a renamed uppertile to compositetile (makes more sense)
This reverts commit d4c6e40d59, and
re-applies it with a renamed uppertile.
2011-12-12 15:15:36 -05:00
Andrew Brown 4b622b1333 issue #559: don't error if the map needs expanding but the tiledir was deleted
Also changed from using a join on self.destdir and self.tiledir to just
using self.full_tiledir, which is the same thing but already computed.
2011-12-11 11:27:07 -05:00
Andrew Brown d4c6e40d59 renamed innertile to uppertile (makes more sense)
also changed a few "rendertile" to "worldtile"
2011-12-10 17:44:07 -05:00
Aaron Griffith 6cbcd73532 fix yet another zero-division error :/ 2011-12-08 14:48:19 -05:00
Alex Headley 4eec8b59bd tweak title format again 2011-12-07 11:36:23 -05:00
Alex Headley 4e60e6e724 change title format a bit 2011-12-07 11:28:53 -05:00
Alex Headley 350cc70749 add proper title to generated html 2011-12-07 11:17:39 -05:00
Aaron Griffith 8b55203d41 initial version of 'nether' option for normal render modes
based on eminence's gist https://gist.github.com/92b6dac4c2ed3cdcff10
2011-12-04 10:21:48 -05:00
Andrew Brown 4edc5e48b6 Set tile mtimes to the max of the chunk mtimes on render
or in the case of inner-tiles, the max of its child tile mtimes
2011-12-03 18:05:46 -05:00
Andrew Chin 74ad1e8ea5 Another attempt at fixing up print_statusline 2011-12-03 16:31:43 -05:00
Aaron Griffith 2ee33b9032 re-merged changes from c0d3700 that were lost in bb55547 2011-12-03 12:37:48 -05:00
Andrew Brown 73c2c1cfaf avoid zero division error if there are no tiles to render 2011-12-03 12:14:04 -05:00
Andrew Chin c28801ee3d Fix a small tile-per-sec issue where dt is small 2011-12-02 19:51:45 -05:00
Alejandro Aguilera 831183a524 Fix vines. 2011-11-30 01:04:36 +01:00
Alejandro Aguilera 8ec92b9595 Add levers. 2011-11-30 00:34:28 +01:00
Andrew Chin 8390ec4e57 Fix smooth-night and night with -p 2 on Windows 2011-11-27 20:46:57 -05:00
Andrew Brown ab321c949a render inner-tiles even if there are no render-tiles to render 2011-11-26 17:29:08 -05:00
Andrew Brown dc3938f504 removed un-needed imports in rendernode and quadtree 2011-11-26 17:05:13 -05:00
Andrew Brown f2a465c559 Merge remote-tracking branch 'origin/master' into brownan-chunkscan
Conflicts:
	overviewer.py
2011-11-26 16:58:27 -05:00
Andrew Brown 5ef2a785fd added comment explaining the use of a separate pool 2011-11-25 22:40:51 -05:00
Andrew Brown 82864a1622 added an faq entry on copying tiles to another destionation
also added a link to the faq under help on the index page
also clarified the faq entry about adding new features or changing
texture packs
also fixed a typo
2011-11-24 23:30:33 -05:00
Aaron Griffith bca7867b86 pushed exception setting into the relevant function, removed redundant exceptions
The following functions set exceptions automatically:
PyImport_ImportModule, PyObject_GetAttrString, PyArg_ParseTuple. All
the exception setting functions in c_overviewer should act the same
way and set their own exceptions before returning.

Notably, PyDict_GetItemString does *not* set exceptions, so it is
handled specially in render_mode_find_interface.
2011-11-22 17:32:47 -05:00
Andrew Chin 4739f4af93 More specific rendermode error messages 2011-11-22 12:25:02 -05:00
Andrew Chin 9b36dfc237 Fix reference leak 2011-11-22 11:33:11 -05:00
Andrew Chin 1a96b89e78 Properly set exceptions, instead of simply returning NULL 2011-11-22 11:30:48 -05:00
Andrew Brown 4de8acd1ee chunk scans are now done in parallel for multiple rendermodes 2011-11-20 12:49:44 -05:00
Andrew Brown 435c8ee1cb Merged master into brownan-chunkscan
This pulls in all the 1.9prep and textures.py updates into
brownan-chunkscan
2011-11-20 10:53:48 -05:00
Andrew Brown cd360c3c60 comments adjustment in nbt.py 2011-11-20 10:52:04 -05:00
Andrew Brown c6b56030ec dirtytile trees can now iterate at any level
Fixed some broken tests too.
2011-11-20 10:50:37 -05:00
Andrew Brown 83663733af added tile rendering speed output for debug mode 2011-11-19 10:49:31 -05:00
Aaron Griffith e500a1ab26 Merge branch '19prep'
Conflicts:
	overviewer_core/src/overviewer.h
	overviewer_core/textures.py
2011-11-18 17:25:01 -05:00
Andrew Brown 0be4e8664b added bounds checking for tiles during scan
fixes the problem where tiles outside the bounds (which can happen with
-z) would cause tiles to be rendered along the border even though they
have no chunks, causing a warning.
2011-11-18 10:01:22 -05:00
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