summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Clean up GenerateChunk/TouchChunkTiger Wang2020-08-281-78/+2
* ChunkMap: do not wantonly make empty chunksTiger Wang2020-08-281-198/+127
* Remove unneeded MarkDirty, SendToClients parameters of SetMetaTiger Wang2020-08-281-2/+2
* Remove level of indirection in cChunk storageTiger Wang2020-08-211-53/+33
* OnBroken/OnPlaced are for entity actionsTiger Wang2020-08-041-58/+0
* Remove unused block tick related cChunk functionsTiger Wang2020-08-021-17/+0
* Always use relative coordinates in AddBlockTiger Wang2020-08-021-3/+2
* Add WakeUp/AddBlock distinctionTiger Wang2020-08-021-1/+1
* Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D2020-08-011-3/+3
* Use relative vectors in cChunk::DoWithTiger Wang2020-07-251-15/+15
* Add cEntity::GetBoundingBox, and use where appropriate. (#4711)Alexander Harkness2020-05-031-3/+2
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-10/+10
* New hotfix to prevent calling OnBroken (#4600)Alexander Harkness2020-04-031-6/+1
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-0/+1
* Fix explosion knockback issues and tweak knockback strength (#4590)peterbell102020-04-021-13/+9
* Lock hopper when powered by redstone (#4347)Bond-0092020-03-271-0/+18
* Merge #4552Alexander Harkness2020-03-271-1/+8
* TNT position fixes (#4519)Mat2020-03-221-1/+1
* Fix invalid explosion damage (#4529)Mat2020-03-221-1/+1
* Improvements to knockback (#4504)Mat2020-03-191-1/+1
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-130/+75
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-143/+58
* Fixed MSVC warnings (#4400)Mattes D2019-09-271-1/+1
* NBTChunkSerializer: Cleaned up interface.Mattes D2019-09-241-2/+8
* Separated chunk generator from world / plugin interfaces.Mattes D2019-09-061-7/+7
* Limit the size of cListAllocationPool's free listpeterbell102019-02-201-1/+1
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-2/+7
* Broadcast refactor (#4264)peterbell102018-07-241-459/+10
* Optimise chunk set (#4260)peterbell102018-07-231-4/+2
* Rewrite explosion knock back (#4251)changyong guo2018-07-231-4/+15
* Fix explosion interaction with block entities. (#4052)peterbell102017-09-271-0/+13
* BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)Bond-0092017-09-251-11/+8
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-10/+10
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-85/+42
* Changed some int parameters to vector parameters (#3937)Bond-0092017-09-071-1/+1
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-43/+86
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-86/+43
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-0/+29
* Merge pull request #3489 from cuberite/EntityOwnershipTiger Wang2017-08-181-11/+12
|\
| * Changed entity ownership model to use smart pointersTiger Wang2017-08-071-11/+12
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-12/+10
|/
* Removed double includes (#3885)Lukas Pioch2017-08-021-1/+0
* cWorld::SendBlockTo take player by refpeterbell102017-08-011-2/+2
* Simulators: Added area-based wakeup.Mattes D2017-07-161-47/+4
* Added bed entity (#3823)Lukas Pioch2017-07-071-0/+18
* FastRandom rewrite (#3754)peterbell102017-06-131-5/+6
* Fixed bindings for cBlockArea:Read and Write. (#3568)Mattes D2017-02-051-2/+2
* DeadlockDetect now lists some tracked CS's stats.Mattes D2017-01-181-0/+19
* Initial support for the 1.11 protocol.Mattes D2016-12-161-2/+2
* Spectators added (#2852)bibo382016-10-121-0/+9
* cChunk::SetAlwaysTicked implies cChunk::stay (#3361)LogicParrot2016-10-091-1/+1
* Configurable dirty unused chunk cap to avoid RAM overuse (#3359)LogicParrot2016-09-031-2/+19
* Simplified cChunkMap chunk storage (#2565)Tiger Wang2016-08-031-584/+224
* Updated API documentation.Mattes D2016-07-181-2/+2
* Makes tall grass and large flowers bonemealableQUSpilPrgm2016-06-031-0/+18
* Update Dispensers and let them act more like in VanillaQUSpilPrgm2016-06-031-6/+9
* 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135)Pokechu222016-05-141-1/+17
* Fix Crash on stopping the server (#3176)LogicParrot2016-05-011-0/+13
* ChunkLayers now stored in std::mapLogicParrot2016-04-241-59/+58
* Revert "ChunkLayers now stored in std::map"LogicParrot2016-04-241-51/+59
* ChunkLayers now stored in std::mapLogicParrot2016-04-231-59/+51
* Reduced unnecessary block updatesLogicParrot2016-04-221-20/+1
* Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usageLogicParrot2016-04-161-2/+2
* Improved player freeze codeLogicParrot2016-04-051-2/+3
* Entities are never lostLogicParrot2016-03-301-10/+4
* Fixed removing entities from parent chunksLogicParrot2016-02-221-1/+1
* Bulk clearing of whitespaceLogicParrot2016-02-051-48/+48
* Updated old forum linksMathias2016-01-311-1/+1
* Fixed Clang warnings.Mattes D2016-01-061-9/+9
* Reorganised the redstone simulatorTiger Wang2015-12-181-115/+8
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-3/+3
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-1/+1
* Changed static_cast to FloorCJulian Laubstein2015-11-231-1/+1
* Adjusted height validation using cChunkDef::IsValidHeight()Julian Laubstein2015-11-231-1/+1
* Implemented brewingLukas Pioch2015-11-031-0/+33
* Fixed a race condition between chunk loader and generator.Mattes D2015-10-041-18/+18
* Maked it compileable for clang-3.7Lukas Pioch2015-09-251-2/+2
* Add new "ForEach" function: ForEachLoadedChunk.tycho2015-09-241-0/+28
* Some warning fixesJulian Laubstein2015-08-181-1/+1
* Unified the doxy-comment format.Mattes D2015-07-311-1/+0
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-19/+19
* Reinstate "Chunk queue collapsing"Tiger Wang2015-06-101-16/+0
* Revert "Chunk queue collapsing"worktycho2015-06-071-0/+16
* Moved Chunk Broadcasts over to the regular queuetycho2015-06-051-16/+0
* Made cLightingThread own its callbackstycho2015-05-301-2/+2
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-9/+9
* Added support for additional data in the ParticleEffect Packettycho2015-05-071-0/+22
* Fix explosions trying to write to unread blockareaTiger Wang2015-04-261-3/+5
* Hotfixed some chunk presence issues when generating.Mattes D2015-04-211-0/+2
* Changed cEntity::m_UniqueID to UInt32.Mattes D2015-03-211-7/+7
* Handle client 'leave bed' requestTiger Wang2015-02-081-4/+1
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-2/+2
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-36/+67
* NULL -> nullptrTiger Wang2014-12-171-1/+1
* Added a cWorld:PrepareChunk function.Mattes D2014-12-101-0/+97
* Fixed missing CS lock in cChunkMap::WakeUpSimulatorsInArea().Mattes D2014-10-311-0/+1
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-139/+139
* Functions in cPluginManager get references instead of pointers.Mattes D2014-10-151-6/+8
* Added barriers correctlyMasy982014-09-271-0/+1
* Removed more unessicary includesTycho2014-09-261-1/+1
* Merge branch 'master' into 1.8-ProtocolHowaner2014-09-131-3/+3
|\
| * Fixed farmland issues.Howaner2014-09-121-3/+3
* | 1.8: Added ParticleEffect packet.Howaner2014-09-111-2/+2
|/
* WorldStorage no longer queues chunks into generator.Mattes D2014-09-051-2/+2
* Rewritten chunk status to specify whether the chunk is in queue.Mattes D2014-09-051-51/+24
* Fixed compilation after chunk Y removal.madmaxoft2014-09-041-1/+1
* Merge remote-tracking branch 'origin/master' into EntitiesInBoxmadmaxoft2014-09-041-129/+129
|\
| * Merge pull request #1351 from LO1ZB/remove-a_RelYMattes D2014-09-031-129/+129
| |\
| | * remove y-coord from chunksLO1ZB2014-08-281-129/+129
* | | Added cWorld::ForEachEntityInBox()madmaxoft2014-09-031-0/+32
|/ /
* | Fixed style.madmaxoft2014-08-301-2/+3
* | Improved explosion damageTiger Wang2014-08-291-45/+22
|/
* Exported the beacon.Howaner2014-07-301-0/+18
* Added beacon.Howaner2014-07-301-0/+1
* Added a queue for setting chunk data.madmaxoft2014-07-241-16/+9
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-36/+36
* Fixed clamping issuesarchshift2014-07-191-4/+1
* Fixed spaces before commas.madmaxoft2014-07-181-2/+2
* Merge branch 'master' of https://github.com/mc-server/MCServermadmaxoft2014-07-171-1/+3
|\
| * Fixed crash with entities in unloaded chunksTiger Wang2014-07-171-1/+3
* | Fixed spaces around single-line comments.madmaxoft2014-07-171-11/+12
* | Fixed basic whitespace problems.madmaxoft2014-07-171-3/+3
|/
* Merge pull request #1183 from Howaner/SoundsTiger Wang2014-07-171-2/+2
|\
| * Derp.Howaner2014-07-151-2/+2
| * Reset meta to zero when the block explode.Howaner2014-07-141-4/+4
* | Merge pull request #1172 from mc-server/coverity_fixesMattes D2014-07-131-1/+1
|\ \
| * | Added parenthasiesworktycho2014-07-131-1/+1
| * | Add Null check to SendBlockToworktycho2014-06-261-1/+1
* | | Fixed MSVC warnings in SoundEffect functions.madmaxoft2014-07-131-1/+1
| |/ |/|
* | Merge branch 'master' into SoundsHowaner2014-07-131-2/+2
|\ \
| * | Fixed wrong types. (BLOCKTYPE -> NIBBLETYPE)Howaner2014-07-131-2/+2
* | | Changed BroadcastSoundEffect function to take floating pos.Howaner2014-07-131-3/+3
|/ /
* | Merge pull request #1154 from mc-server/trappedchestsTiger Wang2014-07-131-1/+20
|\ \
| * | Implemented trapped chests & othersTiger Wang2014-07-071-1/+20
* | | Implemented support for forced chunk ticking.madmaxoft2014-07-101-2/+18
|/ /
* / Added generic entity-collecting.Mattes D2014-06-271-3/+3
|/
* Merge branch 'master' of github.com:mc-server/MCServerTycho2014-06-161-4/+16
* Fixed a race condition when adding a player to a world.madmaxoft2014-06-101-0/+24
* Merge remote-tracking branch 'origin/pistonfixes'Tiger Wang2014-06-021-2/+2
|\
| * Hopefully fixed piston duplication issuesTiger Wang2014-05-251-2/+2
* | Merge branch 'master' into chunksparsing/structsTycho2014-05-101-2/+0
|\|
| * Merge branch 'master' into redstoneimprovementsTiger Wang2014-05-041-1/+4
| |\
| * | Redstone simulator now directly accesses cChunkTiger Wang2014-04-271-2/+0
* | | Merge branch 'master' into chunksparsing/structsTycho2014-05-011-5/+6
|\ \ \ | | |/ | |/|
| * | Fixed player spawning #953.madmaxoft2014-04-271-1/+4
| |/
| * Removed unused assignments.archshift2014-04-261-4/+2
* | Merge branch 'master' into chunksparsing/structsTycho2014-04-271-29/+37
|\|
| * Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-20/+20
| * Fixed chunkstays not being removed on auto-delete.madmaxoft2014-04-121-9/+17
* | Implemented Chunk Sparsing with segmentsTycho2014-04-261-10/+6
|/
* ENUMified shrapnel levelTiger Wang2014-03-201-2/+2
* Merge branch 'master' into awesometntTiger Wang2014-03-181-55/+59
|\
| * Fixed chunkmap tree block replacing.madmaxoft2014-03-181-8/+2
| * Fixed double to float conversions.madmaxoft2014-03-161-45/+46
| * Add new leaves to all classes.Howaner2014-03-161-0/+7
* | Added levels of shrapnelTiger Wang2014-03-181-3/+7
* | Merge branch 'master' into awesometntTiger Wang2014-03-101-2/+20
|\|
| * Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner2014-03-071-2/+2
| * Add Flower PotsHowaner2014-03-071-0/+18
* | Shrapnel now configurableTiger Wang2014-03-101-1/+1
* | Added extra awesomeness to TNTTiger Wang2014-03-051-11/+20
|/
* Fixed a possible crash in cWorld::WakeUpSimulatorsInArea().madmaxoft2014-02-241-0/+4
* Merge pull request #697 from Howaner/SkullMattes D2014-02-191-0/+18
|\
| * Rename SkullEntity to MobHeadEntityHowaner2014-02-191-2/+2
| * Add Heads completelyHowaner2014-02-181-0/+18
* | Added cWorld:SetAreaBiome() API function.madmaxoft2014-02-181-2/+59
|/
* Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft2014-02-101-2/+11
* Merge remote-tracking branch 'origin/master' into ChunkStaymadmaxoft2014-02-091-1/+1
|\
| * Merge branch 'master' into playerimprovementsTiger Wang2014-02-091-1/+1
| |\
| * | Fixed explosions bugTiger Wang2014-02-051-1/+1
| * | Fixed a bunch of MSVS warningsTiger Wang2014-02-051-1/+1
* | | Initial ChunkStay code.madmaxoft2014-02-081-113/+72
| |/ |/|
* | Greatly improved TNT propulsion chancesTiger Wang2014-02-031-1/+1
|/
* Merge pull request #623 from mc-server/tntMattes D2014-02-031-36/+121
|\
| * Inversed conditionTiger Wang2014-02-031-25/+28
| * Uncommented pickup spawner codeTiger Wang2014-02-021-3/+7
| * TNT improvementsTiger Wang2014-02-021-37/+115
* | Changed pointers to referencesTycho2014-02-011-3/+3
* | Changed signitures of Several BLockHandler MethodsTycho2014-02-011-4/+3
* | Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-2/+57
|/
* Basic command block implementationandrew2014-01-181-0/+17
* More MSVC warning fixes.madmaxoft2014-01-071-1/+1
* Fixed compiler warning.STRWarrior2013-12-221-1/+1
* Implented BroadcastParticleEffectSTRWarrior2013-12-221-0/+19
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-12/+12
* This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions.STRWarrior2013-12-151-0/+33
* Implemented note block playing and fixed wireTiger Wang2013-12-141-0/+17
* Merge branch 'master' of https://github.com/mc-server/MCServer into fixesnfeaturesTiger Wang2013-12-081-1/+1
|\
| * Moved bindings-related to a Bindings subfolder.madmaxoft2013-12-081-1/+1
* | Renamed animation functionTiger Wang2013-12-071-3/+3
* | Fixed duplication glitch with QueueSetBlockTiger Wang2013-12-061-2/+2
|/
* Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-1/+18
* Fixed a bug with TNT waking simulatorsTiger Wang2013-11-281-2/+2
* Improved TNT pickup randomisationTiger Wang2013-11-281-1/+1
* Made TNT pickups spawning chance 25%Tiger Wang2013-11-271-2/+2
* Fixed VC2008 compilation, normalized include paths.madmaxoft2013-11-271-1/+1
* Fixed the remaining derpsAlexander Harkness2013-11-271-2/+2
* Attempt to fix compilationTiger Wang2013-11-241-2/+2
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-0/+33
* Moved source to srcAlexander Harkness2013-11-241-0/+2668