399 Commits

Author SHA1 Message Date
Shoghi Cervantes
8e47c93fbc Fixed some issues with chunks being generated on a loop 2014-12-16 02:57:44 +01:00
Shoghi Cervantes
71d602a4cf Faster chunk setting on provider 2014-12-12 15:51:31 +01:00
Shoghi Cervantes
fe900b417e Less calls! 2014-12-10 02:42:02 +01:00
Shoghi Cervantes
4c30b6b8a1 Optimized Liquid spreading, optimized light updates, improved side block get/update, fixed raw set not cleaning Block cache (TNT explosions) 2014-12-10 00:37:04 +01:00
Shoghi Cervantes
b220bd2a45 Updated chunk indexes on generator 2014-12-09 15:14:11 +01:00
Shoghi Cervantes
04ee94dc91 Fixed #2388 2014-12-09 15:05:36 +01:00
Shoghi Cervantes
04ecbd1a76 Level optimization, added new chunk/block hashes 2014-12-09 14:55:21 +01:00
Shoghi Cervantes
a4735eaf76 Replaced some instanceof to null checks 2014-12-09 02:22:18 +01:00
Shoghi Cervantes
5e5f8bf33d Better block creation on Level 2014-12-08 22:02:36 +01:00
Shoghi Cervantes
3bb2f12cde Improved block reading
* Created global block states array
* Improved Level->getBlock() using block states
* Improved Level->getBlock() for 64-bit systems
* Added Level->getFullBlock()
* Added FullChunk->getFullBlock()
* Added Chunk->getFullBlock()
* Added ChunkSection->getFullBlock()
* Deprecated FullChunk->getBlock()
* Deprecated Chunk->getBlock()
* Deprecated ChunkSection->getBlock()
2014-12-08 20:54:47 +01:00
Shoghi Cervantes
9e3d432b9e Faster Level provider chunk unloading 2014-12-07 21:51:57 +01:00
Shoghi Cervantes
68da4b5b39 Collect unallocated chunks from the Level provider 2014-12-07 18:27:11 +01:00
Shoghi Cervantes
e4557a2e8e Added HeightMap get/set methods on chunks, Level 2014-12-07 18:02:07 +01:00
Shoghi Cervantes
747f7685e7 Fix formatting issues due to bad IDE settings 2014-12-07 16:30:04 +01:00
Shoghi Cervantes
7506f01302 Improved Item property handling 2014-12-07 15:51:00 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
af82d616c1 Block creating and property handling rewrite, part2 2014-12-07 02:20:26 +01:00
Shoghi Cervantes
e44ed4da3b Enabled batch block sending again 2014-11-29 12:58:31 +01:00
Shoghi Cervantes
3930f379cf Updated light filter values 2014-11-29 11:58:50 +01:00
Shoghi Cervantes
66ba327e62 Improved light spread algorithm even more 2014-11-29 11:27:22 +01:00
Shoghi Cervantes
329ca62465 Improved light spread algorithm 2014-11-28 19:54:25 +01:00
Shoghi Cervantes
b3c3f896a3 Implemented light population, added Level->getFullLight() 2014-11-28 14:44:27 +01:00
Shoghi Cervantes
6d09754ea7 Improved Inventory->addItem(), fixed breaking containers duplicating the last slot, removed not necessary slot changes 2014-11-27 20:10:55 +01:00
Shoghi Cervantes
dd3207cbd8 Possible fix for #2267, #2314 2014-11-27 13:47:17 +01:00
Shoghi Cervantes
a7abd5ff9d Catch exceptions when chunks are unloaded 2014-11-27 13:35:54 +01:00
Shoghi Cervantes
441a98e60a Removed old trigger_error() calls, closes #2335 2014-11-27 13:16:39 +01:00
Shoghi Cervantes
8249cac592 Catch corrupted chunk data errors 2014-11-20 22:02:00 +01:00
Shoghi Cervantes
8eb80be691 Remove duplicated tiles from chunk table automatically 2014-11-20 21:45:52 +01:00
Shoghi Cervantes
c07b0ff35b Fixed tile entities not being placed in the correct array 2014-11-15 11:49:09 +01:00
Shoghi Cervantes
1a5544f68c Fixed Chunk tile indexes 2014-11-08 15:00:18 +01:00
Shoghi Cervantes
1818e64c8e Merge branch 'master' into 0.10 2014-11-06 18:56:47 +01:00
Shoghi Cervantes
f1519e6d13 Improved Level->getTile() to a direct lookup instead of linear search 2014-11-06 12:34:33 +01:00
Shoghi Cervantes
522b75645c Merge branch 'master' into 0.10 2014-11-05 19:04:36 +01:00
Shoghi Cervantes
31903a764a Fixed unloaded chunks residing on memory and getting loaded again causing crash, fixed spawn chunks getting unloaded by players 2014-11-04 17:16:02 +01:00
Shoghi Cervantes
79bc1d6c85 Fixed server not stopping after a special crash 2014-11-04 17:15:20 +01:00
Shoghi Cervantes
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00
Shoghi Cervantes
a5369b3570 Fixed unloading chunks 2014-11-04 11:18:34 +01:00
Shoghi Cervantes
abbd33210a Possible fix for #2245 2014-11-04 00:19:50 +01:00
Shoghi Cervantes
2803a38fd1 Fixed random block updates not firing 2014-11-01 20:26:13 +01:00
Shoghi Cervantes
d5012f6fcf Fixed server not stopping after a fatal error 2014-11-01 03:07:47 +01:00
Shoghi Cervantes
8601405a88 Fixed CPU leak 2014-10-31 21:07:00 +01:00
Shoghi Cervantes
ce989876af Improved freeing chunks 2014-10-31 16:39:32 +01:00
Shoghi Cervantes
4fba6d7c86 Merge branch 'master' into 0.10 2014-10-30 23:20:59 +01:00
Shoghi Cervantes
57d1847c50 Updated to receive new optimizations 2014-10-30 16:02:48 +01:00
Shoghi Cervantes
d8f9def7f4 Added preprocessor optimizations 2014-10-30 07:58:53 +01:00
Shoghi Cervantes
c4c374e3fa Added extra chunk sending timings 2014-10-29 21:52:27 +01:00
Shoghi Cervantes
d57e37896d Improved Region / RakLib 2014-10-29 17:43:21 +01:00
Shoghi Cervantes
8a768cea33 EntityDamageEvent and children now only fire if the attack is possible, moved event trigger to Entity->attack() 2014-10-29 16:02:40 +01:00
Shoghi Cervantes
289bc56b4b Blocks now save their bounding box, fixed entity block collision check 2014-10-29 15:43:23 +01:00
Shoghi Cervantes
6f64af3066 Reuse even more objects! 2014-10-29 14:23:51 +01:00