Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tweak attack ranges | mathiascode | 2020-04-02 | 1 | -5/+5 |
| | |||||
* | Add ambient mob sounds (#4521) | Mat | 2020-03-22 | 1 | -1/+4 |
| | |||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Add BurnsInDaylight to Lua API and Monsters.ini (#4295) | Muhammad Kaisar Arkhan | 2018-09-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | * Monster.h: Export SetBurnsInDaylight This commit also adds BurnsInDaylight to check if the Monster burns in daylight or not. Closes https://github.com/cuberite/cuberite/issues/4294 * MonsterConfig.cpp: Add BurnsInDaylight Closes https://github.com/cuberite/cuberite/issues/4294 | ||||
* | New movement system for leashed entities (#4147) | peterbell10 | 2018-01-17 | 1 | -1/+1 |
| | | | | | | | * 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 | ||||
* | Use ref instead of pointer | Lukas Pioch | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Removed outdated pathfinder comment (#3955) | Safwat Halaby | 2017-08-23 | 1 | -2/+1 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -0/+48 |
| | |||||
* | Merge pull request #3489 from cuberite/EntityOwnership | Tiger Wang | 2017-08-18 | 1 | -4/+10 |
|\ | | | | | * Changed entity ownership model to use smart pointers | ||||
| * | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -4/+10 |
| | | |||||
* | | Replaced includes with forward declarations | Lukas Pioch | 2017-08-13 | 1 | -1/+1 |
|/ | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -2/+0 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Removed unused forward declarations (#3888) | Lukas Pioch | 2017-08-03 | 1 | -1/+1 |
| | |||||
* | Fixed tracer usage in Entity physics handling. (#3720) | Mattes D | 2017-05-28 | 1 | -3/+3 |
| | |||||
* | Spawn eggs works again | Lukas Pioch | 2017-05-22 | 1 | -0/+3 |
| | |||||
* | Clang 5.0 fixes | Lukas Pioch | 2017-05-21 | 1 | -1/+1 |
| | | | | | - Added override keyword - Removed inherited member variables | ||||
* | Don't destroy monster when last target type is a player (#3721) | Pablo Beltrán | 2017-05-21 | 1 | -0/+5 |
| | | | 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) | bibo38 | 2016-10-12 | 1 | -1/+1 |
| | |||||
* | APIDump: Reformatted the docs to include type information. | Mattes D | 2016-09-12 | 1 | -1/+1 |
| | | | | Also fixed a bit of documentation in the CPP source. | ||||
* | cMonster::m_Target safety across worlds | LogicParrot | 2016-02-03 | 1 | -3/+18 |
| | |||||
* | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | Fix mob attack interval | LogicParrot | 2016-01-12 | 1 | -1/+2 |
| | |||||
* | Tamed wolf assists owner (attack / defence) | LogicParrot | 2016-01-12 | 1 | -1/+1 |
| | |||||
* | PF - "Special blocks" handling | Safwat Halaby | 2015-12-24 | 1 | -4/+4 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -2/+2 |
| | |||||
* | Decoupled cMonster and path recalc logic, re-implemented recalc | Safwat Halaby | 2015-12-13 | 1 | -51/+7 |
| | |||||
* | implement breeding | Gargaj | 2015-11-29 | 1 | -0/+1 |
| | |||||
* | changed mob age from char to int | Julian Laubstein | 2015-11-16 | 1 | -3/+3 |
| | |||||
* | Partial revert of #2446 | Safwat Halaby | 2015-09-28 | 1 | -2/+13 |
| | |||||
* | Fixed a position bug in the pathfinder | Tiger Wang | 2015-08-22 | 1 | -11/+3 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -7/+7 |
| | |||||
* | Spawn baby mobs | hallucino | 2015-07-16 | 1 | -0/+2 |
| | |||||
* | Support ageable mobs | Hallucino | 2015-07-14 | 1 | -1/+7 |
| | | | | Move ageable stuff in Monster directly | ||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-29 | 1 | -3/+6 |
|\ | | | | | | | | | Conflicts: src/Entities/ArrowEntity.cpp | ||||
| * | AI - Sane Skeleton | SafwatHalaby | 2015-05-28 | 1 | -3/+6 |
| | | |||||
* | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -3/+3 |
|/ | | | | Ad fix a load of warnings | ||||
* | Pathfinder - approximated paths when original destination unreachable | SafwatHalaby | 2015-05-17 | 1 | -0/+7 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | | | | Spaces around some operators are checked. | ||||
* | (duplicate) AI - Livestock escape fixed, water jumping fixed | wiseoldman95 | 2015-05-06 | 1 | -0/+10 |
| | |||||
* | AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bug | wiseoldman95 | 2015-05-05 | 1 | -6/+10 |
| | |||||
* | Entity improvements | Tiger Wang | 2015-05-04 | 1 | -32/+28 |
| | | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | ||||
* | AI - Improved Mob Jumping | wiseoldman95 | 2015-05-03 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1925 from SafwatHalaby/PathFinder_Optimze | Tiger Wang | 2015-05-02 | 1 | -1/+1 |
|\ | | | | | Pathfinder optimization | ||||
| * | PathFinding - Chunk querying optimization and improve cPath::IsSolid | wiseoldman95 | 2015-05-02 | 1 | -1/+1 |
| | | |||||
* | | AI - Better daylight handling | wiseoldman95 | 2015-05-02 | 1 | -2/+2 |
|/ | |||||
* | A* Pathfinding and better monster AI | wiseoldman95 | 2015-05-01 | 1 | -8/+12 |
| | |||||
* | Converted Monster to std::chrono | Tycho | 2015-01-16 | 1 | -5/+5 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -1/+1 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | Added Entity Guardian | Masy98 | 2014-12-18 | 1 | -1/+1 |
| | |||||
* | MobSpawner fixes. | Howaner | 2014-12-01 | 1 | -1/+1 |
| | |||||
* | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 2014-11-29 | 1 | -4/+7 |
| | |||||
* | Merge branch 'master' into MobSpawner | Howaner | 2014-11-29 | 1 | -3/+5 |
|\ | |||||
| * | Mobs: Fixed crash with terrain too high. | Mattes D | 2014-11-15 | 1 | -3/+5 |
| | | |||||
* | | Merge branch 'master' into MobSpawner | Howaner | 2014-11-18 | 1 | -35/+28 |
|\| | | | | | | | | | Conflicts: MCServer/Plugins/Core | ||||
| * | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -32/+28 |
| | | |||||
| * | Removed obsolete cMonster::eType. | madmaxoft | 2014-10-05 | 1 | -3/+0 |
| | | | | | | | | Has been replaced with global eMonsterType. | ||||
| * | Fixed minor style issues. | madmaxoft | 2014-09-27 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into MobSpawner | Howaner | 2014-09-26 | 1 | -43/+33 |
|\| | | | | | | | | | | | Conflicts: src/MobSpawner.h src/Mobs/Monster.h | ||||
| * | Fixed style | Tycho | 2014-09-25 | 1 | -0/+3 |
| | | |||||
| * | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 1 | -2/+25 |
| |\ | | | | | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| | * | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -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. | Howaner | 2014-09-02 | 1 | -2/+2 |
| | | | | |||||
| | * | | Added SetCustomName() to players. | Howaner | 2014-09-02 | 1 | -1/+2 |
| | | | | |||||
| | * | | Added name tag | Howaner | 2014-09-01 | 1 | -0/+2 |
| | | | | |||||
| | * | | Added CustomName to cMonster. | Howaner | 2014-09-01 | 1 | -1/+19 |
| | | | | |||||
| * | | | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -0/+5 |
| |\ \ \ | | | |/ | | |/| | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| * | | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -45/+9 |
| | |/ | |/| | |||||
* | | | Implemented mob spawner. | Howaner | 2014-09-19 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 2014-09-02 | 1 | -3/+3 |
| | | |||||
* | | Added SetWalkSpeed() to cMonster. | Howaner | 2014-08-30 | 1 | -0/+5 |
|/ | |||||
* | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -1/+1 |
| | |||||
* | Monsters: Made IsUndead overridable by the respective mob classes | archshift | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | Monster fixes | Tiger Wang | 2014-07-18 | 1 | -1/+0 |
| | | | | | * Fixes #1203 * Fixes #627 | ||||
* | Fixed spaces before commas. | madmaxoft | 2014-07-18 | 1 | -3/+3 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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 potions | madmaxoft | 2014-07-17 | 1 | -1/+1 |
|\ | |||||
| * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -1/+1 |
| | | |||||
* | | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -2/+0 |
| | | | | | | | | Changed effect map to take a pointer of the effect as a result. | ||||
* | | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua | ||||
* | | Monster: added IsUndead(), undead-specific entity effects | archshift | 2014-06-17 | 1 | -0/+6 |
|/ | |||||
* | Merge pull request #940 from Howaner/GlobalFixes | Mattes D | 2014-04-28 | 1 | -1/+1 |
|\ | | | | | Add entity invulnerable | ||||
| * | Add entity invulnerable | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | |||||
* | | Fixed mobs that don't naturally spawn. | archshift | 2014-04-26 | 1 | -0/+1 |
| | | |||||
* | | Giants! | archshift | 2014-04-25 | 1 | -1/+1 |
|/ | | | | Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning. | ||||
* | Added new AI rules | Tiger Wang | 2014-04-17 | 1 | -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 comments | TheJumper | 2014-02-24 | 1 | -2/+2 |
| | |||||
* | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 2014-02-23 | 1 | -0/+35 |
| | |||||
* | Fixed #627 | Tiger Wang | 2014-02-11 | 1 | -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 API | tonibm19 | 2014-02-03 | 1 | -0/+1 |
| | |||||
* | Implemented fall damage for mobs | Tiger Wang | 2014-01-25 | 1 | -2/+6 |
| | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | ||||
* | Mob bugfixes | Tiger Wang | 2014-01-25 | 1 | -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 improvements | Tiger Wang | 2014-01-24 | 1 | -13/+9 |
| | |||||
* | Large reworking of mob code [SEE DESC] | Tiger Wang | 2014-01-24 | 1 | -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. | madmaxoft | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+195 |