Andrew Chin
126192514f
Don't error out when encountering an unknown RegionSet
2012-11-26 00:51:14 -05:00
Aaron Griffith
05bfaaf967
added slime overlay, colors chunks green if slimes can spawn
2012-06-05 23:18:15 -04:00
Socolin
f0d48347a4
Fix new map format, to support the 4096 ids
2012-05-26 08:57:00 -04:00
Andrew Brown
6009461239
fixed last commit to use absolute value and more reasonable threshold
...
\o/ for padding my commit numbers!
2012-05-11 22:23:42 -04:00
Andrew Brown
fdda8234ff
added warning for extremely absurd region files
2012-05-11 22:19:15 -04:00
Andrew Chin
a456c2ae8a
Fixed bug in find_true_spawn when spawnY is at a chunk border
...
Thanks to subz for pushing me to fix this!
2012-05-09 20:47:49 -04:00
Andrew Brown
b2ce4fa7e5
Merge branch 'devel'
2012-03-27 14:58:50 -04:00
Andrew Brown
7a4a257b51
Added better error related log lines for corrupt chunks
2012-03-27 14:57:42 -04:00
Andrew Brown
d7608b0e65
Merge branch 'devel'
2012-03-23 23:19:40 -04:00
Andrew Brown
af805d4a4b
Added soft-fail on region corruption to iterate_chunks() and get_chunk_mtime()
2012-03-23 23:19:03 -04:00
Aaron Griffith
dc1e3b662b
fixed biome rotation for upper-right and lower-left
2012-03-23 14:08:03 -04:00
Andrew Brown
ff0f4fe46e
fixed error handling code. Now more robust against corrupt chunks!
2012-03-18 13:52:59 -04:00
Andrew Brown
e9cf747513
Added better error handling for corrupt chunks
2012-03-17 22:56:33 -04:00
Andrew Chin
9b7226e91e
Nether-only worlds have no spawn
2012-03-17 14:54:16 -04:00
Andrew Chin
03d3e852fc
Backed out my level.dat reread code
2012-03-15 21:52:22 -04:00
Andrew Chin
729fcda964
Display a spawn marker
2012-03-11 17:59:29 -04:00
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