0
Commit Graph

313 Commits

Author SHA1 Message Date
Andrew Chin
319d444997 Fixed typos... they're not my fault! 2012-01-01 22:20:43 -05:00
Andrew Chin
6fa86d39bc Removed stupid north_dir, and fixed unpacking 2012-01-01 22:11:52 -05:00
Andrew Chin
92880c7c38 Use the right coordinate system 2012-01-01 22:03:43 -05:00
Andrew Chin
c102211195 Merge remote-tracking branch 'overviewer/rewrite' into rewrite 2012-01-01 21:20:54 -05:00
Andrew Chin
ecceaeeb35 Removed all old code from RegionSet. Added RotatedRegionSet
Nothing has been tested
2012-01-01 21:20:17 -05:00
Andrew Brown
c866f2512b fixed typos, clarified comments in tileset.py 2012-01-01 20:08:25 -05:00
Andrew Brown
b2da6d5b0a TileSet updated for new RegionSet API
Except for a couple outstanding TODOs, TileSet is ready for action. One
of them is necessary: the call to the c renderer is not in yet.
2012-01-01 19:55:08 -05:00
Andrew Chin
b1d5dee84d Remove unused function 2012-01-01 17:56:31 -05:00
Andrew Chin
35f5bc82a4 Fixed a few more typos 2012-01-01 16:52:39 -05:00
Andrew Chin
c2a1d8487a Start of the new rewrite code flow. TileSet still needs work 2012-01-01 16:12:10 -05:00
Andrew Chin
c17fb351f0 Removing more stuff that we will not support just yet 2012-01-01 14:31:38 -05:00
Andrew Chin
0a23187f51 Removed ConfigOptionParser usaged
Command line args are now parsed with the vanilla OptParser.  This
paves the way for a new settings.py parser
2012-01-01 14:05:51 -05:00
Andrew Chin
fed7ae0157 Allow global defaults to be specified 2011-12-31 20:59:02 -05:00
Andrew Brown
06dd78dc89 copied in rendering routines but haven't updated them yet.
They still need to be updated for the new RegionSet interface
2011-12-31 00:16:37 -05:00
Andrew Brown
054e502885 setup rendercheck mode 1 to go layer-by-layer
Doesn't work yet.
2011-12-29 02:03:57 -05:00
Andrew Brown
0351d8201b moved comments and added unimplemented methods.
I think I'm going to erase them and go a different direction with this
implemention though. Creating a commit here incase I change my mind.
2011-12-29 01:37:18 -05:00
Andrew Brown
a2788cf84f removed an unneeded import 2011-12-28 16:10:17 -05:00
Andrew Brown
79356e4664 Implemented RendertileSet's posttraversal() routine
May not be the most efficient implementation.
2011-12-28 15:33:35 -05:00
Andrew Brown
a7ac6f325c Updated comments with how the traversals will work 2011-12-28 15:12:58 -05:00
Andrew Brown
3d9603590b changed Tile to RenderTile 2011-12-28 14:53:47 -05:00
Andrew Brown
cbd5a0e1cc Changed DirtyTiles to RendertileSet 2011-12-28 14:41:49 -05:00
Aaron Griffith
24d8dc4b99 dispatcher status callback
Right now it's called every 100 work items. This number is completely
arbitrary and should probably be tuned.
2011-12-26 10:36:52 -05:00
Aaron Griffith
740f5ee628 dispatcher.finish_jobs() has been removed
the other dispatcher functions can provide the same functionality, so
removing finish_jobs() only makes the dispatcher interface slimmer.
2011-12-26 10:05:57 -05:00
Andrew Chin
c7ee75d68d Started work on a MultiWorldParser to replace ConfigOptionParser 2011-12-24 01:10:58 -05:00
Andrew Chin
579e82e2af New settings definitions and validators.
Will be used by a new settings.py parser.  In progress
2011-12-24 00:22:45 -05:00
Andrew Brown
0245ed104b more tileset code and comments on how the traversal will work 2011-12-22 05:00:16 -05:00
Andrew Brown
fa18b26eb5 copied DirtyTiles and Tile objects to tileset.py 2011-12-22 02:00:50 -05:00
Andrew Brown
49a840c01b more of TileSet filled in 2011-12-22 02:00:50 -05:00
Andrew Chin
9b06d980af More World->RegionSet conversions. still broken 2011-12-22 00:23:20 -05:00
Andrew Chin
ffbd019db5 Small changes to get the quadtree to use RegionSets 2011-12-21 11:51:50 -05:00
Aaron Griffith
e8683fd0bc saner timeout handling on MultiprocessingDispatcher
_handle_messages() now *doesn't* block if it's being called simply to
see what jobs are done, but still blocks and times out when it's
*waiting* on jobs to be done.
2011-12-21 06:32:55 -05:00
Aaron Griffith
2863876589 moved in signals from the gist
gist: https://gist.github.com/1479733
tracker: #564
2011-12-21 06:10:34 -05:00
Aaron Griffith
2717485031 dispatcher class now supports work-item dependencies
Thanks to ion in #overviewer for a particularly slick way to implement
this without using too much memory.

tracker: Issue #564
2011-12-21 04:43:17 -05:00
Andrew Brown
1933df32d6 Added comments about rendercheck option and dependency stuff 2011-12-21 01:21:59 -05:00
Andrew Chin
fbdeb90f9f overviewer.py now runs without crashing
but still is broken
2011-12-20 23:17:28 -05:00
Aaron Griffith
77ae3e2cb6 some minor changes to allow multinode (!!!) dispatching
tracker: #564
2011-12-20 06:38:37 -05:00
Aaron Griffith
192591c2b0 comments and docstrings for the multiprocessing dispatcher 2011-12-20 05:39:41 -05:00
Aaron Griffith
8db7d37164 dispatcher docstrings and first multiprocessing dispatcher
tracker: Issue #564
2011-12-20 01:36:34 -05:00
Andrew Brown
0b56ee0e4b started writing TileSet. put convert coords in util.py 2011-12-20 01:17:35 -05:00
Andrew Chin
3aa9e49631 useBiomeData is a property of worlds
Rewrite Tracking Issue: ##568
2011-12-20 00:53:43 -05:00
Andrew Chin
2e01a36686 Merge remote-tracking branch 'origin/rewrite' into rewrite 2011-12-19 23:55:45 -05:00
Andrew Chin
119b6e1b54 Removed biome handling and north-direction
We'll have to figure out how/where to put it back in

Rewrite Tracking Issue: #568
2011-12-19 23:49:26 -05:00
Aaron Griffith
0029753c36 first version of single-process dispatcher
tracker: Issue #564
2011-12-19 23:20:59 -05:00
Andrew Chin
8f69da86f4 Finished implemention of RegionSet. not yet tested
Rewrite Tracking Issue: #568
2011-12-19 23:05:29 -05:00
Andrew Chin
19782cbad0 Merge remote-tracking branch 'origin/rewrite' into rewrite 2011-12-19 22:44:12 -05:00
Andrew Chin
51babfef02 More work on RegionSet and World
Rewrite Tracking Issue: #568
2011-12-19 22:42:28 -05:00
Andrew Brown
eed4110eec Added in documetation for what options are accepted 2011-12-19 22:41:57 -05:00
Andrew Brown
9163d8d0a3 skeleton outline of TileSet object and tileset.py created 2011-12-19 22:17:28 -05:00
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