23 Commits

Author SHA1 Message Date
David Vierra
dc1ca09910 Fixed: Incorrect imports from pymclevel. (Fix the damn source roots already.) 2012-11-04 00:25:42 -10:00
David Vierra
a84ab25539 Fixed: Don't mutate a BoundingBox while drawing clone tool outlines. 2012-11-04 00:25:41 -10:00
David Vierra
dd2bf7f2ae BoundingBox is now immutable, and use the new Vector for adding, subtracting, and rescaling positions.
Submodule pymclevel updated.

Submodule pymclevel:
    > 07c8024 - BoundingBox: Made BoundingBox immutable and added immutable Vector class
    > f5e4fd1 - FakeChunk now uses TAG_List for its fake Entities and TileEntities instead of lists.
    > 3e4a9b8 - NBT: TAG_List now accepts item assignment using slices.
    > 30cfb1d - Test: testFillBlocks calls fillBlocks with a blocksToReplace argument
    > 3fb1b0c - Fixed: Scan the unsaved work folder and _loadedChunkData in addition to the world folder when listing chunks.
    > fae5e61 - Fixed: Scan the unsaved work folder in addition to the world folder when listing chunks.
2012-11-01 00:30:18 -10:00
David Vierra
c8921b7d9d Refactor: Recent changes in pymclevel require some changes.
Use getChunkSlicesForBox to compute slices.
blockReplaceTable is moved to block_fill.py
adjustCopyParameters is moved to block_copy
info() was accidentally imported from some unknown module (wat? stop using wildcard imports!)

Submodule pymclevel:
    > 35bbbdc - Refactor: Change log statements to use `log.info()` instead of `info=log.info; info()`
    > ecac4fa - Refactor: Move fillBlocks into its own file and remove "fillBlocksFinite" implementation.
    > a7fd3ed - Refactor: Move copyEntitiesFrom logic into copyBlocksFrom and remove "copyEntitiesFromFinite" implementation.
    > b0ef494 - Test: copyBlocksFrom no longer fails if the requested box is partially out of the source level's bounds.
    > 459b208 - Indev: Now separates LocalPlayer from Entities on load and reinserts it on save.
    > 14f5343 - Test: Improve copyConvertBlocks to count entities copied
    > ea585d7 - Test: test_mcr no longer re-runs TestAnvilLevel.
    > cf51ef4 - Refactor: infiniteworld.py: Change log statements to use `log.info()` instead of `info=log.info; info()`
    > f36634b - Refactor: Move copyBlocksFrom and supporting methods to its own file and simplify them.
    > ded3b8f - Refactor: Remove redundant code for setting an anvil world's Height.
    > 93ccf9d - Refactor: Change a chunk's Height to reference the Height of its containing world.
    > fe03b70 - Entities: Fixed Tile positions when copying and rotating ItemFrames
2012-10-31 02:04:42 -10:00
David Vierra
d6739b1282 Refactor: Remove all uses of chunk.compress and related methods.
MCServerChunkGenerator was moved to minecraft_server.py
Some strings were changed from single- to double-quoted while removing statically declared tag names.Submodule pymclevel updated.

Submodule pymclevel:
    > f4b4091 - Fixed: Statement seems to have no effect
    > b7ce019 - Fixed: Remove redundant parentheses
    > 55c2369 - Fixed: Incorrect call arguments
    > bca5e18 - Fixed: Default argument value is mutable
    > 6fa9249 - Refactor: Remove dead class members.
    > 79f4e1a - Refactor: Remove dead function.
    > a749389 - Fixed: Comparison with None performed with equality operators
    > 670bb46 - Refactor: Move MCServerChunkGenerator and related classes and functions to a new file minecraft_server.py
    > 0b55db7 - Refactor: Remove tag names statically declared as string constants.
    > 50f9ee5 - Add .gitattributes with core.autocrlf
    > 78e45ae - Refactor: Remove compressedChunks and related methods and data from MCInfdevOldLevel and AnvilChunk
2012-10-29 22:03:03 -10:00
David Vierra
513ddc0398 Normalized line endings 2012-10-25 00:09:56 -10:00
David Sowder
b56275c23d pep8 compliance: E251 no spaces around keyword / parameter equals 2012-02-21 21:01:03 -06:00
David Sowder
964851de2f pep8 compliance: E201 whitespace after '(' 2012-02-21 21:00:37 -06:00
David Sowder
96dfdafc92 pep8 compliance: E211 whitespace before '(' 2012-02-21 21:00:12 -06:00
David Sowder
2d4960bc95 pep8 compliance: E303 too many blank lines 2012-02-21 20:59:38 -06:00
David Sowder
cccd29c7cd pep8 compliance: E225 missing whitespace around operator 2012-02-21 20:59:13 -06:00
David Sowder
52ecf7cb08 pep8 compliance: E203 whitespace before ',' 2012-02-21 20:58:24 -06:00
David Sowder
142934e95e pep8 compliance: E231 missing whitespace after ',' 2012-02-21 20:57:50 -06:00
David Sowder
7ac2dbd22b pep8 compliance: E231 missing whitespace after ':' 2012-02-21 20:57:24 -06:00
David Sowder
bbdd02abed pep8 compliance: E261 at least two spaces before inline comment 2012-02-21 20:03:35 -06:00
David Sowder
0e9faa3f4e pep8 compliance: E701 multiple statements on one line (colon) 2012-02-21 19:54:32 -06:00
David Sowder
3fdcacedff pep8 compliance: E702 multiple statements on one line (semicolon) 2012-02-21 19:43:50 -06:00
David Sowder
a81a6c3a8d pep8 compliance: E301 expected 1 blank line 2012-02-21 19:40:48 -06:00
David Sowder
44277200a0 pep8 compliance: E302 expected 2 blank lines 2012-02-21 19:29:21 -06:00
David Sowder
cab5c2a1e0 pep8 compliance: E303 too many blank lines 2012-02-21 19:26:02 -06:00
David Sowder
fa633c64fb pep8 compliance: W291 trailing whitespace 2012-02-21 19:11:45 -06:00
David Sowder
f60c6bb30c pep8 compliance: W293 blank line contains whitespace 2012-02-21 19:06:46 -06:00
David Vierra
e20a70d963 Initial open source release. 2012-02-13 14:59:37 -10:00