82 Commits

Author SHA1 Message Date
Shoghi Cervantes
0a85ad0d1f
Improved trees, improved inventory transactions, improved snowball/bow usage 2015-03-28 16:59:15 +01:00
Shoghi Cervantes
47de616ac5
Fixed commands, added level automatic tick delay, improved biome gradient 2015-03-28 01:26:06 +01:00
Shoghi Cervantes
e0522d8b1a Fixed data on generation, biome gradient 2015-03-27 12:42:59 +01:00
Shoghi Cervantes
08f2b7f291
Moved chunk population to async tasks, and no more cut trees! 2015-03-27 01:57:08 +01:00
Shoghi Cervantes
72c4c01542 Yay generation uses async tasks 2015-03-26 18:21:39 +01:00
Shoghi Cervantes
ed2ba70a29
Merge remote-tracking branch 'origin/master' into mcpe-0.11 2015-03-26 01:32:44 +01:00
Alejandro Liu
c68cd2c496 Cloned the initial empty chunk 2015-03-23 10:28:29 +01:00
Shoghi Cervantes
a6b8170d9c
Improved biomes 2015-03-23 08:02:18 +01:00
Shoghi Cervantes
9da26fdb88
World generation with biomes! 2015-03-22 22:57:40 +01:00
Shoghi Cervantes
add380c7ed
A few fixes! 2015-03-21 00:45:29 +01:00
Alejandro Liu
1d1a8a316e Take-2: Delay "parsePreset" until we have to really generate a block 2015-03-20 08:13:55 +01:00
Alex
8ae9cd4eaf Clone initial chunk in Flat.php
The Flat generator destroys Chunk at 0,0.

What happens is that it request the level to read Chunk at 0,0.  It then uses that chunk to create the template chunk.  However this obliterates whatever was in Chunk at 0,0.

Added a line to "clone" this chunk, so when parsePreset generates the template chunk, all this goes to a copy rather than the original file chunk 0,0.
2015-03-19 15:41:26 +01:00
Shoghi Cervantes
d5601b0c9f
Generator works! 2015-03-15 16:40:18 +01:00
Shoghi Cervantes
b0f8c14640
Added Terminal class, Improved normal generator speed 2015-03-15 00:15:24 +01:00
Shoghi Cervantes
328cd585c0
Merge branch 'biome-generation' into mcpe-0.11 2015-03-14 15:52:38 +01:00
Shoghi Cervantes
807107e581
Fixed constructors, default memory to -1, default async generator 2015-03-14 15:51:21 +01:00
Shoghi Cervantes
94c2ec8498
Fixed constructors, default memory to -1, default async generator 2015-03-14 15:50:33 +01:00
Shoghi Cervantes
9158cc4f19
Implemented Threaded ClassLoader, improves class loading while on different threads (no need to synchronize states) 2015-03-14 15:22:42 +01:00
Shoghi Cervantes
11c13cd666
Implemented Threaded ClassLoader, improves class loading while on different threads (no need to synchronize states) 2015-03-14 15:22:13 +01:00
Shoghi Cervantes
a893174473
Second biome generator iteration 2015-01-08 01:05:23 +01:00
Shoghi Cervantes
a76be6cf38
First biome based generator iteration 2015-01-07 04:07:11 +01:00
Shoghi Cervantes
4b73dbd9f8
Fixed Flat generator on existing chunks, region issues 2015-01-06 18:46:18 +01:00
Shoghi Cervantes
04bdb13103
Improved move offset check 2015-01-02 19:14:18 +01:00
Shoghi Cervantes
2cec0d9f36
Improved Simplex 2D noise 2014-12-28 03:51:08 +01:00
Shoghi Cervantes
d800a21bd4
Higher chunk defaults 2014-12-28 02:58:17 +01:00
Shoghi Cervantes
8d9fbec4ce
Fixed memory leak issues on chunk generation under 32-bit hosts, fixed issue with generated chunks not having a provider. Closes #2419, fixes #2308, closes #2421 2014-12-28 02:22:13 +01:00
Shoghi Cervantes
ab72c32769
Improved Normal generator speed 2014-12-28 02:12:48 +01:00
Shoghi Cervantes
8e47c93fbc Fixed some issues with chunks being generated on a loop 2014-12-16 02:57:44 +01:00
Shoghi Cervantes
b220bd2a45 Updated chunk indexes on generator 2014-12-09 15:14:11 +01:00
Shoghi Cervantes
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00
Shoghi Cervantes
8c4faa8622 Added extra Exceptions 2014-10-28 21:07:12 +01:00
Shoghi Cervantes
62af784d37 Removed unused imports 2014-10-08 17:00:23 +02:00
Shoghi Cervantes
602bdf27a5 Compatibility with pthreads > 2.0.8 2014-10-02 16:58:37 +02:00
Shoghi Cervantes
5b6b789ab3 Improved exponentiation 2014-09-29 13:24:25 +02:00
Shoghi Cervantes
fde61b7d21 Improved single-threaded chunk generation efficiency 2014-09-29 12:48:11 +02:00
Shoghi Cervantes
7fea29e874 Updated pthreads version on Travis-CI 2014-09-28 12:50:03 +02:00
Shoghi Cervantes
d720113ac9 Added non-threaded chunk generation, toggleable on pocketmine.yml 2014-09-26 11:18:46 +02:00
Shoghi Cervantes
5db45222c6 Deprecated Level->getChunkAt() in favor of Level->getChunk() 2014-09-26 10:31:32 +02:00
Shoghi Cervantes
3cc4afbcd6 Possible fix for #1920 2014-09-22 11:21:54 +02:00
Shoghi Cervantes
d312d2a143 Possible fix for #2046, removed embedded class names 2014-09-19 09:44:58 +02:00
Shoghi Cervantes
63fc229c12 Enabled default PHP GC on generator thread 2014-09-12 15:57:02 +02:00
Shoghi Cervantes
09428bc8c7 Merge branch 'master' into pthreads-fix 2014-09-12 13:32:53 +02:00
Shoghi Cervantes
83eb9f778a Level generators can be set in server.properties 2014-09-12 01:05:32 +02:00
Shoghi Cervantes
7923c40b33 Removed as Vector3 on Flat generator 2014-09-12 00:12:52 +02:00
Shoghi Cervantes
b5deae7ba0 Added synchronization to GenerationThread::pushMainToThreadPacket() 2014-09-11 19:18:14 +02:00
Shoghi Cervantes
d991c32435 Fixed Generator Thread as specified on krakjoe/pthreads#349 2014-09-11 19:10:25 +02:00
Shoghi Cervantes
dbd1f3f96e Use pthreads interface on Chunk Generation THread, remove IPC sockets, improve performance 2014-09-11 18:05:14 +02:00
Shoghi Cervantes
f4ae58dda2 Removed pthreads workarounds 2014-09-10 15:11:56 +02:00