summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-2/+2
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-1/+1
2016-01-12Tamed wolf assists owner (attack / defence)LogicParrot1-22/+18
2015-05-09More style checking.Mattes D1-1/+1
Spaces around some operators are checked.
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-7/+5
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-2/+2
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-21Exported individual projectile classes to Lua API.Mattes D1-10/+10
They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list.
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-1/+1
2014-08-31Fixed styleJaume Aloy1-1/+1
2014-08-19FixesJaume Aloy1-2/+4
- 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
2014-07-24Removed redundant semicolons and re-added warningarchshift1-1/+1
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-07-17Normalized comments.madmaxoft1-1/+1
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.
2014-07-13Made CreateProjectile a pointerworktycho1-1/+1
2014-07-05Changed everything to callbacksTiger Wang1-3/+3
2014-07-04Crash and compile fixTiger Wang1-1/+1
2014-07-04Various fixedTiger Wang1-4/+30
* Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly
2014-04-27Fixed ToLua errors, added newlinesarchshift1-1/+1
2014-04-27Moved cFireworkEntity out of ProjectileEntity.harchshift1-44/+1
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift1-31/+0
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift1-28/+0
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift1-27/+0
2014-04-27Moved cExpBottleEntity out of ProjectileEntity.harchshift1-26/+0
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift1-32/+0
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift1-32/+0
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift1-88/+0
2014-04-25Creator not user.archshift1-2/+2
2014-04-25Comments for TrySpawnChicken() and TeleportUser().archshift1-0/+2
2014-04-25Rename spawn chicken method, Initialize m_HasTeleported.archshift1-1/+1
2014-04-25Chicken eggs and ender pearls can hit entities.archshift1-1/+10
Fixed warning by adding dedicated m_HasTeleported for fired arrows.
2014-03-11Snowballs now actualy hurt other entities.STRWarrior1-0/+1
3 damage for blazes and 1 for the ender dragon. Otherwise 0
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang1-3/+9
+ Added fireworks
2014-02-04Improved Type safety of eBlockFaceTycho1-9/+9
May Fix #640
2013-12-22merged in warnings changesTycho Bickerstaff1-1/+5
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-1/+5
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-16General fixes [SEE DESC]Tiger Wang1-0/+55
* Fixed faulty block face enumeration and functions + Added fireworks and exp bottle spawning * Fixed arrows again
2013-11-14Fixed arrow bugsTiger Wang1-1/+3
* Fixed arrows hitting blocks wrong
2013-11-12Bundled fixes [SEE DESC]Tiger Wang1-1/+15
* BoundingBox now returns FACE_NONE + Arrows can be picked up * Arrows dug up resume physics simulations * Added sound effects for bows, lava to stone, and arrows * Fixed SoundParticleEffect on <1.7 protocols
2013-09-07Implemented loading more projectiles from MCA.madmaxoft1-2/+5
2013-09-07Implemented ghast fireball and firecharge projectilesmadmaxoft1-2/+59
2013-09-07Arrows have proper yaw and pitch when shot, and stop when they hit a block.madmaxoft1-1/+1
2013-09-03Implemented exact block hit position.madmaxoft1-5/+5
Arrows now stick out of blocks at the exact position where they hit.
2013-09-03Added cArrowEntity's criticalness to the API.madmaxoft1-0/+6
2013-09-03Arrows deal damage based on their speed.madmaxoft1-0/+3
2013-09-01Arrows deal damage.madmaxoft1-0/+4
Still needs some tweaks, they hit the shooter most of the time.
2013-08-30Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft1-2/+91
They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA.
2013-08-30Moved throw pos and speed calculation from cProjectileEntity into cPlayer.madmaxoft1-6/+0
2013-08-30Shooting a bow kinda works.madmaxoft1-0/+9
The arrow is released, but sometimes hits wrong blocks or disappears completely.
2013-08-27Implemented basic physics for projectiles.madmaxoft1-3/+6
2013-08-26Debug: arrow log their position in each tickmadmaxoft1-0/+1
2013-08-25Added a few API accessors to cArrowEntity.madmaxoft1-0/+8
2013-08-22Added a few basic fields to cProjectileEntity and cArrowEntity.madmaxoft1-3/+44
2013-08-22Added skeleton code for projectile spawning.madmaxoft1-3/+23
2013-08-20Started work on the cProjectileEntity class.madmaxoft1-0/+69