summaryrefslogtreecommitdiffstats
path: root/src/Entities/FallingBlock.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stabilise MoveToWorld (#4004)Mat2020-03-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld
* Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D2019-09-291-2/+2
|
* Add a formatting function for Vector3 (#4282)peterbell102018-09-241-5/+5
| | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
* Concrete mixing (#4096)Zach DeCook2018-01-031-0/+7
| | | | | | | | | Adds a block handler for concrete powder and implements hardening to concrete. Concrete powder turns into concrete when: * It is next to water when it receives a block update * It falls onto a water block (even with Physics SandInstantFall=1)
* Fixed falling block spawningAltenius2016-07-051-1/+1
| | | | Fixes #3222
* Bulk clearing of whitespaceLogicParrot2016-02-051-5/+5
|
* Made -Weverything an error.tycho2015-05-241-1/+1
|
* Changed air drag units to 'interpolated ticks' per secondDevToaster2015-03-311-1/+1
|
* Modified physics for more vanilla-like behaviorDevToaster2015-03-311-0/+2
|
* Correct world height validations.Tommy Santerre2015-03-201-1/+4
| | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-2/+2
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Merge branch 'master' into chunksparsing/structsTycho2014-05-101-3/+2
|\ | | | | | | | | Conflicts: src/Chunk.h
| * Merge branch 'master' into redstoneimprovementsTiger Wang2014-05-041-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/FallingBlock.cpp src/Mobs/AggressiveMonster.cpp src/Simulator/IncrementalRedstoneSimulator.cpp
| * | Redstone simulator now directly accesses cChunkTiger Wang2014-04-271-2/+1
| | | | | | | | | | | | | | | | | | * Redstone simulator performance improvements * Added return values to some functions * Minor fixes
* | | Merge branch 'master' into chunksparsing/structsTycho2014-05-011-1/+3
|\ \ \ | | |/ | |/|
| * | Fixed a MSVC warning.madmaxoft2014-04-281-1/+1
| |/
| * More small fixes.archshift2014-04-261-1/+1
| |
| * Further refactored, Reverted Minecart changearchshift2014-04-261-1/+1
| | | | | | | | Other small changes.
| * Fixed a couple more warnings.archshift2014-04-261-1/+3
| |
* | Implemented Chunk Sparsing with segmentsTycho2014-04-261-3/+2
|/
* Added extra awesomeness to TNTTiger Wang2014-03-051-7/+12
| | | | | | | + TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
* Moved source to srcAlexander Harkness2013-11-241-0/+93