Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-04-20 | Delet SpawnObject params | Tiger Wang | 1 | -8/+1 | |
* Fix #4679 awkward... | |||||
2020-04-19 | More arrow patches | Tiger Wang | 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 | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -3/+3 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 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 | |||||
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -15/+21 | |
2018-09-24 | Add a formatting function for Vector3 (#4282) | peterbell10 | 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 | |||||
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 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() | |||||
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -24/+16 | |
2017-09-07 | Changed some int parameters to vector parameters (#3937) | Bond-009 | 1 | -2/+2 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -16/+24 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -24/+16 | |
2017-08-28 | Cleanup Vector3 constructors and Abs | peterbell10 | 1 | -1/+1 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -11/+11 | |
2017-05-11 | Tracer replacement (#3704) | Mattes D | 1 | -1/+1 | |
* Replaced cTracer usage with cLineBlockTracer. * Exported new cLineBlockTracer utility functions to Lua API. | |||||
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -1/+9 | |
2016-10-09 | Fixed cProjectileEntity double destroy bug (#3397) | LogicParrot | 1 | -0/+4 | |
2016-09-03 | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 1 | -0/+5 | |
2016-08-04 | Fixed RasPi builds of unit tests. | Mattes D | 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. | |||||
2016-01-22 | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 1 | -10/+8 | |
2016-01-16 | Fix crash when tamed wolf is hit by arrows | LogicParrot | 1 | -3/+4 | |
2016-01-12 | Tamed wolf assists owner (attack / defence) | LogicParrot | 1 | -20/+49 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -4/+4 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -3/+3 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -0/+1 | |
Ad fix a load of warnings | |||||
2015-03-31 | Changed air drag units to 'interpolated ticks' per second | DevToaster | 1 | -3/+3 | |
2015-03-31 | Adjusted projectile physics | DevToaster | 1 | -4/+6 | |
2015-03-31 | Modified physics for more vanilla-like behavior | DevToaster | 1 | -0/+4 | |
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -1/+1 | |
2015-03-20 | Improved arrow in-flight and block-hit appearance | Tiger Wang | 1 | -6/+1 | |
* Fixes #1495 | |||||
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -2/+2 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -8/+8 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -8/+8 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -1/+5 | |
2014-08-19 | Fixes | Jaume Aloy | 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 | |||||
2014-07-26 | Moved potion static functions to EntityEffect to create splash potions through world | archshift | 1 | -0/+2 | |
2014-07-20 | Added m_TicksAlive to entities, allows projectiles to hit their creators | archshift | 1 | -3/+5 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-13 | Made CreateProjectile a pointer | worktycho | 1 | -3/+4 | |
2014-07-12 | Added splash potions to NBT serialization and retrieval | archshift | 1 | -1/+1 | |
2014-07-07 | Added extra space before comments | Tiger Wang | 1 | -6/+6 | |
2014-07-05 | Changed everything to callbacks | Tiger Wang | 1 | -71/+1 | |
2014-07-04 | Crash and compile fix | Tiger Wang | 1 | -3/+8 | |
2014-07-04 | Various fixed | Tiger Wang | 1 | -3/+72 | |
* Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly | |||||
2014-06-28 | An unification of code style | Tiger Wang | 1 | -1/+1 | |
2014-06-22 | Fixed multiple issues with projectiles | Tiger Wang | 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 | |||||
2014-06-17 | Added splash potion functionality | archshift | 1 | -2/+0 | |
2014-06-17 | Added classes for splash potions and wither skulls | archshift | 1 | -0/+4 | |
2014-05-31 | Used recommendations | STRWarrior | 1 | -2/+1 | |
2014-04-28 | Fixed projectile source filenames, indentations | archshift | 1 | -8/+8 | |
2014-04-27 | Fixed ToLua errors, added newlines | archshift | 1 | -1/+1 | |
2014-04-27 | Moved cFireworkEntity out of ProjectileEntity.h | archshift | 1 | -71/+1 | |
2014-04-27 | Moved cGhastFireballEntity out of ProjectileEntity.h | archshift | 1 | -43/+1 | |
2014-04-27 | Moved cFireChargeEntity out of ProjectileEntity.h | archshift | 1 | -54/+2 | |
2014-04-27 | Moved cThrownSnowballEntity out of ProjectileEntity.h | archshift | 1 | -47/+1 | |
2014-04-27 | Moved cExpBottleEntity out of ProjectileEntity.h | archshift | 1 | -26/+1 | |
2014-04-27 | Moved cThrownEnderPearl out of ProjectileEntity.h | archshift | 1 | -54/+1 | |
2014-04-27 | Moved cThrownEggEntity out of ProjectileEntity.h | archshift | 1 | -58/+1 | |
2014-04-27 | Moved cArrowEntity out of ProjectileEntity.h | archshift | 1 | -192/+3 | |
2014-04-25 | Creator not user. | archshift | 1 | -3/+3 | |
2014-04-25 | Rename spawn chicken method, Initialize m_HasTeleported. | archshift | 1 | -3/+4 | |
2014-04-25 | Chicken eggs and ender pearls can hit entities. | archshift | 1 | -6/+56 | |
Fixed warning by adding dedicated m_HasTeleported for fired arrows. | |||||
2014-04-12 | Entities handle chunks properly again | Tiger Wang | 1 | -1/+1 | |
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty | |||||
2014-04-05 | Removed debugging log from entity physics handling. | madmaxoft | 1 | -1/+2 | |
2014-03-30 | Using recommendations (I think) | STRWarrior | 1 | -1/+2 | |
2014-03-30 | Added a BlockHitPos parameter to OnProjectileHitBlock | STRWarrior | 1 | -2/+2 | |
2014-03-30 | Added a blockface parameter to the OnProjectileHitBlock hook. | STRWarrior | 1 | -1/+1 | |
2014-03-29 | Fixed the OnProjectileHitBlock hook not stopping projectiles. | STRWarrior | 1 | -1/+1 | |
2014-03-29 | Added HOOK_PROJECTILE_HIT_BLOCK. | STRWarrior | 1 | -0/+5 | |
2014-03-29 | Fixed error when the hook gets called. | STRWarrior | 1 | -1/+0 | |
2014-03-29 | Added HOOK_PROJECTILE_HIT_ENTITY | STRWarrior | 1 | -0/+6 | |
2014-03-11 | TakeDamage now has the cThrownSnowballEntity instead of the creator's object. | STRWarrior | 1 | -1/+1 | |
2014-03-11 | Snowballs now actualy hurt other entities. | STRWarrior | 1 | -2/+24 | |
3 damage for blazes and 1 for the ender dragon. Otherwise 0 | |||||
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -2/+2 | |
2014-02-27 | Implemented ballistic missiles (fireworks) | Tiger Wang | 1 | -40/+47 | |
+ Added fireworks | |||||
2014-02-16 | Replace random Float Generation and broadcast the Exp Pickup Sound | Howaner | 1 | -3/+1 | |
2014-02-16 | Add Exp Bottle Effects | Howaner | 1 | -0/+3 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -11/+11 | |
May Fix #640 | |||||
2014-01-29 | Removed debug message when a firework entity hit a solid block. | STRWarrior | 1 | -2/+0 | |
2014-01-29 | Bottle o' Enchanting spawns an experience orb. | STRWarrior | 1 | -1/+2 | |
2014-01-17 | Removed internal cEntity::GetRot() usage. | madmaxoft | 1 | -3/+3 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -6/+6 | |
2013-12-20 | More reordering fixes. | madmaxoft | 1 | -2/+2 | |
2013-12-20 | Sorted a few constructors to remove warnings. | madmaxoft | 1 | -2/+2 | |
2013-12-06 | Tools make a sound when breaking, fixes #266 | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-16 | General fixes [SEE DESC] | Tiger Wang | 1 | -15/+105 | |
* Fixed faulty block face enumeration and functions + Added fireworks and exp bottle spawning * Fixed arrows again | |||||
2013-11-15 | Switchified If, ElseIf statement | Tiger Wang | 1 | -11/+16 | |
Also updated comments | |||||
2013-11-14 | Fixed arrow bugs | Tiger Wang | 1 | -24/+41 | |
* Fixed arrows hitting blocks wrong | |||||
2013-11-12 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -3/+104 | |
* 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-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -0/+3 | |
* Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata | |||||
2013-10-29 | Using tabs | tonibm19 | 1 | -2/+2 | |
2013-10-28 | fixed indentation | tonibm19 | 1 | -1/+1 | |
2013-10-28 | extra line | tonibm19 | 1 | -0/+1 | |
2013-10-28 | attempt at fixing indentation | tonibm19 | 1 | -3/+2 | |
2013-10-28 | Extra line | tonibm19 | 1 | -0/+1 | |
2013-10-28 | Fixed indentation | tonibm19 | 1 | -5/+2 | |
2013-10-28 | Added random chicken spawn when throwing an egg | tonibm19 | 1 | -2/+13 | |
2013-09-07 | Added a (disabled) block logging to projectile path-tracing. | madmaxoft | 1 | -0/+10 | |
2013-09-07 | Implemented ghast fireball and firecharge projectiles | madmaxoft | 1 | -7/+102 | |
2013-09-07 | Arrows have proper yaw and pitch when shot, and stop when they hit a block. | madmaxoft | 1 | -7/+30 | |
2013-09-03 | Implemented exact block hit position. | madmaxoft | 1 | -21/+26 | |
Arrows now stick out of blocks at the exact position where they hit. | |||||
2013-09-03 | Arrows deal damage based on their speed. | madmaxoft | 1 | -4/+10 | |
2013-09-02 | Projectiles slow down in water and lava. | madmaxoft | 1 | -3/+14 | |
2013-09-02 | Projectiles don't collide with their creators. | madmaxoft | 1 | -2/+6 | |
2013-09-01 | Arrows deal damage. | madmaxoft | 1 | -4/+123 | |
Still needs some tweaks, they hit the shooter most of the time. | |||||
2013-08-30 | Thrown ender pearls now teleport and hurt. | madmaxoft | 1 | -1/+7 | |
2013-08-30 | Basic support for thrown items - eggs, snowballs and ender pearls. | madmaxoft | 1 | -3/+88 | |
They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA. | |||||
2013-08-30 | Moved throw pos and speed calculation from cProjectileEntity into cPlayer. | madmaxoft | 1 | -31/+1 | |
2013-08-30 | Shooting a bow kinda works. | madmaxoft | 1 | -0/+41 | |
The arrow is released, but sometimes hits wrong blocks or disappears completely. | |||||
2013-08-27 | Implemented basic physics for projectiles. | madmaxoft | 1 | -18/+129 | |
2013-08-26 | Debug logging for arrows improved | madmaxoft | 1 | -1/+8 | |
2013-08-26 | Debug: arrow log their position in each tick | madmaxoft | 1 | -0/+12 | |
2013-08-25 | Added a few API accessors to cArrowEntity. | madmaxoft | 1 | -0/+17 | |
2013-08-22 | Added a few basic fields to cProjectileEntity and cArrowEntity. | madmaxoft | 1 | -1/+29 | |
2013-08-22 | Arrows can spawn on the client. | madmaxoft | 1 | -1/+2 | |
2013-08-22 | Added skeleton code for projectile spawning. | madmaxoft | 1 | -0/+79 | |