summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mobs: Fixed crash with terrain too high.Mattes D2014-11-151-3/+5
|
* 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
|
* 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
| * | Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner2014-09-021-3/+3
| | |
| * | Added SetWalkSpeed() to cMonster.Howaner2014-08-301-0/+5
| |/
* / Added first test to show the object can be createdTycho2014-09-171-45/+9
|/
* 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