summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make -Werror disabling file onlytycho2015-05-191-3/+3
| | | | Ad fix a load of warnings
* Pathfinder - approximated paths when original destination unreachableSafwatHalaby2015-05-171-0/+7
|
* More style checking.Mattes D2015-05-091-1/+1
| | | | Spaces around some operators are checked.
* (duplicate) AI - Livestock escape fixed, water jumping fixedwiseoldman952015-05-061-0/+10
|
* AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bugwiseoldman952015-05-051-6/+10
|
* Entity improvementsTiger Wang2015-05-041-32/+28
| | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes
* AI - Improved Mob Jumpingwiseoldman952015-05-031-0/+1
|
* Merge pull request #1925 from SafwatHalaby/PathFinder_OptimzeTiger Wang2015-05-021-1/+1
|\ | | | | Pathfinder optimization
| * PathFinding - Chunk querying optimization and improve cPath::IsSolidwiseoldman952015-05-021-1/+1
| |
* | AI - Better daylight handlingwiseoldman952015-05-021-2/+2
|/
* A* Pathfinding and better monster AIwiseoldman952015-05-011-8/+12
|
* Converted Monster to std::chronoTycho2015-01-161-5/+5
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Added Entity GuardianMasy982014-12-181-1/+1
|
* MobSpawner fixes.Howaner2014-12-011-1/+1
|
* Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner2014-11-291-4/+7
|
* Merge branch 'master' into MobSpawnerHowaner2014-11-291-3/+5
|\
| * Mobs: Fixed crash with terrain too high.Mattes D2014-11-151-3/+5
| |
* | Merge branch 'master' into MobSpawnerHowaner2014-11-181-35/+28
|\| | | | | | | | | Conflicts: MCServer/Plugins/Core
| * convert old style casts to fix warningsSteven Riehl2014-10-121-32/+28
| |
| * Removed obsolete cMonster::eType.madmaxoft2014-10-051-3/+0
| | | | | | | | Has been replaced with global eMonsterType.
| * Fixed minor style issues.madmaxoft2014-09-271-1/+1
| |
* | Merge branch 'master' into MobSpawnerHowaner2014-09-261-43/+33
|\| | | | | | | | | | | Conflicts: src/MobSpawner.h src/Mobs/Monster.h
| * Fixed styleTycho2014-09-251-0/+3
| |
| * Merge branch 'master' into redstoneTestsTycho2014-09-251-2/+25
| |\ | | | | | | | | | | | | Conflicts: src/Mobs/Monster.h
| | * Merge branch 'master' into EntityCustomNameHowaner2014-09-231-0/+5
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/ClientHandle.h src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/World.cpp src/World.h
| | * | Added the new functions to APIDump.Howaner2014-09-021-2/+2
| | | |
| | * | Added SetCustomName() to players.Howaner2014-09-021-1/+2
| | | |
| | * | Added name tagHowaner2014-09-011-0/+2
| | | |
| | * | Added CustomName to cMonster.Howaner2014-09-011-1/+19
| | | |
| * | | Merge branch 'master' into redstoneTestsTycho2014-09-171-0/+5
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h
| * | | Added first test to show the object can be createdTycho2014-09-171-45/+9
| | |/ | |/|
* | | Implemented mob spawner.Howaner2014-09-191-1/+1
| |/ |/|
* | Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner2014-09-021-3/+3
| |
* | Added SetWalkSpeed() to cMonster.Howaner2014-08-301-0/+5
|/
* Removed redundant semicolons and re-added warningarchshift2014-07-241-1/+1
|
* Monsters: Made IsUndead overridable by the respective mob classesarchshift2014-07-191-1/+1
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
|
* Monster fixesTiger Wang2014-07-181-1/+0
| | | | | * Fixes #1203 * Fixes #627
* Fixed spaces before commas.madmaxoft2014-07-181-3/+3
|
* Basic style fixes.madmaxoft2014-07-171-4/+4
|
* Normalized comments.madmaxoft2014-07-171-7/+7
| | | | | 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-171-1/+1
|\
| * Tailored death messagesTiger Wang2014-07-041-1/+1
| |
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-2/+0
| | | | | | | | Changed effect map to take a pointer of the effect as a result.
* | Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift2014-06-171-1/+1
| | | | | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua
* | Monster: added IsUndead(), undead-specific entity effectsarchshift2014-06-171-0/+6
|/
* Merge pull request #940 from Howaner/GlobalFixesMattes D2014-04-281-1/+1
|\ | | | | Add entity invulnerable
| * Add entity invulnerableHowaner2014-04-261-1/+1
| |
* | Fixed mobs that don't naturally spawn.archshift2014-04-261-0/+1
| |
* | Giants!archshift2014-04-251-1/+1
|/ | | | Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning.
* Added new AI rulesTiger Wang2014-04-171-2/+2
| | | | | | | + Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
* Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper2014-02-241-2/+2
|
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-0/+35
|
* Fixed #627Tiger Wang2014-02-111-2/+0
| | | | | | | - Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P)
* Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm192014-02-031-0/+1
|
* Implemented fall damage for mobsTiger Wang2014-01-251-2/+6
| | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
* Mob bugfixesTiger Wang2014-01-251-2/+10
| | | | | | | | | | * Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563
* Miscellaneous improvementsTiger Wang2014-01-241-13/+9
|
* Large reworking of mob code [SEE DESC]Tiger Wang2014-01-241-19/+49
| | | | | | | + Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
* Sorted a few constructors to remove warnings.madmaxoft2013-12-201-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+195