summaryrefslogtreecommitdiffstats
path: root/src/Entities/ExpOrb.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-2/+1
2018-08-02Experience orb (#4259)changyong guo1-0/+3
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216
2018-01-16Exp Orbs and Pickups are destroyed instantly by cacti. (#4136)Alexander Harkness1-0/+3
* Cactus detection code follows pattern set in #3996 * Pickups are now destroyed on cactus contact * Add cactus detection and destruction to Exp Orbs Remove checks for IsExpOrb() in cEntity::Tick() Exp Orbs do not call super::Tick() and so this condition was pointless.
2017-05-09Exported cFallingBlock and cExpOrb (#3700)Lukas Pioch1-4/+8
2016-02-05Bulk clearing of whitespaceLogicParrot1-2/+2
2015-01-16Converted cExpOrbEntity to std::chronoTycho1-3/+3
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-07-24Removed redundant semicolons and re-added warningarchshift1-1/+1
2014-07-07Implemented trapped chests & othersTiger Wang1-1/+1
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney1-1/+1
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-15Add health and age load to pickup's.Howaner1-6/+9
2014-03-15Add ExpOrb saving.Howaner1-2/+14
2014-02-03Pickup constructor no longer exportedTiger Wang1-0/+1
It didn't do anything without Initialize() exported, anyway, pickups are spawned with cWorld.