Switch branches/tags
Nothing to show
Commits on Jan 17, 2012
Commits on Jan 16, 2012
Commits on Jan 15, 2012
Commits on Jan 13, 2012
Commits on Jan 10, 2012
Commits on Jan 8, 2012
Commits on Jan 7, 2012
  1. PocketWorld.getChunk raises ChunkNotPresent for chunks outside of PE'…

    codewarrior0 committed Jan 7, 2012
    …s current bounds (instead of returning the same chunks modulo 32)
  2. Move chunkChanged and genFastLights to a new class, LightedChunk. Poc…

    codewarrior0 committed Jan 7, 2012
    …ketChunk now inherits from LightedChunk. ChunkBase now has dirty and needsLighting flags. PocketWorld respects dirty flags on its chunks.
Commits on Jan 3, 2012
  1. Import error messages now explain that NBT acceleration is not availa…

    codewarrior0 committed Jan 3, 2012
    …ble, and gives tips on how to enable it by getting pyximport working.
  2. Pass numpy's include dir to pyximport.install() to fix "error: numpy/…

    codewarrior0 committed Jan 3, 2012
    …arrayobject.h: No such file or directory".
Commits on Dec 28, 2011
Commits on Dec 25, 2011
Commits on Dec 24, 2011
Commits on Dec 23, 2011
  1. extractHeights always returns a heightmap without its axes swapped. I…

    codewarrior0 committed Dec 23, 2011
    …nstead, computeChunkHeightMap swaps the axes and handles filling in a chunk's existing HeightMap array.
Commits on Dec 22, 2011
  1. Import level classes where they're needed instead of in mclevelbase.p…

    codewarrior0 committed Dec 20, 2011
    …y. This lets us run each file individually, e.g. for doctests.
Commits on Dec 17, 2011
  1. getChunkSlices takes a shortcut and enumerates all of the level's chu…

    codewarrior0 committed Dec 17, 2011
    …nks whenever the requested box is the level's bounds
  2. rewrite extractLightMap to use argmax on a reversed array instead of …

    codewarrior0 committed Dec 16, 2011
    …nonzero. this is about 3x faster. a new method extractHeights contains the new code and can be reused e.g. for topsoil methods
Commits on Dec 16, 2011
Commits on Dec 13, 2011
  1. Set HeightMap to all zeros in the Nether to match what the game does.…

    codewarrior0 committed Dec 13, 2011
    … Otherwise, Nether Wart won't plant in low light.
Commits on Dec 7, 2011
  1. addYamlBlocksFromFile now uses pkg_resources to find the requested YA…

    codewarrior0 committed Dec 7, 2011
    …ML file instead of guessing wildly
Commits on Dec 5, 2011
  1. remove the __del__ from MCInfdevOldLevel so the gc can resolve the ci…

    codewarrior0 committed Dec 5, 2011
    …rcular reference between a level and its dimensions. move it to RegionFile which might actually have filehandles to close if I ever turn "holdFileOpen" back on...
  2. Revert "use weakrefs to break reference cycles between a world and it…

    codewarrior0 committed Dec 5, 2011
    …s dimensions, and a world and its chunks."
    Weakrefs are the wrong solution, we need to remove the __del__ from MCInfdevOldLevel
    This reverts commit 12a5982.
  3. extractAnySchematic calls extractZipSchematic whenever the box has mo…

    codewarrior0 committed Dec 5, 2011
    …re chunks than a threshold (currently the decompressed chunk limit)
  4. use weakrefs to break reference cycles between a world and its dimens…

    codewarrior0 committed Dec 5, 2011
    …ions, and a world and its chunks.
Commits on Dec 4, 2011
  1. pocket levels fill the DirtyColumns array with 255 to tell the MCPE s…

    codewarrior0 committed Dec 4, 2011
    …erver that the chunk is dirty.
Commits on Dec 3, 2011
  1. add lists of entity IDs

    codewarrior0 committed Dec 3, 2011
Commits on Dec 1, 2011
Commits on Nov 30, 2011
  1. popen doesn't accept a unicode for its cwd parameter (doesn't use wch…

    codewarrior0 committed Nov 30, 2011
    …ar api?), so encode it. fixes generator failure when startingDir has non-ascii chars
  2. set MCAlphaDimension.parentWorld before calling MCInfdevOldLevel.__in…

    codewarrior0 committed Nov 30, 2011
    …it__ to make sure the root_tag property has parentWorld set