905 Commits

Author SHA1 Message Date
David Vierra
face30d24e avoid negative size here xxx do it better 2010-09-28 16:03:50 -10:00
David Vierra
e5a966596c raise a more descriptive error when cannot import infdev 2010-09-28 16:03:40 -10:00
David Rio Vierra
2c5a7b4b12 better gitignore 2010-09-28 01:57:49 -08:00
David Rio Vierra
93102897b3 added ignore file 2010-09-28 01:56:14 -08:00
David Rio Vierra
2981bc5bb8 added encoding marker 2010-09-28 01:09:36 -08:00
David Rio Vierra
5e430b3f16 began using this function to test set membership instead of the absent 'in2d' 2010-09-27 23:00:49 -08:00
David Vierra
18e3b38aed changed copyAir and copyWater args in copyBlocks... to blocksToCopy - a list of block numbers to copy 2010-09-27 18:23:39 -10:00
David Vierra
1d081c4138 add analyze to help 2010-09-26 01:46:43 -10:00
David Vierra
02280ed2a6 throw away the uncompressed chunk data - xxx add dirty flag for other level types? 2010-09-26 01:43:28 -10:00
David Vierra
151e984909 added analyze command to count blocks. 2010-09-26 01:42:46 -10:00
David Vierra
72f2d3cfce fixed interactive load command to load things other than numbered worlds 2010-09-26 01:41:54 -10:00
David Vierra
2bdda6f09c began using logging module 2010-09-26 01:41:38 -10:00
David Vierra
efdce2b5fa don't modify some random variable called la instead of the one we want 2010-09-25 21:51:51 -10:00
David Vierra
7e46c941bf copyWater can now be turned off without turning off copyAir 2010-09-25 21:51:29 -10:00
David Vierra
8c5d5e7388 save and unload chunks during entity cleaning 2010-09-25 21:47:22 -10:00
David Vierra
ae690646e2 changed print lines to logging module calls 2010-09-25 21:46:58 -10:00
David Vierra
efa22c0cca added MCInfdevOldLevel.unload 2010-09-25 19:25:42 -10:00
David Vierra
bcad04094e fixed comments 2010-09-25 19:04:38 -10:00
David Vierra
519ff19908 MCIndevLevel: unpacked BlockLight array from Data array.
xxx move to unpackChunkData and get full indev editing working, but nobody can play indev right now
2010-09-25 19:04:21 -10:00
David Vierra
9f8a1ab35a clarified comments, removed incorrect ones 2010-09-25 18:32:27 -10:00
David Vierra
33df0ed0dc box compare 2010-09-25 18:31:55 -10:00
David Vierra
6e6ba93855 added licensing terms 2010-09-25 00:14:18 -10:00
David Vierra
95b65a8cf9 None argument to fillBlocks means operate on every chunk in the world.
previously, getChunks over a huge box would waste a lot of time skipping absent chunks in large, sparse levels.
2010-09-24 11:42:29 -10:00
David Vierra
2d20849271 pass None to fillBlocks for the area, instead of a giant box 2010-09-24 11:41:24 -10:00
David Vierra
cb0cddf704 updated sample usage in readme 2010-09-24 00:04:26 -10:00
David Vierra
3bb62426e5 work around a bug in older versions of Numpy that can't create boolean arrays from iterators 2010-09-23 19:24:31 -10:00
David Vierra
7caddf7784 created PlayerNotFound exception and used it in getPlayerPosition 2010-09-23 01:04:08 -10:00
David Vierra
b2b87a0114 make sure newly made chunks get saved 2010-09-22 21:59:18 -10:00
David Vierra
540a416558 added MCLevel.setBlockAt and MCInfdevOldLevel.setBlockAt 2010-09-22 21:32:28 -10:00
David Vierra
5df9280735 why does git randomly include a reverse commit in the next commit?? 2010-09-22 12:11:27 -10:00
David Vierra
823e13fb75 raise IOError when this weird condition happens - created a chunk without checking for its file 2010-09-22 12:10:09 -10:00
David Vierra
bcb8dde14b copy INVEdit's inventory tag 2010-09-22 12:09:50 -10:00
David Vierra
38534f3aa0 entity rotation works! 2010-09-22 12:09:35 -10:00
David Vierra
2c9ce3ff5a return a copy of this box 2010-09-22 12:09:12 -10:00
David Vierra
f9a66d0e74 handle uncompressed etc correctly 2010-09-21 01:54:55 -10:00
David Vierra
a3c1cc83a9 these schematics are terrible 2010-09-21 00:12:34 -10:00
David Vierra
13c3e0d862 honor dirty flag during chunk compress, to avoid extra work 2010-09-21 00:12:21 -10:00
David Vierra
05a92c686a make sure to mark chunks dirty after removing entities.... 2010-09-20 19:30:51 -10:00
David Vierra
fce0df5a7d use a flag to avoid unnecessary saves 2010-09-20 19:18:18 -10:00
David Vierra
4a711abab0 inherit from object for property() 2010-09-20 19:00:38 -10:00
David Vierra
3c18966e9b fill operation progress output is better 2010-09-20 19:00:28 -10:00
David Vierra
889cf7f476 Added degrief command - removes lava, obsidian, adminium, fire above a specified level 2010-09-20 18:59:20 -10:00
David Vierra
835e4ceb02 single-command non interactive mode works 2010-09-20 17:58:34 -10:00
David Vierra
2e233fd25a added removeEntities command 2010-09-20 17:40:29 -10:00
David Vierra
2e06d63bce removed unneeded except blocks after making readPoint and readBlocks throw UsageError 2010-09-19 19:34:58 -10:00
David Vierra
ba8cfc465c added player not found exception 2010-09-19 19:34:20 -10:00
David Vierra
583e4a58eb block search works now xxx duplication from readBlockType 2010-09-19 19:10:06 -10:00
David Vierra
35bdd17e76 echo the chosen block types when filling/replacing 2010-09-19 18:49:16 -10:00
David Vierra
07642a1aba ooops, use the new match instead of the old one when eating more words 2010-09-19 18:48:57 -10:00
David Vierra
d9395e847c argh lighting bug, need to light all changed chunks during replace, according to change in transparency
xxx still need to adjust for luminance
2010-09-19 15:38:01 -10:00