Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly deprecate more XYZ parameter'd functions (#5147) | Tiger Wang | 2021-03-15 | 1 | -9/+9 |
| | | | * Fixes #5144 | ||||
* | Some emplace_back replacements (#5149) | 12xx12 | 2021-03-07 | 1 | -1/+1 |
| | | | * replace push_back with emplace_back when a new object was created in the function call | ||||
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 1 | -14/+0 |
| | | | | | | | | + A cPlayer, once created, has a strong pointer to the cClientHandle. The player ticks the clienthandle. If he finds the handle destroyed, he destroys himself in turn. Nothing else can kill the player. * The client handle has a pointer to the player. Once a player is created, the client handle never outlasts the player, nor does it manage the player's lifetime. The pointer is always safe to use after FinishAuthenticate, which is also the point where cProtocol is put into the Game state that allows player manipulation. + Entities are once again never lost by constructing a chunk when they try to move into one that doesn't exist. * Fixed a forgotten Super invocation in cPlayer::OnRemoveFromWorld. * Fix SaveToDisk usage in destructor by only saving things cPlayer owns, instead of accessing cWorld. | ||||
* | Convert most calls to blocking GetHeight/GetBiomeAt to direct chunk accesses | Tiger Wang | 2021-01-11 | 1 | -4/+4 |
| | | | | * Hopefully fixes #5094 | ||||
* | Fix potential destruction crashes (#5095) | Tiger Wang | 2021-01-02 | 1 | -34/+10 |
| | | | | | | | | | | * Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld | ||||
* | Monsters: improve targeting | Tiger Wang | 2020-12-21 | 1 | -21/+76 |
| | | | | | | * Replace DoWithNearestPlayer with bounding box search (avoid iterating through all players in world). * Do line-of-sight checks from eye-to-eye. + Added LOS and LOS lost timer to target lost checks, in addition to distance. | ||||
* | Enable LOS checks for Hostile Mobs. | the1robert | 2020-12-20 | 1 | -1/+1 |
| | |||||
* | Adding new monster types to enum and saving/loading for easier future implementation (#4941) | 12xx12 | 2020-11-23 | 1 | -33/+69 |
| | | | | | | | | | | | * added new monster types to enum added string <-> enum conversion in namespace serializer added loading functions added to saving * renamed zombie pigman to zombified piglins in enum Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Adding wolf breading and moving breeding functionality to cMonster (#4951) | 12xx12 | 2020-10-09 | 1 | -4/+201 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added wolf breading * mpoved breeding to monster * checkstyle * fixed my IDE "helping" * removed magic number and fixed faster aging * added flooring to age manipulation * fixed copiler error * fixed typo * moved tps to Defines.h * removed the TPS constant from the lua API exposure * added inline constexpr added explanation * fixed broken build * "fixed" build Co-authored-by: 12xx12 <12xx12100@gmail.com> | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -33/+33 |
| | |||||
* | Reduced packet spam when entities idle | Tiger Wang | 2020-07-06 | 1 | -1/+9 |
| | | | | * Try not to send look packets when nothing's changed. | ||||
* | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 2020-05-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -9/+9 |
| | |||||
* | Fix compilation, for real this time. | Alexander Harkness | 2020-04-10 | 1 | -1/+1 |
| | | | | I should go to sleep now... | ||||
* | Add Zombie Villagers | Bond-009 | 2020-04-10 | 1 | -12/+8 |
| | |||||
* | Wolves and mooshrooms are passive mobs | Mat | 2020-04-09 | 1 | -2/+2 |
| | |||||
* | Implement wither skeletons (#4563) | Mat | 2020-04-04 | 1 | -93/+93 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -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) | Mat | 2020-03-26 | 1 | -1/+1 |
| | | | | | | | * Decrease attack cooldown for monsters * Nerf some mobs * Decimal points | ||||
* | Improvements to blaze and ghast (#4547) | Mat | 2020-03-26 | 1 | -1/+1 |
| | |||||
* | Add ambient mob sounds (#4521) | Mat | 2020-03-22 | 1 | -1/+18 |
| | |||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -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) | peterbell10 | 2018-08-29 | 1 | -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 guo | 2018-08-02 | 1 | -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) | peterbell10 | 2018-07-26 | 1 | -1/+1 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | New movement system for leashed entities (#4147) | peterbell10 | 2018-01-17 | 1 | -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-009 | 2018-01-15 | 1 | -1/+2 |
| | |||||
* | Rename cEntity swim states (#3996) | Alexander Harkness | 2018-01-14 | 1 | -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 Kolbly | 2017-09-19 | 1 | -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) | peterbell10 | 2017-09-14 | 1 | -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 burning | Alexander Harkness | 2017-09-01 | 1 | -5/+0 |
| | |||||
* | Fix mobs not burning in daylight when on snow (#3961) | Alexander Harkness | 2017-08-25 | 1 | -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 pointer | Lukas Pioch | 2017-08-24 | 1 | -6/+6 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -1/+172 |
| | |||||
* | Changed type of FastRandom in monster drop calculation. (#3920) | Lane Kolbly | 2017-08-18 | 1 | -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 pointers | Tiger Wang | 2017-08-07 | 1 | -40/+34 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -31/+31 |
| | |||||
* | Fixed tracer usage in Entity physics handling. (#3720) | Mattes D | 2017-05-28 | 1 | -7/+8 |
| | |||||
* | Spawn eggs works again | Lukas Pioch | 2017-05-22 | 1 | -31/+60 |
| | |||||
* | Don't destroy monster when last target type is a player (#3721) | Pablo Beltrán | 2017-05-21 | 1 | -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) | bibo38 | 2016-10-12 | 1 | -5/+10 |
| | |||||
* | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 2016-09-03 | 1 | -0/+5 |
| | |||||
* | Fixed implicit rounding warnings. | Mattes D | 2016-08-19 | 1 | -1/+1 |
| | |||||
* | Fix issues below y = 0 | LogicParrot | 2016-04-18 | 1 | -3/+7 |
| | |||||
* | Manual mob burn code | LogicParrot | 2016-04-06 | 1 | -7/+34 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -3/+3 |
| | |||||
* | cMonster::m_Target safety across worlds | LogicParrot | 2016-02-03 | 1 | -27/+94 |
| | |||||
* | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 2016-01-21 | 1 | -3/+3 |
| | |||||
* | Fix mob attack interval | LogicParrot | 2016-01-12 | 1 | -1/+15 |
| | |||||
* | Fixed the monster burn code. | Mattes D | 2015-12-30 | 1 | -3/+15 |
| | | | | The old code failed when the monster was out of Y range. | ||||
* | PF - "Special blocks" handling | Safwat Halaby | 2015-12-24 | 1 | -14/+28 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -16/+2 |
| | |||||
* | Remove stray "return" | Safwat Halaby | 2015-12-13 | 1 | -1/+0 |
| | |||||
* | Fixed mobs attacking Creative Mode players | Safwat Halaby | 2015-12-13 | 1 | -2/+14 |
| | |||||
* | Decoupled cMonster and path recalc logic, re-implemented recalc | Safwat Halaby | 2015-12-13 | 1 | -272/+82 |
| | |||||
* | implement breeding | Gargaj | 2015-11-29 | 1 | -0/+11 |
| | |||||
* | Add enum for Sound and Particle Effects | Dave Tucker | 2015-11-24 | 1 | -1/+2 |
| | | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | ||||
* | Fixed failed assertation | bibo38 | 2015-11-03 | 1 | -20/+23 |
| | | | | | This was caused by a monster with a negative Y-axis. Fixes #2336 | ||||
* | StyleCheck: Check spaces around ==, <=, >= | Mattes D | 2015-10-08 | 1 | -3/+3 |
| | |||||
* | Partial revert of #2446 | Safwat Halaby | 2015-09-28 | 1 | -5/+40 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Fixed a position bug in the pathfinder | Tiger Wang | 2015-08-22 | 1 | -44/+14 |
| | |||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -13/+13 |
| | |||||
* | Support ageable mobs | Hallucino | 2015-07-14 | 1 | -0/+1 |
| | | | | Move ageable stuff in Monster directly | ||||
* | Now Horses spawn with correct data values. | bibo38 | 2015-06-26 | 1 | -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 PreventNewWarnings | tycho | 2015-05-29 | 1 | -2/+9 |
|\ | | | | | | | | | Conflicts: src/Entities/ArrowEntity.cpp | ||||
| * | AI - Sane Skeleton | SafwatHalaby | 2015-05-28 | 1 | -2/+9 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 1 | -2/+11 |
|\| | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | AI - Saner Livestock | SafwatHalaby | 2015-05-27 | 1 | -2/+11 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-24 | 1 | -3/+3 |
|\| | |||||
| * | Pathfinder - Bounding boxes and some tweaks | SafwatHalaby | 2015-05-23 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 1 | -2/+3 |
|\| | |||||
| * | Path recalculation improvements | SafwatHalaby | 2015-05-20 | 1 | -2/+3 |
| | | |||||
* | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -4/+4 |
|/ | | | | Ad fix a load of warnings | ||||
* | Manual merge of #2066 | Alexander Harkness | 2015-05-19 | 1 | -1/+1 |
| | |||||
* | Pathfinder - approximated paths when original destination unreachable | SafwatHalaby | 2015-05-17 | 1 | -27/+94 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into warnings | Tiger Wang | 2015-05-10 | 1 | -3/+5 |
|\ | | | | | | | | | | | Conflicts: src/Mobs/Monster.cpp src/Vector3.h | ||||
| * | Merge pull request #1956 from Tri125/master | Mattes D | 2015-05-09 | 1 | -1/+1 |
| |\ | | | | | | | Fixed Magma cube sound and spawn size | ||||
| | * | Big Magma Cube can now spawn | Tri125 | 2015-05-07 | 1 | -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 checks | worktycho | 2015-05-09 | 1 | -2/+4 |
| | | | |||||
* | | | Fixed some warnings and logic errors in Monster.cpp | Tiger Wang | 2015-05-10 | 1 | -5/+7 |
| | | | |||||
* | | | Fixed some Visual Studio warnings | Tiger Wang | 2015-05-09 | 1 | -5/+5 |
|/ / | |||||
* | | AI - Safer WouldBurnAt() | wiseoldman95 | 2015-05-06 | 1 | -3/+8 |
| | | |||||
* | | AI - Better shade cover | wiseoldman95 | 2015-05-06 | 1 | -1/+9 |
| | | |||||
* | | (duplicate) AI - Livestock escape fixed, water jumping fixed | wiseoldman95 | 2015-05-06 | 1 | -9/+69 |
|/ | |||||
* | PF - Fixed mobs not reaching leaning player | wiseoldman95 | 2015-05-06 | 1 | -2/+3 |
| | |||||
* | AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bug | wiseoldman95 | 2015-05-05 | 1 | -20/+37 |
| | |||||
* | Entity improvements | Tiger Wang | 2015-05-04 | 1 | -169/+110 |
| | | | | | | | | •Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | ||||
* | Merge pull request #1930 from SafwatHalaby/AI_Jump | Tiger Wang | 2015-05-03 | 1 | -5/+15 |
|\ | | | | | AI - Improved Mob Jumping | ||||
| * | AI - Improved Mob Jumping | wiseoldman95 | 2015-05-03 | 1 | -5/+15 |
| | | |||||
* | | PathFinder - Crash fix, chunks in parameters are now references | wiseoldman95 | 2015-05-03 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #1925 from SafwatHalaby/PathFinder_Optimze | Tiger Wang | 2015-05-02 | 1 | -4/+4 |
|\ | | | | | Pathfinder optimization | ||||
| * | PathFinding - Chunk querying optimization and improve cPath::IsSolid | wiseoldman95 | 2015-05-02 | 1 | -4/+4 |
| | | |||||
* | | AI - Better daylight handling | wiseoldman95 | 2015-05-02 | 1 | -9/+15 |
|/ | |||||
* | A* Pathfinding and better monster AI | wiseoldman95 | 2015-05-01 | 1 | -126/+142 |
| | |||||
* | Added MobTypeName for Giant | mathias-gh | 2015-04-17 | 1 | -0/+1 |
| | |||||
* | Correct world height validations. | Tommy Santerre | 2015-03-20 | 1 | -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::chrono | Tycho | 2015-01-16 | 1 | -11/+11 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -7/+5 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | Fixed basic style. | Mattes D | 2014-12-25 | 1 | -1/+1 |
| | |||||
* | Added Rabbits | Masy98 | 2014-12-20 | 1 | -0/+4 |
| | |||||
* | Guardian can now spawn if wanted!? | Masy98 | 2014-12-18 | 1 | -1/+1 |
| | |||||
* | Added Entity Guardian | Masy98 | 2014-12-18 | 1 | -0/+4 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into c++11 | Tiger Wang | 2014-12-06 | 1 | -5/+22 |
|\ | | | | | | | | | Conflicts: src/OSSupport/Thread.cpp | ||||
| * | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -5/+22 |
| | | |||||
* | | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -62/+62 |
|\| | |||||
| * | MobSpawner fixes. | Howaner | 2014-12-01 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'master' into MobSpawner | Howaner | 2014-12-01 | 1 | -10/+0 |
| |\ | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| | * | Removed old StringToMobType() function from Monster.cpp | Howaner | 2014-11-30 | 1 | -10/+0 |
| | | | |||||
| * | | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 2014-11-29 | 1 | -52/+61 |
| |/ | |||||
| * | Mobs: Fixed crash with terrain too high. | Mattes D | 2014-11-15 | 1 | -2/+2 |
| | | |||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -14/+14 |
| | | |||||
* | | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 2014-11-26 | 1 | -2/+2 |
| | | |||||
* | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -14/+14 |
| | | |||||
* | | Migrated random generators to std::random | Tiger Wang | 2014-10-19 | 1 | -1/+0 |
|/ | |||||
* | Fixed a missed value. | madmaxoft | 2014-10-05 | 1 | -1/+1 |
| | |||||
* | Fixed eMonsterType Lua API mismatch. | madmaxoft | 2014-10-05 | 1 | -0/+10 |
| | |||||
* | Merge branch 'master' into redstoneTests | Tycho | 2014-09-25 | 1 | -0/+54 |
|\ | | | | | | | | | Conflicts: src/Mobs/Monster.h | ||||
| * | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -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. | Howaner | 2014-09-02 | 1 | -2/+8 |
| | | | |||||
| * | | Added name tag | Howaner | 2014-09-01 | 1 | -0/+19 |
| | | | |||||
| * | | Added CustomName to cMonster. | Howaner | 2014-09-01 | 1 | -0/+29 |
| | | | |||||
* | | | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -1/+5 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| * | | Improved cBlockHandler::DropBlock | Tiger Wang | 2014-09-13 | 1 | -1/+1 |
| | | | |||||
| * | | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 2014-09-02 | 1 | -2/+2 |
| | | | |||||
| * | | Added SetWalkSpeed() to cMonster. | Howaner | 2014-08-30 | 1 | -0/+4 |
| |/ | |||||
* / | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -58/+58 |
|/ | |||||
* | Fixed mob burning. | reiter | 2014-08-28 | 1 | -1/+1 |
| | | | Fixes #1298 | ||||
* | Merge branch 'master' into Monster | Howaner | 2014-08-04 | 1 | -2/+1 |
|\ | |||||
| * | Refactored case-conversion functions. | madmaxoft | 2014-08-04 | 1 | -2/+1 |
| | | | | | | | | StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | ||||
* | | Changed /** to /* | Howaner | 2014-08-04 | 1 | -3/+5 |
| | | |||||
* | | Fixed warnings | Howaner | 2014-08-04 | 1 | -3/+3 |
| | | |||||
* | | Attempt to fix knockback and swimming. | Howaner | 2014-08-04 | 1 | -3/+9 |
|/ | |||||
* | Improved endermen code a little | Tiger Wang | 2014-08-01 | 1 | -1/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -19/+5 |
|\ | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | | |||||
| * | Monsters: Made IsUndead overridable by the respective mob classes | archshift | 2014-07-19 | 1 | -10/+0 |
| | | |||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | | |||||
| * | Fixed clamping issues | archshift | 2014-07-19 | 1 | -5/+1 |
| | | |||||
| * | Merge branch 'Entities' | madmaxoft | 2014-07-18 | 1 | -2/+2 |
| |\ | |||||
| | * | Fixed slime-related comments. | madmaxoft | 2014-07-18 | 1 | -2/+2 |
| | | | |||||
| | * | Slime sizes are 1, 2 or 4 and not 1, 2 or 3. | Howaner | 2014-07-18 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -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 fixes | Tiger Wang | 2014-07-18 | 1 | -26/+1 |
| | | | | | | | | | | | | | | | * Fixes #1203 * Fixes #627 | ||||
| * | | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | |||||
| * | | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| | | | |||||
| * | | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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 potions | madmaxoft | 2014-07-17 | 1 | -3/+3 |
| |\ | |||||
| | * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 1 | -3/+3 |
| | |\ | | | | | | | | | Death messages | ||||
| | | * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -3/+3 |
| | | | | |||||
| * | | | Merge branch 'master' into potions | madmaxoft | 2014-07-15 | 1 | -3/+3 |
| |\| | | |||||
| | * | | Merge branch 'master' into Sounds | Howaner | 2014-07-13 | 1 | -1/+1 |
| | |\ \ | |||||
| | | * \ | Merge branch 'master' into Sheep | Howaner | 2014-07-13 | 1 | -1/+1 |
| | | |\ \ | |||||
| | | * | | | Fix sheep color's, add shear sound. | Howaner | 2014-06-28 | 1 | -1/+1 |
| | | | |/ | | | |/| | |||||
| | * | | | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 2014-07-13 | 1 | -2/+2 |
| | | |/ | | |/| | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -1/+1 |
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| | * | | Fixed slime handling in cMonster::StringToMobType(). | madmaxoft | 2014-07-06 | 1 | -1/+1 |
| | |/ | |||||
| * | | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -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-value | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed MSVC compilation. | madmaxoft | 2014-06-17 | 1 | -3/+3 |
| | | | |||||
| * | | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 1 | -2/+2 |
| | | | | | | | | | | | | 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/+65 |
| |/ | |||||
* | | More suggestions | Tiger Wang | 2014-06-21 | 1 | -1/+1 |
| | | |||||
* | | Fixed decision failure | Tiger Wang | 2014-06-05 | 1 | -1/+1 |
| | | |||||
* | | Added checks for no downfall biomes | Tiger Wang | 2014-06-04 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-06-04 | 1 | -4/+14 |
|\| | |||||
| * | Small tweak for mobs | STRWarrior | 2014-06-02 | 1 | -4/+14 |
| | | | | | | | | Mobs move a bit smoother and aren't able to move allot when in air. | ||||
* | | Very minor code changes | Tiger Wang | 2014-05-29 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #998 from mc-server/StatManager | Mattes D | 2014-05-18 | 1 | -1/+3 |
|\ | | | | | Statistic Manager | ||||
| * | Fixes | andrew | 2014-05-13 | 1 | -1/+1 |
| | | |||||
| * | Movement Statistics | andrew | 2014-05-12 | 1 | -1/+3 |
| | | |||||
* | | Fixed a few more switch warnings. | archshift | 2014-05-12 | 1 | -0/+2 |
|/ | |||||
* | Fixed MagmaCube spawning. | madmaxoft | 2014-05-02 | 1 | -0/+4 |
| | | | | Fixes #928. | ||||
* | Merge pull request #940 from Howaner/GlobalFixes | Mattes D | 2014-04-28 | 1 | -2/+6 |
|\ | | | | | Add entity invulnerable | ||||
| * | Add entity invulnerable | Howaner | 2014-04-26 | 1 | -2/+6 |
| | | |||||
* | | Fixed mobs that don't naturally spawn. | archshift | 2014-04-26 | 1 | -2/+5 |
| | | |||||
* | | Giants! | archshift | 2014-04-25 | 1 | -6/+11 |
|/ | | | | Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning. | ||||
* | Fixed class capitalization for the cave spider. | archshift | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | Compilation fix | Tiger Wang | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Fixed #906 | Tiger Wang | 2014-04-18 | 1 | -1/+2 |
| | |||||
* | Fixed #904 | Tiger Wang | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Added new AI rules | Tiger Wang | 2014-04-17 | 1 | -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 Harkness | 2014-04-10 | 1 | -0/+1 |
| | |||||
* | Update Monster.cpp | Alexander Harkness | 2014-04-10 | 1 | -2/+4 |
| | |||||
* | Final realisation of suggestions | Tiger Wang | 2014-03-31 | 1 | -5/+7 |
| | |||||
* | Fixed a few Y too high/low asserts | Tiger Wang | 2014-03-31 | 1 | -5/+5 |
| | |||||
* | Wither invulnerability | andrew | 2014-03-24 | 1 | -0/+1 |
| | |||||
* | Fixed double to float conversions. | madmaxoft | 2014-03-16 | 1 | -5/+5 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -5/+5 |
| | |||||
* | Fixed Formatting, added compiler warning suppressing methods, fixed comments | TheJumper | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 2014-02-23 | 1 | -0/+76 |
| | |||||
* | Improved formatting | tonibm19 | 2014-02-17 | 1 | -2/+2 |
| | |||||
* | Now mobs can't escape from fences. | tonibm19 | 2014-02-16 | 1 | -2/+2 |
| | |||||
* | Fixed #627 | Tiger Wang | 2014-02-11 | 1 | -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 playerimprovements | Tiger Wang | 2014-02-09 | 1 | -4/+4 |
|\ | | | | | | | | | | | | | Conflicts: src/Root.cpp src/Root.h src/World.cpp | ||||
| * | Merge pull request #646 from worktycho/warningfixes | Alexander Harkness | 2014-02-05 | 1 | -4/+4 |
| |\ | | | | | | | Fixed most of the reordering warnings | ||||
| | * | Fixed most of the reordering warnings | Tycho | 2014-02-05 | 1 | -4/+4 |
| | | | |||||
* | | | Merge branch 'master' into playerimprovements | Tiger Wang | 2014-02-09 | 1 | -0/+12 |
|\| | | | | | | | | | | | | | | Conflicts: MCServer/Plugins/APIDump/APIDesc.lua | ||||
| * | | Blank lines and indentation. | tonibm19 | 2014-02-04 | 1 | -0/+4 |
| | | | | | | | | | | | | Also removed GetClosestPlayer documentation | ||||
| * | | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API | tonibm19 | 2014-02-03 | 1 | -0/+8 |
| |/ | |||||
* / | Fixed a bunch of MSVS warnings | Tiger Wang | 2014-02-05 | 1 | -1/+1 |
|/ | | | | | * Possibly also fixed some bugs with pathfinding and TNT, though unlikely | ||||
* | Monster's nominal speed was increased. | Kirill Kirilenko | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Implemented fall damage for mobs | Tiger Wang | 2014-01-25 | 1 | -4/+27 |
| | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | ||||
* | Mob bugfixes | Tiger Wang | 2014-01-25 | 1 | -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 bug | Tiger Wang | 2014-01-25 | 1 | -0/+3 |
| | |||||
* | Miscellaneous improvements | Tiger Wang | 2014-01-24 | 1 | -5/+4 |
| | |||||
* | Monsters no longer check for direct line of sight | Tiger Wang | 2014-01-24 | 1 | -10/+2 |
| | |||||
* | Large reworking of mob code [SEE DESC] | Tiger Wang | 2014-01-24 | 1 | -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 functions | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Merge branch 'fixes&features' of git://github.com/tonibm19/MCServer | madmaxoft | 2013-12-25 | 1 | -0/+6 |
|\ | |||||
| * | Some fixes (SEE DESC) | tonibm19 | 2013-12-23 | 1 | -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 saving | Tiger Wang | 2013-12-25 | 1 | -1/+2 |
|/ | | | | | | | * Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs | ||||
* | EnderDragons and SnowGolems are able to spawn. | STRWarrior | 2013-12-22 | 1 | -0/+2 |
| | |||||
* | Sorted a few constructors to remove warnings. | madmaxoft | 2013-12-20 | 1 | -7/+7 |
| | |||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Fixed not getting XP from mobs. | STRWarrior | 2013-12-14 | 1 | -0/+6 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-26 | 1 | -0/+55 |
| | | | | | Conflicts: VC2008/MCServer.vcproj | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+758 |