summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h (unfollow)
Commit message (Expand)AuthorFilesLines
2017-08-13Replaced includes with forward declarationsLukas Pioch1-1/+1
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-4/+10
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-2/+0
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-08-03Removed unused forward declarations (#3888)Lukas Pioch1-1/+1
2017-05-28Fixed tracer usage in Entity physics handling. (#3720)Mattes D1-3/+3
2017-05-22Spawn eggs works againLukas Pioch1-0/+3
2017-05-21Clang 5.0 fixesLukas Pioch1-1/+1
2017-05-21Don't destroy monster when last target type is a player (#3721)Pablo Beltrán1-0/+5
2016-10-12Spectators added (#2852)bibo381-1/+1
2016-09-12APIDump: Reformatted the docs to include type information.Mattes D1-1/+1
2016-02-03cMonster::m_Target safety across worldsLogicParrot1-3/+18
2016-01-21Spiders now friendly at daylight, new cChunk functionsLogicParrot1-2/+2
2016-01-12Fix mob attack intervalLogicParrot1-1/+2
2016-01-12Tamed wolf assists owner (attack / defence)LogicParrot1-1/+1
2015-12-24PF - "Special blocks" handlingSafwat Halaby1-4/+4
2015-12-13blockheight mechanismGargaj1-2/+2
2015-12-13Decoupled cMonster and path recalc logic, re-implemented recalcSafwat Halaby1-51/+7
2015-11-29implement breedingGargaj1-0/+1
2015-11-16changed mob age from char to intJulian Laubstein1-3/+3
2015-09-28Partial revert of #2446Safwat Halaby1-2/+13
2015-08-22Fixed a position bug in the pathfinderTiger Wang1-11/+3
2015-07-31Unified the doxy-comment format.Mattes D1-7/+7
2015-07-16Spawn baby mobshallucino1-0/+2
2015-07-14Support ageable mobsHallucino1-1/+7
2015-05-28AI - Sane SkeletonSafwatHalaby1-3/+6
2015-05-19Make -Werror disabling file onlytycho1-3/+3
2015-05-17Pathfinder - approximated paths when original destination unreachableSafwatHalaby1-0/+7
2015-05-09More style checking.Mattes D1-1/+1
2015-05-06(duplicate) AI - Livestock escape fixed, water jumping fixedwiseoldman951-0/+10
2015-05-05AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bugwiseoldman951-6/+10
2015-05-04Entity improvementsTiger Wang1-32/+28
2015-05-03AI - Improved Mob Jumpingwiseoldman951-0/+1
2015-05-02AI - Better daylight handlingwiseoldman951-2/+2
2015-05-02PathFinding - Chunk querying optimization and improve cPath::IsSolidwiseoldman951-1/+1
2015-05-01A* Pathfinding and better monster AIwiseoldman951-8/+12
2015-01-16Converted Monster to std::chronoTycho1-5/+5
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
2014-12-18Added Entity GuardianMasy981-1/+1
2014-12-01MobSpawner fixes.Howaner1-1/+1
2014-11-29Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner1-4/+7
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-3/+5
2014-11-15Mobs: Fixed crash with terrain too high.Mattes D1-3/+5
2014-10-12convert old style casts to fix warningsSteven Riehl1-32/+28
2014-10-05Removed obsolete cMonster::eType.madmaxoft1-3/+0
2014-09-27Fixed minor style issues.madmaxoft1-1/+1
2014-09-25Fixed styleTycho1-0/+3
2014-09-19Implemented mob spawner.Howaner1-1/+1
2014-09-17Added first test to show the object can be createdTycho1-45/+9
2014-09-02Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner1-3/+3
2014-09-02Added the new functions to APIDump.Howaner1-2/+2
2014-09-02Added SetCustomName() to players.Howaner1-1/+2
2014-09-01Added name tagHowaner1-0/+2
2014-09-01Added CustomName to cMonster.Howaner1-1/+19
2014-08-30Added SetWalkSpeed() to cMonster.Howaner1-0/+5
2014-07-24Removed redundant semicolons and re-added warningarchshift1-1/+1
2014-07-19Monsters: Made IsUndead overridable by the respective mob classesarchshift1-1/+1
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-18Monster fixesTiger Wang1-1/+0
2014-07-18Fixed spaces before commas.madmaxoft1-3/+3
2014-07-17Basic style fixes.madmaxoft1-4/+4
2014-07-17Normalized comments.madmaxoft1-7/+7
2014-07-04Tailored death messagesTiger Wang1-1/+1
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-2/+0
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift1-1/+1
2014-06-17Monster: added IsUndead(), undead-specific entity effectsarchshift1-0/+6
2014-04-26Fixed mobs that don't naturally spawn.archshift1-0/+1
2014-04-26Add entity invulnerableHowaner1-1/+1
2014-04-25Giants!archshift1-1/+1
2014-04-17Added new AI rulesTiger Wang1-2/+2
2014-02-24Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper1-2/+2
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+35
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+32
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-10/+13
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper1-0/+20
2014-02-22Changed formatting, encapsuled armor drop, introduced better static Enchantment IDsTheJumper1-1/+7
2014-02-22Monster.h: Added doxy-comments for drop methodsTheJumper1-0/+3
2014-02-21Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts DropsTheJumper1-0/+3
2014-02-11Fixed #627Tiger Wang1-2/+0
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm191-0/+1
2014-01-25Implemented fall damage for mobsTiger Wang1-2/+6
2014-01-25Mob bugfixesTiger Wang1-2/+10
2014-01-24Miscellaneous improvementsTiger Wang1-13/+9
2014-01-24Large reworking of mob code [SEE DESC]Tiger Wang1-19/+49
2013-12-20Sorted a few constructors to remove warnings.madmaxoft1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-5/+2
2013-10-25cMonster: Improved doxycomments.madmaxoft1-2/+2
2013-10-24Renamed cMonster::GetSpawnRate() to GetSpawnDelay().madmaxoft1-2/+2
2013-10-20Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster.madmaxoft1-0/+3
2013-10-20Moved all MobTypesManager functions to cMonster.madmaxoft1-2/+24
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-8/+8
2013-10-09Second round of fixesTiger Wang1-0/+6
2013-09-18Added moar mobs!Tiger Wang1-21/+23
2013-09-17Fixed undead burningTiger Wang1-1/+1
2013-09-16Exported cMonster:GetMobType() to the Lua API.madmaxoft1-1/+3
2013-09-10Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancymgueydan1-1/+2
2013-09-08Implementing the MobSpawner (not used yet) that contains spawning rulesmgueydan1-1/+4
2013-09-07Adding a getType in Monster that return an enum instead of an int or charmgueydan1-1/+2
2013-09-07Adding Family for monsters : Hostile/Passive/Water/Ambientmgueydan1-0/+10
2013-09-06Moved daylight burning directly into cMonster.madmaxoft1-0/+7
2013-09-05Moved daylight burning directly into cMonster.madmaxoft1-0/+7
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-16Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft1-1/+35
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-2/+2
2013-04-22Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs.keyboard.osh@gmail.com1-6/+0
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-8/+8
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-1/+0
2012-12-22MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)madmaxoft@gmail.com1-8/+8
2012-12-22Reduced most mobs' constructors to oneliners by passing parameters to superclassesmadmaxoft@gmail.com1-2/+10
2012-12-21Added sounds to levers and mobsluksor111@gmail.com1-0/+3
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-3/+2
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-10/+15
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+3
2012-09-23Source files cleanup: Mobs-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-6/+5
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-8/+9
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-2/+2
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-101/+101
2012-06-06Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool.madmaxoft@gmail.com1-3/+7
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-1/+10
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-2/+2
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-2/+3
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com1-6/+0
2011-12-26- improved ClosestPlayerDetection (Really the closest now ;))lapayo94@gmail.com1-1/+1
2011-12-26 - Linux compatible fixes including updated makefilemtilden@gmail.com1-0/+1
2011-12-25- Fixed Bug #99 -> Mobs no longer bother you in creative modelapayo94@gmail.com1-0/+3
2011-12-21- Crafting fixed in 1.0.0lapayo94@gmail.com1-0/+4
2011-10-03MCServer c++ source filesfaketruth1-0/+85