David Vierra
|
bf1557c40b
|
when extracting a schematic from partly outside the bounds, create the schematic at the requested size instead of the adjusted size
|
2010-12-17 08:24:21 -10:00 |
|
David Vierra
|
d4d180f9b7
|
finite-size fillBlocks checks its input box so it won't wrap around the edge of the level or try to use null slices
|
2010-12-17 08:22:53 -10:00 |
|
David Vierra
|
475d525c75
|
added bounding box intersection func, to find the intersecting region of two boxes
|
2010-12-17 08:21:59 -10:00 |
|
David Vierra
|
ec2c3c4a1d
|
change dtype of tex coords array xxx this stuff shouldn't even be here
|
2010-12-16 10:06:03 -10:00 |
|
David Vierra
|
eae3ee5947
|
allow fake chunks to have Data, too
|
2010-12-14 16:00:46 -10:00 |
|
David Vierra
|
8a263598cb
|
added removeTileEntitiesInBox
|
2010-12-13 09:36:53 -10:00 |
|
David Vierra
|
b07c705ed9
|
add convenience method to dirty every chunk in a box
|
2010-12-07 23:06:40 -10:00 |
|
David Vierra
|
be3fdce0a7
|
one-block setters will mark the chunk for saving but not lighting
|
2010-12-07 23:06:15 -10:00 |
|
David Vierra
|
0d03e7bbf5
|
processCommand now handles comments and empty lines, and accepts a string as param instead of an array of words
|
2010-12-07 22:42:54 -10:00 |
|
David Vierra
|
73815c8e74
|
allow blank lines and comments starting with #
|
2010-12-06 15:39:31 -10:00 |
|
David Vierra
|
08e5fe189a
|
use containsChunk instead of testing _loadedChunks
|
2010-12-06 15:30:35 -10:00 |
|
David Vierra
|
ada922c3b6
|
avoid a unicode error when formatting the world name into this string
|
2010-12-06 15:30:22 -10:00 |
|
David Vierra
|
4a077f65b3
|
check both compressed and decompressed tags to see if the chunk is loaded
|
2010-12-04 07:00:29 -10:00 |
|
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 |
|