summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Tracer replacement (#3704)Mattes D2017-05-111-1/+1
| | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API.
* Spectators added (#2852)bibo382016-10-121-1/+9
|
* Fixed cProjectileEntity double destroy bug (#3397)LogicParrot2016-10-091-0/+4
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* Fixed RasPi builds of unit tests.Mattes D2016-08-041-1/+3
| | | | | On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds.
* Improved tamed wolf pack cooperation and projectile reactionsLogicParrot2016-01-221-10/+8
|
* Fix crash when tamed wolf is hit by arrowsLogicParrot2016-01-161-3/+4
|
* Tamed wolf assists owner (attack / defence)LogicParrot2016-01-121-20/+49
|
* Unified the doxy-comment format.Mattes D2015-07-311-4/+4
|
* Made -Weverything an error.tycho2015-05-241-3/+3
|
* Make -Werror disabling file onlytycho2015-05-191-0/+1
| | | | Ad fix a load of warnings
* Changed air drag units to 'interpolated ticks' per secondDevToaster2015-03-311-3/+3
|
* Adjusted projectile physicsDevToaster2015-03-311-4/+6
|
* Modified physics for more vanilla-like behaviorDevToaster2015-03-311-0/+4
|
* Merge pull request #1826 from mc-server/UnifyPacketizerMattes D2015-03-241-1/+1
|\ | | | | Unify packetizer
| * Changed cEntity::m_UniqueID to UInt32.Mattes D2015-03-211-1/+1
| |
* | Improved arrow in-flight and block-hit appearanceTiger Wang2015-03-201-6/+1
|/ | | | * Fixes #1495
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-2/+2
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-8/+8
|
* Functions in cPluginManager get references instead of pointers.Mattes D2014-10-151-1/+5
|
* FixesJaume Aloy2014-08-191-2/+3
| | | | | | | | - Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions
* Moved potion static functions to EntityEffect to create splash potions through worldarchshift2014-07-261-0/+2
|
* Added m_TicksAlive to entities, allows projectiles to hit their creatorsarchshift2014-07-201-3/+5
|
* Normalized comments.madmaxoft2014-07-171-3/+3
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Merge branch 'master' into potionsmadmaxoft2014-07-151-3/+4
|\
| * Made CreateProjectile a pointerworktycho2014-07-131-3/+4
| |
* | Added splash potions to NBT serialization and retrievalarchshift2014-07-121-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-101-30/+41
|\| | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp
| * Added extra space before commentsTiger Wang2014-07-071-6/+6
| |
| * Changed everything to callbacksTiger Wang2014-07-051-71/+1
| |
| * Crash and compile fixTiger Wang2014-07-041-3/+8
| |
| * Various fixedTiger Wang2014-07-041-3/+72
| | | | | | | | | | * Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly
| * An unification of code styleTiger Wang2014-06-281-1/+1
| |
| * Fixed multiple issues with projectilesTiger Wang2014-06-221-27/+34
| | | | | | | | | | | | | | * Fixed arrows not being collectable/not truly hitting a block/not lodging into blocks/not going in far enough * Fixed projectiles not playing their block hit animation owning to being destroyed too quickly
* | Added splash potion functionalityarchshift2014-06-171-2/+0
| |
* | Added classes for splash potions and wither skullsarchshift2014-06-171-0/+4
|/
* Merge pull request #844 from mc-server/ProjectileHitBlockMattes D2014-06-011-2/+2
|\ | | | | OnProjectileHitBlock tweak.
| * Used recommendationsSTRWarrior2014-05-311-2/+1
| |
| * Using recommendations (I think)STRWarrior2014-03-301-1/+2
| |
| * Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior2014-03-301-2/+2
| |
| * Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior2014-03-301-1/+1
| |
* | Fixed projectile source filenames, indentationsarchshift2014-04-281-8/+8
| |
* | Fixed ToLua errors, added newlinesarchshift2014-04-271-1/+1
| |
* | Moved cFireworkEntity out of ProjectileEntity.harchshift2014-04-271-71/+1
| |
* | Moved cGhastFireballEntity out of ProjectileEntity.harchshift2014-04-271-43/+1
| |
* | Moved cFireChargeEntity out of ProjectileEntity.harchshift2014-04-271-54/+2
| |
* | Moved cThrownSnowballEntity out of ProjectileEntity.harchshift2014-04-271-47/+1
| |
* | Moved cExpBottleEntity out of ProjectileEntity.harchshift2014-04-271-26/+1
| |
* | Moved cThrownEnderPearl out of ProjectileEntity.harchshift2014-04-271-54/+1
| |
* | Moved cThrownEggEntity out of ProjectileEntity.harchshift2014-04-271-58/+1
| |
* | Moved cArrowEntity out of ProjectileEntity.harchshift2014-04-271-192/+3
| |
* | Creator not user.archshift2014-04-251-3/+3
| |
* | Rename spawn chicken method, Initialize m_HasTeleported.archshift2014-04-251-3/+4
| |
* | Chicken eggs and ender pearls can hit entities.archshift2014-04-251-6/+56
| | | | | | | | Fixed warning by adding dedicated m_HasTeleported for fired arrows.
* | Entities handle chunks properly againTiger Wang2014-04-121-1/+1
| | | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty
* | Removed debugging log from entity physics handling.madmaxoft2014-04-051-1/+2
|/
* Fixed the OnProjectileHitBlock hook not stopping projectiles.STRWarrior2014-03-291-1/+1
|
* Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior2014-03-291-0/+5
|
* Fixed error when the hook gets called.STRWarrior2014-03-291-1/+0
|
* Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior2014-03-291-0/+6
|
* Merge remote-tracking branch 'origin/SnowBall'madmaxoft2014-03-121-2/+24
|\
| * TakeDamage now has the cThrownSnowballEntity instead of the creator's object.STRWarrior2014-03-111-1/+1
| |
| * Snowballs now actualy hurt other entities.STRWarrior2014-03-111-2/+24
| | | | | | | | 3 damage for blazes and 1 for the ender dragon. Otherwise 0
* | Merge branch 'master' into ballisticmissilesTiger Wang2014-03-091-2/+2
|\| | | | | | | | | Conflicts: src/ClientHandle.cpp
| * g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-2/+2
| |
* | Implemented ballistic missiles (fireworks)Tiger Wang2014-02-271-40/+47
|/ | | | + Added fireworks
* Replace random Float Generation and broadcast the Exp Pickup SoundHowaner2014-02-161-3/+1
|
* Add Exp Bottle EffectsHowaner2014-02-161-0/+3
|
* Improved Type safety of eBlockFaceTycho2014-02-041-11/+11
| | | | May Fix #640
* Removed debug message when a firework entity hit a solid block.STRWarrior2014-01-291-2/+0
|
* Bottle o' Enchanting spawns an experience orb.STRWarrior2014-01-291-1/+2
|
* Removed internal cEntity::GetRot() usage.madmaxoft2014-01-171-3/+3
|
* Removed obsoleted functionsTiger Wang2014-01-161-6/+6
|
* More reordering fixes.madmaxoft2013-12-201-2/+2
|
* Sorted a few constructors to remove warnings.madmaxoft2013-12-201-2/+2
|
* Tools make a sound when breaking, fixes #266Tiger Wang2013-12-061-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-241-24/+136
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-241-0/+743