Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add cEntity::GetBoundingBox, and use where appropriate. (#4711) | Alexander Harkness | 2020-05-03 | 1 | -1/+1 |
| | | | * Add cEntity::GetBoundingBox, and use where appropriate. | ||||
* | Unify entity spawn packet sending | Tiger Wang | 2020-05-01 | 1 | -4/+1 |
| | |||||
* | Delet SpawnObject params | Tiger Wang | 2020-04-20 | 1 | -8/+1 |
| | | | | | | * Fix #4679 awkward... | ||||
* | More arrow patches | Tiger Wang | 2020-04-19 | 1 | -6/+1 |
| | | | | | | | * Further reduce instances of appearing black * Fix packet send and get arrows to more reliably lodge in blocks clientside * Fix hit detection failing at chunk boundaries + Use delegating constructors | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -3/+3 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -15/+21 |
| | |||||
* | Add a formatting function for Vector3 (#4282) | peterbell10 | 2018-09-24 | 1 | -14/+9 |
| | | | | | | | | | | * Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG | ||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -4/+1 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -24/+16 |
| | |||||
* | Changed some int parameters to vector parameters (#3937) | Bond-009 | 2017-09-07 | 1 | -2/+2 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -16/+24 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -24/+16 |
| | |||||
* | Cleanup Vector3 constructors and Abs | peterbell10 | 2017-08-28 | 1 | -1/+1 |
| | |||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -11/+11 |
| | |||||
* | Tracer replacement (#3704) | Mattes D | 2017-05-11 | 1 | -1/+1 |
| | | | | | | * Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | ||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -1/+9 |
| | |||||
* | Fixed cProjectileEntity double destroy bug (#3397) | LogicParrot | 2016-10-09 | 1 | -0/+4 |
| | |||||
* | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 2016-09-03 | 1 | -0/+5 |
| | |||||
* | Fixed RasPi builds of unit tests. | Mattes D | 2016-08-04 | 1 | -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 reactions | LogicParrot | 2016-01-22 | 1 | -10/+8 |
| | |||||
* | Fix crash when tamed wolf is hit by arrows | LogicParrot | 2016-01-16 | 1 | -3/+4 |
| | |||||
* | Tamed wolf assists owner (attack / defence) | LogicParrot | 2016-01-12 | 1 | -20/+49 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -4/+4 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -0/+1 |
| | | | | Ad fix a load of warnings | ||||
* | Changed air drag units to 'interpolated ticks' per second | DevToaster | 2015-03-31 | 1 | -3/+3 |
| | |||||
* | Adjusted projectile physics | DevToaster | 2015-03-31 | 1 | -4/+6 |
| | |||||
* | Modified physics for more vanilla-like behavior | DevToaster | 2015-03-31 | 1 | -0/+4 |
| | |||||
* | Merge pull request #1826 from mc-server/UnifyPacketizer | Mattes D | 2015-03-24 | 1 | -1/+1 |
|\ | | | | | Unify packetizer | ||||
| * | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -1/+1 |
| | | |||||
* | | Improved arrow in-flight and block-hit appearance | Tiger Wang | 2015-03-20 | 1 | -6/+1 |
|/ | | | | * Fixes #1495 | ||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -2/+2 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -8/+8 |
| | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -1/+5 |
| | |||||
* | Fixes | Jaume Aloy | 2014-08-19 | 1 | -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 world | archshift | 2014-07-26 | 1 | -0/+2 |
| | |||||
* | Added m_TicksAlive to entities, allows projectiles to hit their creators | archshift | 2014-07-20 | 1 | -3/+5 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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 potions | madmaxoft | 2014-07-15 | 1 | -3/+4 |
|\ | |||||
| * | Made CreateProjectile a pointer | worktycho | 2014-07-13 | 1 | -3/+4 |
| | | |||||
* | | Added splash potions to NBT serialization and retrieval | archshift | 2014-07-12 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -30/+41 |
|\| | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| * | Added extra space before comments | Tiger Wang | 2014-07-07 | 1 | -6/+6 |
| | | |||||
| * | Changed everything to callbacks | Tiger Wang | 2014-07-05 | 1 | -71/+1 |
| | | |||||
| * | Crash and compile fix | Tiger Wang | 2014-07-04 | 1 | -3/+8 |
| | | |||||
| * | Various fixed | Tiger Wang | 2014-07-04 | 1 | -3/+72 |
| | | | | | | | | | | * Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly | ||||
| * | An unification of code style | Tiger Wang | 2014-06-28 | 1 | -1/+1 |
| | | |||||
| * | Fixed multiple issues with projectiles | Tiger Wang | 2014-06-22 | 1 | -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 functionality | archshift | 2014-06-17 | 1 | -2/+0 |
| | | |||||
* | | Added classes for splash potions and wither skulls | archshift | 2014-06-17 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #844 from mc-server/ProjectileHitBlock | Mattes D | 2014-06-01 | 1 | -2/+2 |
|\ | | | | | OnProjectileHitBlock tweak. | ||||
| * | Used recommendations | STRWarrior | 2014-05-31 | 1 | -2/+1 |
| | | |||||
| * | Using recommendations (I think) | STRWarrior | 2014-03-30 | 1 | -1/+2 |
| | | |||||
| * | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 2014-03-30 | 1 | -2/+2 |
| | | |||||
| * | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 2014-03-30 | 1 | -1/+1 |
| | | |||||
* | | Fixed projectile source filenames, indentations | archshift | 2014-04-28 | 1 | -8/+8 |
| | | |||||
* | | Fixed ToLua errors, added newlines | archshift | 2014-04-27 | 1 | -1/+1 |
| | | |||||
* | | Moved cFireworkEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -71/+1 |
| | | |||||
* | | Moved cGhastFireballEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -43/+1 |
| | | |||||
* | | Moved cFireChargeEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -54/+2 |
| | | |||||
* | | Moved cThrownSnowballEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -47/+1 |
| | | |||||
* | | Moved cExpBottleEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -26/+1 |
| | | |||||
* | | Moved cThrownEnderPearl out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -54/+1 |
| | | |||||
* | | Moved cThrownEggEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -58/+1 |
| | | |||||
* | | Moved cArrowEntity out of ProjectileEntity.h | archshift | 2014-04-27 | 1 | -192/+3 |
| | | |||||
* | | Creator not user. | archshift | 2014-04-25 | 1 | -3/+3 |
| | | |||||
* | | Rename spawn chicken method, Initialize m_HasTeleported. | archshift | 2014-04-25 | 1 | -3/+4 |
| | | |||||
* | | Chicken eggs and ender pearls can hit entities. | archshift | 2014-04-25 | 1 | -6/+56 |
| | | | | | | | | Fixed warning by adding dedicated m_HasTeleported for fired arrows. | ||||
* | | Entities handle chunks properly again | Tiger Wang | 2014-04-12 | 1 | -1/+1 |
| | | | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty | ||||
* | | Removed debugging log from entity physics handling. | madmaxoft | 2014-04-05 | 1 | -1/+2 |
|/ | |||||
* | Fixed the OnProjectileHitBlock hook not stopping projectiles. | STRWarrior | 2014-03-29 | 1 | -1/+1 |
| | |||||
* | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 2014-03-29 | 1 | -0/+5 |
| | |||||
* | Fixed error when the hook gets called. | STRWarrior | 2014-03-29 | 1 | -1/+0 |
| | |||||
* | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 2014-03-29 | 1 | -0/+6 |
| | |||||
* | Merge remote-tracking branch 'origin/SnowBall' | madmaxoft | 2014-03-12 | 1 | -2/+24 |
|\ | |||||
| * | TakeDamage now has the cThrownSnowballEntity instead of the creator's object. | STRWarrior | 2014-03-11 | 1 | -1/+1 |
| | | |||||
| * | Snowballs now actualy hurt other entities. | STRWarrior | 2014-03-11 | 1 | -2/+24 |
| | | | | | | | | 3 damage for blazes and 1 for the ender dragon. Otherwise 0 | ||||
* | | Merge branch 'master' into ballisticmissiles | Tiger Wang | 2014-03-09 | 1 | -2/+2 |
|\| | | | | | | | | | Conflicts: src/ClientHandle.cpp | ||||
| * | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -2/+2 |
| | | |||||
* | | Implemented ballistic missiles (fireworks) | Tiger Wang | 2014-02-27 | 1 | -40/+47 |
|/ | | | | + Added fireworks | ||||
* | Replace random Float Generation and broadcast the Exp Pickup Sound | Howaner | 2014-02-16 | 1 | -3/+1 |
| | |||||
* | Add Exp Bottle Effects | Howaner | 2014-02-16 | 1 | -0/+3 |
| | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -11/+11 |
| | | | | May Fix #640 | ||||
* | Removed debug message when a firework entity hit a solid block. | STRWarrior | 2014-01-29 | 1 | -2/+0 |
| | |||||
* | Bottle o' Enchanting spawns an experience orb. | STRWarrior | 2014-01-29 | 1 | -1/+2 |
| | |||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -3/+3 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -6/+6 |
| | |||||
* | More reordering fixes. | madmaxoft | 2013-12-20 | 1 | -2/+2 |
| | |||||
* | Sorted a few constructors to remove warnings. | madmaxoft | 2013-12-20 | 1 | -2/+2 |
| | |||||
* | Tools make a sound when breaking, fixes #266 | Tiger Wang | 2013-12-06 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -24/+136 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+743 |