summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Wolves and mooshrooms are passive mobsMat2020-04-091-2/+2
|
* Implement wither skeletons (#4563)Mat2020-04-041-93/+93
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-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
* Decrease attack cooldown for monsters (#4542)Mat2020-03-261-1/+1
| | | | | | | * Decrease attack cooldown for monsters * Nerf some mobs * Decimal points
* Improvements to blaze and ghast (#4547)Mat2020-03-261-1/+1
|
* Add ambient mob sounds (#4521)Mat2020-03-221-1/+18
|
* Stabilise MoveToWorld (#4004)Mat2020-03-051-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Experience orb (#4259)changyong guo2018-08-021-7/+5
| | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-1/+1
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* New movement system for leashed entities (#4147)peterbell102018-01-171-34/+46
| | | | | | | * New movement system for leashed entities Entities are accelerated towards the leashed to entity as if by a spring. * Mobs now pathfind close to but not directly to the leashing entity. * Also minor comment changes
* Don't burn mobs in daylight when swimming (#4145)Bond-0092018-01-151-1/+2
|
* Rename cEntity swim states (#3996)Alexander Harkness2018-01-141-2/+2
| | | | | | | | | | * Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-2/+2
| | | | | | | | | | | | | | | | | | * Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
* Fix switch warnings (#4013)peterbell102017-09-141-6/+10
| | | | | | | | | | | | | | | * Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
* Remove double-checking below world for burningAlexander Harkness2017-09-011-5/+0
|
* Fix mobs not burning in daylight when on snow (#3961)Alexander Harkness2017-08-251-3/+3
| | | | | | | | | | * Fix mobs not burning in daylight when on snow or other non-transparent partial blocks. Fixes #3945 * Change from floor to ceil
* Use ref instead of pointerLukas Pioch2017-08-241-6/+6
|
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-1/+172
|
* Changed type of FastRandom in monster drop calculation. (#3920)Lane Kolbly2017-08-181-1/+8
| | | | | | | | * Fixed type of FastRandom in monster drop calculation. * Distribute dropped items into stacks. * Moved while loop outside if statement.
* Changed entity ownership model to use smart pointersTiger Wang2017-08-071-40/+34
|
* FastRandom rewrite (#3754)peterbell102017-06-131-31/+31
|
* Fixed tracer usage in Entity physics handling. (#3720)Mattes D2017-05-281-7/+8
|
* Spawn eggs works againLukas Pioch2017-05-221-31/+60
|
* Don't destroy monster when last target type is a player (#3721)Pablo Beltrán2017-05-211-0/+2
| | | In current Cuberite version if you are pursued by monsters you just have to disconnect and connect again to get rid of them. If no other player is in your chunk monsters will get destroyed.
* Spectators added (#2852)bibo382016-10-121-5/+10
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* Fixed implicit rounding warnings.Mattes D2016-08-191-1/+1
|
* Fix issues below y = 0LogicParrot2016-04-181-3/+7
|
* Manual mob burn codeLogicParrot2016-04-061-7/+34
|
* Proper entity destruction in non-ticking chunksLogicParrot2016-02-191-3/+3
|
* cMonster::m_Target safety across worldsLogicParrot2016-02-031-27/+94
|
* Spiders now friendly at daylight, new cChunk functionsLogicParrot2016-01-211-3/+3
|
* Fix mob attack intervalLogicParrot2016-01-121-1/+15
|
* Fixed the monster burn code.Mattes D2015-12-301-3/+15
| | | | The old code failed when the monster was out of Y range.
* PF - "Special blocks" handlingSafwat Halaby2015-12-241-14/+28
|
* blockheight mechanismGargaj2015-12-131-16/+2
|
* Remove stray "return"Safwat Halaby2015-12-131-1/+0
|
* Fixed mobs attacking Creative Mode playersSafwat Halaby2015-12-131-2/+14
|
* Decoupled cMonster and path recalc logic, re-implemented recalcSafwat Halaby2015-12-131-272/+82
|
* implement breedingGargaj2015-11-291-0/+11
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-1/+2
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Fixed failed assertationbibo382015-11-031-20/+23
| | | | | This was caused by a monster with a negative Y-axis. Fixes #2336
* StyleCheck: Check spaces around ==, <=, >=Mattes D2015-10-081-3/+3
|
* Partial revert of #2446Safwat Halaby2015-09-281-5/+40
|
* Namechange to CuberiteMattes D2015-09-251-1/+1
|
* Fixed a position bug in the pathfinderTiger Wang2015-08-221-44/+14
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-13/+13
|
* Support ageable mobsHallucino2015-07-141-0/+1
| | | | Move ageable stuff in Monster directly
* Now Horses spawn with correct data values.bibo382015-06-261-3/+3
| | | | | | | The max-value of style is 4, of color is 6. See http://wiki.vg/Entities#Horse Also based on the if, the max value of HorseType is 7. Bugfix #2259
* Merge branch 'master' into PreventNewWarningstycho2015-05-291-2/+9
|\ | | | | | | | | Conflicts: src/Entities/ArrowEntity.cpp
| * AI - Sane SkeletonSafwatHalaby2015-05-281-2/+9
| |
* | Merge branch 'master' into PreventNewWarningstycho2015-05-281-2/+11
|\| | | | | | | | | Conflicts: src/Inventory.cpp
| * AI - Saner LivestockSafwatHalaby2015-05-271-2/+11
| |
* | Merge branch 'master' into PreventNewWarningstycho2015-05-241-3/+3
|\|
| * Pathfinder - Bounding boxes and some tweaksSafwatHalaby2015-05-231-3/+3
| |
* | Merge branch 'master' into PreventNewWarningstycho2015-05-231-2/+3
|\|
| * Path recalculation improvementsSafwatHalaby2015-05-201-2/+3
| |
* | Make -Werror disabling file onlytycho2015-05-191-4/+4
|/ | | | Ad fix a load of warnings
* Manual merge of #2066Alexander Harkness2015-05-191-1/+1
|
* Pathfinder - approximated paths when original destination unreachableSafwatHalaby2015-05-171-27/+94
|
* Merge remote-tracking branch 'origin/master' into warningsTiger Wang2015-05-101-3/+5
|\ | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h
| * Merge pull request #1956 from Tri125/masterMattes D2015-05-091-1/+1
| |\ | | | | | | Fixed Magma cube sound and spawn size
| | * Big Magma Cube can now spawnTri1252015-05-071-1/+1
| | | | | | | | | | | | Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4.
| * | Move chunk position accesses after the chunk validity checksworktycho2015-05-091-2/+4
| | |
* | | Fixed some warnings and logic errors in Monster.cppTiger Wang2015-05-101-5/+7
| | |
* | | Fixed some Visual Studio warningsTiger Wang2015-05-091-5/+5
|/ /
* | AI - Safer WouldBurnAt()wiseoldman952015-05-061-3/+8
| |
* | AI - Better shade coverwiseoldman952015-05-061-1/+9
| |
* | (duplicate) AI - Livestock escape fixed, water jumping fixedwiseoldman952015-05-061-9/+69
|/
* PF - Fixed mobs not reaching leaning playerwiseoldman952015-05-061-2/+3
|
* AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bugwiseoldman952015-05-051-20/+37
|
* Entity improvementsTiger Wang2015-05-041-169/+110
| | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes
* Merge pull request #1930 from SafwatHalaby/AI_JumpTiger Wang2015-05-031-5/+15
|\ | | | | AI - Improved Mob Jumping
| * AI - Improved Mob Jumpingwiseoldman952015-05-031-5/+15
| |
* | PathFinder - Crash fix, chunks in parameters are now referenceswiseoldman952015-05-031-2/+2
|/
* Merge pull request #1925 from SafwatHalaby/PathFinder_OptimzeTiger Wang2015-05-021-4/+4
|\ | | | | Pathfinder optimization
| * PathFinding - Chunk querying optimization and improve cPath::IsSolidwiseoldman952015-05-021-4/+4
| |
* | AI - Better daylight handlingwiseoldman952015-05-021-9/+15
|/
* A* Pathfinding and better monster AIwiseoldman952015-05-011-126/+142
|
* Added MobTypeName for Giantmathias-gh2015-04-171-0/+1
|
* Correct world height validations.Tommy Santerre2015-03-201-1/+1
| | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
* Converted Monster to std::chronoTycho2015-01-161-11/+11
|
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-7/+5
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* Fixed basic style.Mattes D2014-12-251-1/+1
|
* Added RabbitsMasy982014-12-201-0/+4
|
* Guardian can now spawn if wanted!?Masy982014-12-181-1/+1
|
* Added Entity GuardianMasy982014-12-181-0/+4
|
* Merge remote-tracking branch 'origin/master' into c++11Tiger Wang2014-12-061-5/+22
|\ | | | | | | | | Conflicts: src/OSSupport/Thread.cpp
| * BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-5/+22
| |
* | Merged branch 'origin/master' into c++11.Mattes D2014-12-041-62/+62
|\|
| * MobSpawner fixes.Howaner2014-12-011-0/+1
| |
| * Merge branch 'master' into MobSpawnerHowaner2014-12-011-10/+0
| |\ | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua
| | * Removed old StringToMobType() function from Monster.cppHowaner2014-11-301-10/+0
| | |
| * | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes.Howaner2014-11-291-52/+61
| |/
| * Mobs: Fixed crash with terrain too high.Mattes D2014-11-151-2/+2
| |
| * En masse NULL -> nullptr replaceTiger Wang2014-10-231-14/+14
| |
* | Merge remote-tracking branch 'origin-master' into c++11Tiger Wang2014-11-261-2/+2
| |
* | En masse NULL -> nullptr replaceTiger Wang2014-10-201-14/+14
| |
* | Migrated random generators to std::randomTiger Wang2014-10-191-1/+0
|/
* Fixed a missed value.madmaxoft2014-10-051-1/+1
|
* Fixed eMonsterType Lua API mismatch.madmaxoft2014-10-051-0/+10
|
* Merge branch 'master' into redstoneTestsTycho2014-09-251-0/+54
|\ | | | | | | | | Conflicts: src/Mobs/Monster.h
| * Merge branch 'master' into EntityCustomNameHowaner2014-09-231-1/+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 CustomName saving.Howaner2014-09-021-2/+8
| | |
| * | Added name tagHowaner2014-09-011-0/+19
| | |
| * | Added CustomName to cMonster.Howaner2014-09-011-0/+29
| | |
* | | Merge branch 'master' into redstoneTestsTycho2014-09-171-1/+5
|\ \ \ | | |/ | |/| | | | | | | Conflicts: src/Blocks/ChunkInterface.h
| * | Improved cBlockHandler::DropBlockTiger Wang2014-09-131-1/+1
| | |
| * | Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner2014-09-021-2/+2
| | |
| * | Added SetWalkSpeed() to cMonster.Howaner2014-08-301-0/+4
| |/
* / Added first test to show the object can be createdTycho2014-09-171-58/+58
|/
* Fixed mob burning.reiter2014-08-281-1/+1
| | | Fixes #1298
* Merge branch 'master' into MonsterHowaner2014-08-041-2/+1
|\
| * Refactored case-conversion functions.madmaxoft2014-08-041-2/+1
| | | | | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
* | Changed /** to /*Howaner2014-08-041-3/+5
| |
* | Fixed warningsHowaner2014-08-041-3/+3
| |
* | Attempt to fix knockback and swimming.Howaner2014-08-041-3/+9
|/
* Improved endermen code a littleTiger Wang2014-08-011-1/+3
|
* Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-07-221-19/+5
|\ | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp
| * Style: Normalized spaces after if, for and while.madmaxoft2014-07-211-1/+1
| |
| * Monsters: Made IsUndead overridable by the respective mob classesarchshift2014-07-191-10/+0
| |
| * Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
| |
| * Fixed clamping issuesarchshift2014-07-191-5/+1
| |
| * 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
| | |
* | | Merge branch 'master' into portalsTiger Wang2014-07-181-48/+43
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp
| * | 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
| |/
* | More suggestionsTiger Wang2014-06-211-1/+1
| |
* | Fixed decision failureTiger Wang2014-06-051-1/+1
| |
* | Added checks for no downfall biomesTiger Wang2014-06-041-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into portalsTiger Wang2014-06-041-4/+14
|\|
| * Small tweak for mobsSTRWarrior2014-06-021-4/+14
| | | | | | | | Mobs move a bit smoother and aren't able to move allot when in air.
* | Very minor code changesTiger Wang2014-05-291-1/+1
|/
* 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