1163 Commits

Author SHA1 Message Date
David Vierra
283bd4ba9b fix zipped schematic imports 2011-02-22 13:44:16 -10:00
David Vierra
a7a79d8529 fix incorrect sector numbers when extending or reclaiming file space 2011-02-22 13:44:03 -10:00
David Vierra
3be251ce2a converted infdev level to use region files only 2011-02-22 12:38:20 -10:00
David Vierra
d22a2cc3a3 change several length values to unsigned ints 2011-02-22 12:17:13 -10:00
David Vierra
3d23f5b3d4 use a dtype with an explicit byte order when creating IntArrays 2011-02-22 03:37:34 -10:00
David Vierra
0cec37bd6b zipped schematics now read their dimensions from schematic.dat correctly 2011-02-21 04:54:44 -10:00
David Vierra
59cb2ce87d a few more changes for yMod - xxx the byte sex on TAG_Int_Array keeps changing 2011-02-21 04:54:07 -10:00
David Vierra
07b61c0b89 separate Height from ChunkHeight so that ymodded levels and zipped schematic levels can coexist 2011-02-21 04:52:07 -10:00
David Vierra
f45a9358cd removed cruft 2011-02-19 22:34:04 -10:00
David Vierra
07d958b657 print a notice when the size in the filename is too big for the amount of blocks 2011-02-19 21:45:24 -10:00
David Vierra
d0b1118221 remove calls to expandvars 2011-02-19 21:08:02 -10:00
David Vierra
600a1ed8f7 ignore errors while scanning for extra dimensions, specifically to skip a file named dim.txt 2011-02-19 21:06:53 -10:00
David Vierra
b2f8e82837 chunk.unload() will no longer try to save dirty chunks 2011-02-19 20:42:29 -10:00
David Vierra
0c3d9eeef9 added TAG_Int_Array introduced by ymod 2011-02-19 18:19:16 -10:00
David Vierra
f944725b00 use standard 4-space indent here 2011-02-19 18:18:57 -10:00
David Vierra
4e1ddc12df print more detail about invalid chunk format errors 2011-02-19 02:08:32 -10:00
David Vierra
729dec7bee get rid of hard-coded level heights 2011-02-19 01:54:29 -10:00
David Vierra
3f83f5c681 decode os.environ directly instead of using os.path.expandvars 2011-02-18 02:52:06 -10:00
David Vierra
c84b73d1ec infinite-to-infinite block copy now honors the blocksToCopy argument 2011-02-18 02:50:44 -10:00
David Vierra
5ac521957b loadWorld is clearer and doesn't set self.filename any more 2011-02-09 18:26:32 -10:00
David Vierra
97b51a5219 update regression checksum after changing block names (again) 2011-02-07 21:23:24 -10:00
David Vierra
823349a5ee log heightmap progress with logger so it appears during regression tests 2011-02-07 21:16:44 -10:00
David Vierra
4dbccca9dd add property chunkCount because allChunks is now exposed as an iterator 2011-02-07 18:58:22 -10:00
David Vierra
25e4ec07c1 update regression test for new block names 2011-02-07 18:55:54 -10:00
David Vierra
bb43071816 added docstrings and comments to presentChunks, allChunks, and getChunk 2011-02-07 18:55:39 -10:00
David Vierra
6a6d8a68ed reformatted the table of block names, textures, brightness, and opacity 2011-02-07 03:44:03 -10:00
David Vierra
ba33f6dcca xxx needed for material rename 2011-02-05 16:26:34 -10:00
David Vierra
b1b838ce96 remove confusing wording in _makeChunk 2011-02-05 12:01:01 -10:00
David Vierra
d88a5d8592 Continued to fix item names 2011-02-05 12:00:38 -10:00
David Vierra
ad23e8cf64 because allChunks no longer returns the actual set, use _allChunks to get the number of chunks. 2011-02-05 11:56:33 -10:00
David Vierra
c3a17cddba Changed lots of names to match the official ones 2011-02-05 11:55:05 -10:00
David Vierra
a915420e09 fixed a minor error in Door rotation 2011-02-04 13:03:34 -10:00
David Vierra
5854fb4494 re-saving Indev .mclevels works again 2011-02-04 13:02:48 -10:00
David Vierra
4678ba3996 return an iterator over our chunk set instead of returning the set itself 2011-02-04 13:02:36 -10:00
David Vierra
2409f9af56 fixed fallback method for detecting save folder on Windows (is the COM method even needed??) 2011-02-04 13:02:19 -10:00
David Vierra
18a5d5fe93 fleshed out intro documentation to explain that block access is slow and how to get around it
also clarified data type of allChunks
2011-02-04 13:01:53 -10:00
David Vierra
86da5aa593 Changed several materials to have official names. 2011-01-30 17:53:29 -10:00
David Vierra
61cd4b3713 remove cruft 2011-01-27 14:46:55 -10:00
David Vierra
19f6853784 make sure to apply the new blockData to self when copying and converting from any format 2011-01-16 18:13:09 -10:00
David Vierra
e1b4242115 fixed tile entity positioning when flipping N/S and E/W 2011-01-15 20:16:18 -10:00
David Vierra
242944ba4c added crappy textures for cake 2011-01-15 20:15:54 -10:00
David Vierra
d6a2d09c1c changed alpha metal block textures, reverted classic ones 2011-01-15 18:31:37 -10:00
David Vierra
b49d13e8d6 gold, iron, and diamond blocks now show the same tex on all sides 2011-01-15 17:37:50 -10:00
David Vierra
bf77b28635 changed block conversion to use the function convertBlocksFromLevel
this function will attempt conversion of classic colors to the new ones added in beta 1.2, but there are a few inexact matches...
2011-01-15 08:49:31 -10:00
David Vierra
0059b01399 added functions to flip levels and schematics north/south and east/west 2011-01-15 08:47:30 -10:00
David Vierra
e44cfc039f added rotation mapping for Dispenser 2011-01-13 21:34:13 -10:00
David Vierra
45abd41fed added new material names and textures for jan 13 patch 2011-01-13 21:33:52 -10:00
David Vierra
e6306edef9 discard high bits when reading schematics xxx probably appropriate elsewhere 2011-01-13 19:27:52 -10:00
David Vierra
268a09ab70 moved getChunkSlices, getAllChunkSlices up to MCLevel so all level types can use the algorithm 2011-01-11 01:29:52 -10:00
David Vierra
c1125f6b56 LastUpdate is now a TAG_Long 2011-01-06 17:02:12 -10:00