Caleb Deveraux
|
47cf34bbfd
|
Fix TAG_String's setValue and dataType member functions
|
2010-10-07 11:47:23 +08:00 |
|
Caleb Deveraux
|
c3c44a60bf
|
Use new-style classes so properties work
Properties don't work on old-style classes. Convert classes to
new-style by explicitly inheriting from object.
|
2010-10-07 11:47:05 +08:00 |
|
Caleb Deveraux
|
31b4fcbf13
|
Use int(s, 36) rather than roll a custom base36 converter
|
2010-10-05 19:48:52 +08:00 |
|
Caleb Deveraux
|
269af277d7
|
Used reversed rather than __reversed__
|
2010-10-05 19:48:51 +08:00 |
|
Caleb Deveraux
|
b766af613c
|
Avoid creating temporary lists where possible
|
2010-10-05 19:48:51 +08:00 |
|
Caleb Deveraux
|
d85ffc1b8f
|
Use pack_into/unpack_from where possible
|
2010-10-05 19:48:51 +08:00 |
|
Caleb Deveraux
|
b113261c51
|
Use enumerate, rather than explicit count
|
2010-10-05 19:44:02 +08:00 |
|
Caleb Deveraux
|
e1d583f51d
|
Don't coerce data type twice
|
2010-10-05 19:44:02 +08:00 |
|
Caleb Deveraux
|
f7fc6ba343
|
Fix TAG_Compound to use value property
|
2010-10-05 19:44:01 +08:00 |
|
Caleb Deveraux
|
cfe68af226
|
Don't construct a key list unnecessarily; it slows things down
|
2010-10-05 19:43:30 +08:00 |
|
David Vierra
|
7265fd3658
|
made generateHeightMap a global func until I find a better place to put it
this means a fake chunk can generate its heightmap
|
2010-10-03 12:35:58 -10:00 |
|
David Vierra
|
b214157f59
|
fake chunks now have a reference to the parent level
|
2010-10-03 12:34:54 -10:00 |
|
David Vierra
|
b630586568
|
fixed fencepost error in dummy getPresentChunks
|
2010-10-03 12:34:19 -10:00 |
|
David Vierra
|
4551c81e67
|
removed unused structures, converted a list to a numpy array
|
2010-10-02 02:12:15 -10:00 |
|
David Vierra
|
5ba7bf2c96
|
don't try to update zeroChunk
|
2010-10-01 21:08:40 -10:00 |
|
David Vierra
|
bae486d35b
|
fill zero chunks with white light instead of darkness
|
2010-10-01 18:19:33 -10:00 |
|
David Vierra
|
2f81e8469a
|
correct the entity's motion and position correctly
|
2010-10-01 18:19:23 -10:00 |
|
David Vierra
|
f66099f9c0
|
Merge branch 'master' of d:\gitrepos\mcedit\pymclevel
|
2010-09-28 16:04:32 -10:00 |
|
David Vierra
|
cf94b41cf1
|
.NET gzip output doesn't always get read correctly by python's gzip
|
2010-09-28 16:04:25 -10:00 |
|
David Vierra
|
e1ac12659c
|
test on a schematic already present
|
2010-09-28 16:04:02 -10:00 |
|
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 |
|