David Vierra
|
a98f59b636
|
rewrote block rotation in terms of a giant lookup table
|
2010-12-23 18:26:36 -10:00 |
|
David Vierra
|
df1b8b93c2
|
paintings now rotate correctly
|
2010-12-22 14:24:59 -10:00 |
|
David Vierra
|
e76c5a7f5e
|
random comment
|
2010-12-22 13:23:09 -10:00 |
|
David Vierra
|
70e29c4a7d
|
added compress method for MCInfdevOldLevel that just compresses all chunks
|
2010-12-22 12:39:05 -10:00 |
|
David Vierra
|
ea035361b0
|
added dummy methods and documentation to MCLevel
|
2010-12-22 12:38:50 -10:00 |
|
David Vierra
|
7e6db87ae1
|
renamed a block - ugh need to redo materials
|
2010-12-21 18:31:43 -10:00 |
|
David Vierra
|
aebd1ffa64
|
renamed Rock and Adminium
|
2010-12-20 16:28:37 -10:00 |
|
David Vierra
|
bc5e27cb4a
|
accessing TerrainPopulated now correctly decompresses the chunk
|
2010-12-20 09:57:34 -10:00 |
|
David Vierra
|
37fe10d4ad
|
added the word "half" to the name of half steps
|
2010-12-20 09:57:16 -10:00 |
|
David Vierra
|
a765ef586a
|
added func to get the union of two BoundingBox
|
2010-12-20 09:57:00 -10:00 |
|
David Vierra
|
5ea13d6219
|
heightmap code now handles larger images
|
2010-12-17 13:37:15 -10:00 |
|
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 |
|