Andrew Brown
98c23fd970
added a memcached option. It's really slow though. don't use it.
2012-03-04 22:25:38 -05:00
Andrew Brown
9edd23c273
Merge branch 'devel'
2012-03-04 20:18:57 -05:00
Andrew Brown
8206272fc8
Added a cache for open regionfile objects
2012-03-04 18:46:02 -05:00
Philip Kovac
57820a49d4
fix for worlds converted by jeb_'s anvil converter
...
Fixes Issue #629
2012-03-04 12:23:52 -05:00
Andrew Chin
35eddb1342
Make sure biomes are also rotated
2012-03-04 12:23:01 -05:00
Andrew Brown
b852e8b1e3
Re-did the caching layer for regionset chunk caching
2012-03-03 23:56:38 -05:00
Andrew Chin
6b5c421c9e
detect worlds in cwd, and print detected world paths
2012-03-01 22:37:07 -05:00
Andrew Brown
a83518bc97
fixed rotations
2012-03-01 22:09:01 -05:00
Andrew Brown
62c537a95e
Merge remote-tracking branch 'origin/rewrite' into anvil
2012-02-26 21:10:42 -05:00
Andrew Brown
eede25d2e1
apparently xmin,zmin,xmax,zmax is more intuitive than xmin,zmin,xmax,zmax for some people
2012-02-26 21:08:03 -05:00
Andrew Brown
f43498d033
Added a "crop" feature to render subsets of worlds
2012-02-26 20:19:26 -05:00
Aaron Griffith
8b28e42c8d
Merge branch 'rewrite' into anvil
...
Conflicts:
overviewer_core/src/overviewer.h
overviewer_core/tileset.py
overviewer_core/util.py
overviewer_core/world.py
2012-02-26 19:39:58 -05:00
Andrew Brown
e50cb2db88
Generalized regionset wrapper objects so they can be chained
2012-02-26 17:59:37 -05:00
Andrew Brown
0b34c7f1c3
changed JS to properly compute coords for anvil format
2012-02-25 16:17:49 -05:00
Andrew Brown
72f292104a
fixed rotated renders for anvil-formatted worlds
2012-02-25 15:01:55 -05:00
Aaron Griffith
414b754e24
biomes now work, still no swamp purple though
2012-02-22 04:14:44 -05:00
Aaron Griffith
f8140c8de0
block data is now correctly reshape'd
2012-02-21 02:02:25 -05:00
Andrew Brown
6631460495
Fixed a typo
2012-02-18 11:35:18 -05:00
Andrew Brown
85b9ccd620
Merge remote-tracking branch 'origin/rewrite' into anvil
...
Conflicts:
overviewer_core/world.py
2012-02-18 11:07:56 -05:00
Andrew Brown
f7cc50fa9e
Preliminary modifications to world.py for new format. Untested.
2012-02-18 11:04:19 -05:00
Andrew Chin
2621997ecc
Made multiprocessing work on windows \o/
2012-02-18 01:19:45 -05:00
Andrew Chin
ff6425d358
Normalize paths to fix issues on Windows
2012-02-17 21:16:47 -05:00
Andrew Chin
c60936efbd
Remove development/debug output
2012-02-11 15:57:38 -05:00
Aaron Griffith
a1dacfa994
added back biome colors, and misc. cleanup in world.py
2012-02-08 15:25:22 -05:00
Aaron Griffith
b88e636728
changed settings to emit correct north values, north values now represent rotations
...
each north value is an integer representing how many times to rotate
the map by 90 degrees counterclockwise.
2012-01-29 16:45:23 -05:00
Andrew Brown
42d1b5049f
RotatedRegionSet now works. Rotated renders now work.
...
Changed the rotation constants so numpy.rot90 works.
2012-01-28 18:26:37 -05:00
Andrew Chin
96602a48d4
Specifying a dimension in a config file now works
2012-01-27 20:30:58 -05:00
Andrew Chin
8297f4c0a3
northdirection glue
2012-01-22 23:25:56 -05:00
Andrew Chin
163dd66a38
Create RegionSets via the World object
2012-01-21 19:04:21 -05:00
Andrew Brown
ff3bfceef7
more C code fixes. Activated caching.
...
Also removed some code that I accidentially left in.
Also added a traceback printing decorator around get_chunk() because the
C code can potentially swallow those exceptions.
2012-01-17 21:52:01 -05:00
Andrew Brown
dafb659315
added __getstate__ and __setstate__ to TileSet to fix pickling
2012-01-16 02:19:34 -05:00
Andrew Brown
ba87959e31
added caching to chunks in RegionSet() currently disabled
...
This build is broken due to the mismatch in expected and actual error
condition for get_chunk. The C code still expects it to return None.
2012-01-16 00:48:30 -05:00
Andrew Brown
a48077fe54
removed unused imports in world.py. More docstrings
...
Also added __getstate__ and __setstate__ for pickling RegionSet
2012-01-15 19:10:14 -05:00
Andrew Brown
5096bff521
Cleaned up world.py and fixed find_true_spawn()
...
Added docstrings to the top of World and RegionSet
Added docstrings to some other methods
Removed unused methods that aren't part of our API
Changed get_chunk() to raise error on nonexistant chunks
Changed get_region_path() to _get_region_path()
UNTESTED!
2012-01-15 17:02:58 -05:00
Andrew Chin
9aa3847068
Merge remote-tracking branch 'origin/rewrite' into rewrite
2012-01-07 21:25:19 -05:00
Aaron Griffith
992f737984
fixed import loop and incorrect blockdata expansion
2012-01-07 20:23:39 -05:00
Andrew Chin
cb2f0129bc
Allow regionsets to be named in a settings.py file
2012-01-07 15:11:19 -05:00
Andrew Chin
f76fd28a82
Use the overworld as the default regionset
2012-01-05 00:27:41 -05:00
Aaron Griffith
31f894d4e9
removed: chunk.py, quadtree.py, rendernode.py
2012-01-01 23:12:05 -05:00
Aaron Griffith
55e83e50da
chunks are now loaded properly from the regionset
2012-01-01 22:44:11 -05:00
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
ecceaeeb35
Removed all old code from RegionSet. Added RotatedRegionSet
...
Nothing has been tested
2012-01-01 21:20:17 -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
9b06d980af
More World->RegionSet conversions. still broken
2011-12-22 00:23:20 -05:00
Andrew Chin
fbdeb90f9f
overviewer.py now runs without crashing
...
but still is broken
2011-12-20 23:17:28 -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
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
Andrew Chin
8f69da86f4
Finished implemention of RegionSet. not yet tested
...
Rewrite Tracking Issue: #568
2011-12-19 23:05:29 -05:00