David Vierra
|
2c9c4aaf88
|
deleteChunksInBox now returns it actual return value
|
2010-12-03 18:07:27 -10:00 |
|
David Vierra
|
b1c6d2e0fa
|
the original allChunks will be modified, so make a list first
|
2010-12-03 18:07:14 -10:00 |
|
David Vierra
|
8b3fa2f163
|
check for already present chunk using containsChunk
|
2010-12-03 18:06:41 -10:00 |
|
David Vierra
|
5f6cf2aa14
|
add chunkIsLoaded test for generic levels
|
2010-12-02 21:17:46 -10:00 |
|
David Vierra
|
f15cd1992d
|
add chunkIsLoaded test to MCInfdevOldLevel
|
2010-12-01 22:40:48 -10:00 |
|
David Vierra
|
cd2d0da161
|
this may cause malformed chunks, changing _loadedChunks
|
2010-12-01 20:16:51 -10:00 |
|
David Vierra
|
4172289bd6
|
deleteChunk no longer relies on having a chunk object in _loadedChunks, making it possible to delete unloaded chunks
|
2010-11-30 18:43:41 -10:00 |
|
David Vierra
|
ef8432ee57
|
Merge branch 'renamedAllChunks'
renamed presentChunks to loadedChunks for clarity, and allChunks will cause a chunk scan the first time it is called
|
2010-11-29 22:38:03 -10:00 |
|
David Vierra
|
8d94e011de
|
changed launch_subprocess to use the existing environ
|
2010-11-29 22:36:56 -10:00 |
|
David Vierra
|
0f8b5a4ad6
|
updated regression checksum. analyze now outputs the size on disk
|
2010-11-29 22:36:50 -10:00 |
|
David Vierra
|
6d66f3421c
|
collect pass/fail messages and print a summary after the run
|
2010-11-29 22:34:52 -10:00 |
|
David Vierra
|
f724a5ef94
|
cosmetic changes
|
2010-11-29 22:12:42 -10:00 |
|
David Vierra
|
251b81703b
|
use _makeChunk to create unloaded chunk objects
relight-all failed because it was scanning _loadedChunks when it should have been testing for the chunks' existence
also, generator comprehensions
|
2010-11-29 22:01:00 -10:00 |
|
David Vierra
|
c9fe2afff1
|
added the routine _makeChunk for internal use
|
2010-11-29 21:40:47 -10:00 |
|
David Vierra
|
bbb37dbca8
|
when a second error happens during the fallback attempt, raise both errors
|
2010-11-29 21:38:41 -10:00 |
|
David Vierra
|
8716c8994b
|
actually raise the ChunkMalformed instead of an AttributeError when world isn't found
this is kinda sketchy
|
2010-11-29 21:37:56 -10:00 |
|
David Vierra
|
5bee90b002
|
use world.containsChunk to check if the chunk exists instead of doing a path test
|
2010-11-29 18:20:36 -10:00 |
|
David Vierra
|
534565e717
|
don't use int.__mul__ in case the inputs are longs
|
2010-11-29 18:20:16 -10:00 |
|
David Vierra
|
29119f7d77
|
allChunksArray contains chunk positions and needs to be signed!
|
2010-11-29 05:49:08 -10:00 |
|
David Vierra
|
beb4f6a62f
|
when creating or deleting a chunk, update _allChunks if present
|
2010-11-27 02:39:26 -10:00 |
|
David Vierra
|
81d9d0396f
|
_allChunks needs to be a set!
|
2010-11-27 01:58:15 -10:00 |
|
David Vierra
|
f8a63b4eed
|
updated regression checksum. analyze now outputs the size on disk
|
2010-11-26 18:48:29 -10:00 |
|
David Vierra
|
ec8eeb5033
|
changed launch_subprocess to use the existing environ
|
2010-11-26 18:48:11 -10:00 |
|
David Vierra
|
212d606cb2
|
keep presentChunks property for compatibility, just calls allChunks
|
2010-11-26 06:03:56 -10:00 |
|
David Vierra
|
767f3a9295
|
need to raise ChunkNotPresent instead of returning None
|
2010-11-26 03:43:01 -10:00 |
|
David Vierra
|
8f1724b0db
|
need to make allChunks into a list before putting it into ndarray
|
2010-11-26 03:42:47 -10:00 |
|
David Vierra
|
93466cc42a
|
presentChunks is now allChunks
|
2010-11-26 03:25:36 -10:00 |
|
David Vierra
|
e7f222f0bf
|
Merge branch 'master' into renamedAllChunks
|
2010-11-26 03:22:30 -10:00 |
|
David Vierra
|
7d9b3b24d7
|
unload chunks during a chunk-aligned copy, also saving them.
edges will have wrong lighting if a crash happens, but whatever
|
2010-11-23 19:46:59 -10:00 |
|
David Vierra
|
4bb29890ab
|
save the right material name into the schematic file
|
2010-11-23 19:45:18 -10:00 |
|
David Vierra
|
667953fc97
|
unusable cloth uses the purple texture
|
2010-11-23 19:33:35 -10:00 |
|
David Vierra
|
16206c843d
|
add names to materials objects
|
2010-11-23 19:21:32 -10:00 |
|
David Vierra
|
03472390e6
|
add chunk ticker to chunk-aligned copy
|
2010-11-23 01:45:07 -10:00 |
|
David Vierra
|
bb7e3392ce
|
renamed presentChunks to allChunks, added loadedChunks
|
2010-11-21 02:44:21 -10:00 |
|
David Vierra
|
155abe4f01
|
renamed loadedChunks and decompressedChunks to loadedChunkQueue and decompressedChunkQueue
|
2010-11-20 18:34:49 -10:00 |
|
David Vierra
|
bf192067b5
|
removed cruft
|
2010-11-19 01:22:42 -10:00 |
|
David Vierra
|
33c36facfb
|
Document new formats for 'import'
|
2010-11-18 22:34:46 -10:00 |
|
David Vierra
|
d4860bac2d
|
Use a faster version of infinite-to-infinite block copy when the regions are both chunk aligned.
Copy the block data and lighting, then relight only the chunks at the edges.
|
2010-11-18 22:22:50 -10:00 |
|
David Vierra
|
c962a32585
|
Added isChunkAligned to BoundingBox
|
2010-11-18 22:18:44 -10:00 |
|
David Vierra
|
0d2e715fb3
|
remove non-applicable properties from MCSchematic
|
2010-11-18 21:24:38 -10:00 |
|
David Vierra
|
ae4dfa658b
|
Made packed/unpacked state explicit via self.dataIsPacked, added decorator
|
2010-11-18 21:23:13 -10:00 |
|
David Vierra
|
f62c542779
|
list was changed to value...
|
2010-11-17 05:46:35 -10:00 |
|
David Vierra
|
170bfc774b
|
added createChunks and rewrote createChunksInBox
|
2010-11-17 04:13:12 -10:00 |
|
David Vierra
|
167cd46b5f
|
If the source box is chunk-aligned, only create matching chunks in the destination
|
2010-11-17 04:12:00 -10:00 |
|
David Vierra
|
5ff93f7252
|
use the correct names for these setters
|
2010-11-17 01:10:25 -10:00 |
|
lucas
|
74743cfae6
|
Added execute command in file option
|
2010-11-17 13:52:18 +08:00 |
|
lucas
|
c2f78719b4
|
Added execute command file option
|
2010-11-17 13:52:18 +08:00 |
|
lucas
|
7b558633e7
|
Added execute command file option
|
2010-11-17 13:52:18 +08:00 |
|
David Vierra
|
d8fc5081a1
|
raise the right NotImplementedError
|
2010-11-16 19:10:59 -10:00 |
|
David Vierra
|
92d45e781c
|
Merge branch 'master' of git://github.com/carrus85/pymclevel.git
|
2010-11-16 16:41:26 -10:00 |
|