summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'Entities'madmaxoft2014-07-181-2/+2
|\
| * Fixed slime-related comments.madmaxoft2014-07-181-2/+2
| |
| * Slime sizes are 1, 2 or 4 and not 1, 2 or 3.Howaner2014-07-181-1/+1
| |
* | Monster fixesTiger Wang2014-07-181-26/+1
| | | | | | | | | | * Fixes #1203 * Fixes #627
* | Fixed tabs used for alignment.madmaxoft2014-07-171-1/+1
| |
* | Basic style fixes.madmaxoft2014-07-171-3/+3
| |
* | Normalized comments.madmaxoft2014-07-171-12/+12
|/ | | | | 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-3/+3
|\
| * Merge pull request #1193 from mc-server/deathmessagesMattes D2014-07-171-3/+3
| |\ | | | | | | Death messages
| | * Tailored death messagesTiger Wang2014-07-041-3/+3
| | |
* | | Merge branch 'master' into potionsmadmaxoft2014-07-151-3/+3
|\| |
| * | Merge branch 'master' into SoundsHowaner2014-07-131-1/+1
| |\ \
| | * \ Merge branch 'master' into SheepHowaner2014-07-131-1/+1
| | |\ \
| | * | | Fix sheep color's, add shear sound.Howaner2014-06-281-1/+1
| | | |/ | | |/|
| * | | Changed BroadcastSoundEffect function to take floating pos.Howaner2014-07-131-2/+2
| | |/ | |/|
* | | Merge remote-tracking branch 'origin/master' into potionsarchshift2014-07-101-1/+1
|\| | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp
| * | Fixed slime handling in cMonster::StringToMobType().madmaxoft2014-07-061-1/+1
| |/
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift2014-06-191-45/+0
| | | | | | | | Changed effect map to take a pointer of the effect as a result.
* | Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift2014-06-171-1/+1
| |
* | Fixed MSVC compilation.madmaxoft2014-06-171-3/+3
| |
* | Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift2014-06-171-2/+2
| | | | | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua
* | Monster: added IsUndead(), undead-specific entity effectsarchshift2014-06-171-0/+65
|/
* Small tweak for mobsSTRWarrior2014-06-021-4/+14
| | | | Mobs move a bit smoother and aren't able to move allot when in air.
* Merge pull request #998 from mc-server/StatManagerMattes D2014-05-181-1/+3
|\ | | | | Statistic Manager
| * Fixesandrew2014-05-131-1/+1
| |
| * Movement Statisticsandrew2014-05-121-1/+3
| |
* | Fixed a few more switch warnings.archshift2014-05-121-0/+2
|/
* Fixed MagmaCube spawning.madmaxoft2014-05-021-0/+4
| | | | Fixes #928.
* Merge pull request #940 from Howaner/GlobalFixesMattes D2014-04-281-2/+6
|\ | | | | Add entity invulnerable
| * Add entity invulnerableHowaner2014-04-261-2/+6
| |
* | Fixed mobs that don't naturally spawn.archshift2014-04-261-2/+5
| |
* | Giants!archshift2014-04-251-6/+11
|/ | | | Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning.
* Fixed class capitalization for the cave spider.archshift2014-04-241-1/+1
|
* Compilation fixTiger Wang2014-04-181-1/+1
|
* Fixed #906Tiger Wang2014-04-181-1/+2
|
* Fixed #904Tiger Wang2014-04-181-1/+1
|
* Added new AI rulesTiger Wang2014-04-171-12/+26
| | | | | | | + 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 GitHuB WebEdit fail.Alexander Harkness2014-04-101-0/+1
|
* Update Monster.cppAlexander Harkness2014-04-101-2/+4
|
* Final realisation of suggestionsTiger Wang2014-03-311-5/+7
|
* Fixed a few Y too high/low assertsTiger Wang2014-03-311-5/+5
|
* Wither invulnerabilityandrew2014-03-241-0/+1
|
* Fixed double to float conversions.madmaxoft2014-03-161-5/+5
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-5/+5
|
* Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper2014-02-241-1/+1
|
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-0/+76
|
* Improved formattingtonibm192014-02-171-2/+2
|
* Now mobs can't escape from fences.tonibm192014-02-161-2/+2
|
* Fixed #627Tiger Wang2014-02-111-14/+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)
* Merge remote-tracking branch 'origin/master' into playerimprovementsTiger Wang2014-02-091-4/+4
|\ | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp
| * Merge pull request #646 from worktycho/warningfixesAlexander Harkness2014-02-051-4/+4
| |\ | | | | | | Fixed most of the reordering warnings
| | * Fixed most of the reordering warningsTycho2014-02-051-4/+4
| | |
* | | Merge branch 'master' into playerimprovementsTiger Wang2014-02-091-0/+12
|\| | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| * | Blank lines and indentation.tonibm192014-02-041-0/+4
| | | | | | | | | | | | Also removed GetClosestPlayer documentation
| * | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm192014-02-031-0/+8
| |/
* / Fixed a bunch of MSVS warningsTiger Wang2014-02-051-1/+1
|/ | | | | * Possibly also fixed some bugs with pathfinding and TNT, though unlikely
* Monster's nominal speed was increased.Kirill Kirilenko2014-02-011-1/+1
|
* Implemented fall damage for mobsTiger Wang2014-01-251-4/+27
| | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
* Mob bugfixesTiger Wang2014-01-251-20/+29
| | | | | | | | | | * 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
* Fixed a generator bugTiger Wang2014-01-251-0/+3
|
* Miscellaneous improvementsTiger Wang2014-01-241-5/+4
|
* Monsters no longer check for direct line of sightTiger Wang2014-01-241-10/+2
|
* Large reworking of mob code [SEE DESC]Tiger Wang2014-01-241-162/+238
| | | | | | | + Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
* Removed obsoleted functionsTiger Wang2014-01-161-1/+1
|
* Merge branch 'fixes&features' of git://github.com/tonibm19/MCServermadmaxoft2013-12-251-0/+6
|\
| * Some fixes (SEE DESC)tonibm192013-12-231-0/+6
| | | | | | | | -Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn
* | Preliminary mobile entity savingTiger Wang2013-12-251-1/+2
|/ | | | | | | * Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
* EnderDragons and SnowGolems are able to spawn.STRWarrior2013-12-221-0/+2
|
* Sorted a few constructors to remove warnings.madmaxoft2013-12-201-7/+7
|
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-1/+1
|
* Fixed not getting XP from mobs.STRWarrior2013-12-141-0/+6
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-0/+55
| | | | | Conflicts: VC2008/MCServer.vcproj
* Moved source to srcAlexander Harkness2013-11-241-0/+758