Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-01 | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 1 | -33/+33 | |
2020-07-06 | Reduced packet spam when entities idle | Tiger Wang | 1 | -1/+9 | |
* Try not to send look packets when nothing's changed. | |||||
2020-05-15 | Enable some more clang-tidy linter checks (#4738) | peterbell10 | 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 | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -9/+9 | |
2020-04-10 | Fix compilation, for real this time. | Alexander Harkness | 1 | -1/+1 | |
I should go to sleep now... | |||||
2020-04-10 | Add Zombie Villagers | Bond-009 | 1 | -12/+8 | |
2020-04-09 | Wolves and mooshrooms are passive mobs | Mat | 1 | -2/+2 | |
2020-04-04 | Implement wither skeletons (#4563) | Mat | 1 | -93/+93 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 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 | |||||
2020-03-26 | Decrease attack cooldown for monsters (#4542) | Mat | 1 | -1/+1 | |
* Decrease attack cooldown for monsters * Nerf some mobs * Decimal points | |||||
2020-03-26 | Improvements to blaze and ghast (#4547) | Mat | 1 | -1/+1 | |
2020-03-22 | Add ambient mob sounds (#4521) | Mat | 1 | -1/+18 | |
2020-03-05 | Stabilise MoveToWorld (#4004) | Mat | 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 | |||||
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 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. | |||||
2018-08-02 | Experience orb (#4259) | changyong guo | 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 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -1/+1 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-01-17 | New movement system for leashed entities (#4147) | peterbell10 | 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 | |||||
2018-01-15 | Don't burn mobs in daylight when swimming (#4145) | Bond-009 | 1 | -1/+2 | |
2018-01-14 | Rename cEntity swim states (#3996) | Alexander Harkness | 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 | |||||
2017-09-19 | Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) | Lane Kolbly | 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 | |||||
2017-09-14 | Fix switch warnings (#4013) | peterbell10 | 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 | |||||
2017-09-01 | Remove double-checking below world for burning | Alexander Harkness | 1 | -5/+0 | |
2017-08-25 | Fix mobs not burning in daylight when on snow (#3961) | Alexander Harkness | 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 | |||||
2017-08-24 | Use ref instead of pointer | Lukas Pioch | 1 | -6/+6 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 1 | -1/+172 | |
2017-08-18 | Changed type of FastRandom in monster drop calculation. (#3920) | Lane Kolbly | 1 | -1/+8 | |
* Fixed type of FastRandom in monster drop calculation. * Distribute dropped items into stacks. * Moved while loop outside if statement. | |||||
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -40/+34 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 1 | -31/+31 | |
2017-05-28 | Fixed tracer usage in Entity physics handling. (#3720) | Mattes D | 1 | -7/+8 | |
2017-05-22 | Spawn eggs works again | Lukas Pioch | 1 | -31/+60 | |
2017-05-21 | Don't destroy monster when last target type is a player (#3721) | Pablo Beltrán | 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. | |||||
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -5/+10 | |
2016-09-03 | Entities now bail out of ticks if destroyed (#3363) | LogicParrot | 1 | -0/+5 | |
2016-08-19 | Fixed implicit rounding warnings. | Mattes D | 1 | -1/+1 | |
2016-04-18 | Fix issues below y = 0 | LogicParrot | 1 | -3/+7 | |
2016-04-06 | Manual mob burn code | LogicParrot | 1 | -7/+34 | |
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -3/+3 | |
2016-02-03 | cMonster::m_Target safety across worlds | LogicParrot | 1 | -27/+94 | |
2016-01-21 | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 1 | -3/+3 | |
2016-01-12 | Fix mob attack interval | LogicParrot | 1 | -1/+15 | |
2015-12-30 | Fixed the monster burn code. | Mattes D | 1 | -3/+15 | |
The old code failed when the monster was out of Y range. | |||||
2015-12-24 | PF - "Special blocks" handling | Safwat Halaby | 1 | -14/+28 | |
2015-12-13 | blockheight mechanism | Gargaj | 1 | -16/+2 | |
2015-12-13 | Remove stray "return" | Safwat Halaby | 1 | -1/+0 | |
2015-12-13 | Fixed mobs attacking Creative Mode players | Safwat Halaby | 1 | -2/+14 | |
2015-12-13 | Decoupled cMonster and path recalc logic, re-implemented recalc | Safwat Halaby | 1 | -272/+82 | |
2015-11-29 | implement breeding | Gargaj | 1 | -0/+11 | |
2015-11-24 | Add enum for Sound and Particle Effects | Dave Tucker | 1 | -1/+2 | |
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk> | |||||
2015-11-03 | Fixed failed assertation | bibo38 | 1 | -20/+23 | |
This was caused by a monster with a negative Y-axis. Fixes #2336 | |||||
2015-10-08 | StyleCheck: Check spaces around ==, <=, >= | Mattes D | 1 | -3/+3 | |
2015-09-28 | Partial revert of #2446 | Safwat Halaby | 1 | -5/+40 | |
2015-09-25 | Compile.sh namechange to cuberite | Safwat Halaby | 1 | -1/+1 | |
2015-09-25 | Namechange to Cuberite | Mattes D | 1 | -1/+1 | |
2015-08-22 | Fixed a position bug in the pathfinder | Tiger Wang | 1 | -44/+14 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -13/+13 | |
2015-07-14 | Support ageable mobs | Hallucino | 1 | -0/+1 | |
Move ageable stuff in Monster directly | |||||
2015-06-26 | Now Horses spawn with correct data values. | bibo38 | 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 | |||||
2015-05-28 | AI - Sane Skeleton | SafwatHalaby | 1 | -2/+9 | |
2015-05-27 | AI - Saner Livestock | SafwatHalaby | 1 | -2/+11 | |
2015-05-23 | Pathfinder - Bounding boxes and some tweaks | SafwatHalaby | 1 | -3/+3 | |
2015-05-20 | Path recalculation improvements | SafwatHalaby | 1 | -2/+3 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -4/+4 | |
Ad fix a load of warnings | |||||
2015-05-19 | Manual merge of #2066 | Alexander Harkness | 1 | -1/+1 | |
2015-05-17 | Pathfinder - approximated paths when original destination unreachable | SafwatHalaby | 1 | -27/+94 | |
2015-05-10 | Fixed some warnings and logic errors in Monster.cpp | Tiger Wang | 1 | -5/+7 | |
2015-05-09 | Fixed some Visual Studio warnings | Tiger Wang | 1 | -5/+5 | |
2015-05-09 | Move chunk position accesses after the chunk validity checks | worktycho | 1 | -2/+4 | |
2015-05-07 | Big Magma Cube can now spawn | Tri125 | 1 | -1/+1 | |
Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4. | |||||
2015-05-06 | AI - Safer WouldBurnAt() | wiseoldman95 | 1 | -3/+8 | |
2015-05-06 | AI - Better shade cover | wiseoldman95 | 1 | -1/+9 | |
2015-05-06 | (duplicate) AI - Livestock escape fixed, water jumping fixed | wiseoldman95 | 1 | -9/+69 | |
2015-05-06 | PF - Fixed mobs not reaching leaning player | wiseoldman95 | 1 | -2/+3 | |
2015-05-05 | AI - More conservative use of ResetPathFinding, fixed minor swimming / jumping bug | wiseoldman95 | 1 | -20/+37 | |
2015-05-04 | Entity improvements | Tiger Wang | 1 | -169/+110 | |
•Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes | |||||
2015-05-03 | AI - Improved Mob Jumping | wiseoldman95 | 1 | -5/+15 | |
2015-05-03 | PathFinder - Crash fix, chunks in parameters are now references | wiseoldman95 | 1 | -2/+2 | |
2015-05-02 | AI - Better daylight handling | wiseoldman95 | 1 | -9/+15 | |
2015-05-02 | PathFinding - Chunk querying optimization and improve cPath::IsSolid | wiseoldman95 | 1 | -4/+4 | |
2015-05-01 | A* Pathfinding and better monster AI | wiseoldman95 | 1 | -126/+142 | |
2015-04-17 | Added MobTypeName for Giant | mathias-gh | 1 | -0/+1 | |
2015-03-20 | Correct world height validations. | Tommy Santerre | 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 | |||||
2015-01-16 | Converted Monster to std::chrono | Tycho | 1 | -11/+11 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -7/+5 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-12-25 | Fixed basic style. | Mattes D | 1 | -1/+1 | |
2014-12-20 | Added Rabbits | Masy98 | 1 | -0/+4 | |
2014-12-18 | Guardian can now spawn if wanted!? | Masy98 | 1 | -1/+1 | |
2014-12-18 | Added Entity Guardian | Masy98 | 1 | -0/+4 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -5/+22 | |
2014-12-01 | MobSpawner fixes. | Howaner | 1 | -0/+1 | |
2014-11-30 | Removed old StringToMobType() function from Monster.cpp | Howaner | 1 | -10/+0 | |
2014-11-29 | Many api fixes, add vanilla names to mob type -> string functions and mob spawner fixes. | Howaner | 1 | -52/+61 | |
2014-11-26 | Merge remote-tracking branch 'origin-master' into c++11 | Tiger Wang | 1 | -2/+2 | |
2014-11-15 | Mobs: Fixed crash with terrain too high. | Mattes D | 1 | -2/+2 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -14/+14 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -14/+14 | |
2014-10-19 | Migrated random generators to std::random | Tiger Wang | 1 | -1/+0 | |
2014-10-05 | Fixed a missed value. | madmaxoft | 1 | -1/+1 | |
2014-10-05 | Fixed eMonsterType Lua API mismatch. | madmaxoft | 1 | -0/+10 | |
2014-09-17 | Added first test to show the object can be created | Tycho | 1 | -58/+58 | |
2014-09-13 | Improved cBlockHandler::DropBlock | Tiger Wang | 1 | -1/+1 | |
2014-09-02 | Renamed SetWalkSpeed() to SetRelativeWalkSpeed() | Howaner | 1 | -2/+2 | |
2014-09-02 | Added CustomName saving. | Howaner | 1 | -2/+8 | |
2014-09-01 | Added name tag | Howaner | 1 | -0/+19 | |
2014-09-01 | Added CustomName to cMonster. | Howaner | 1 | -0/+29 | |
2014-08-30 | Added SetWalkSpeed() to cMonster. | Howaner | 1 | -0/+4 | |
2014-08-28 | Fixed mob burning. | reiter | 1 | -1/+1 | |
Fixes #1298 | |||||
2014-08-04 | Refactored case-conversion functions. | madmaxoft | 1 | -2/+1 | |
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place. | |||||
2014-08-04 | Changed /** to /* | Howaner | 1 | -3/+5 | |
2014-08-04 | Fixed warnings | Howaner | 1 | -3/+3 | |
2014-08-04 | Attempt to fix knockback and swimming. | Howaner | 1 | -3/+9 | |
2014-08-01 | Improved endermen code a little | Tiger Wang | 1 | -1/+3 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | Monsters: Made IsUndead overridable by the respective mob classes | archshift | 1 | -10/+0 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | Fixed clamping issues | archshift | 1 | -5/+1 | |
2014-07-18 | Fixed slime-related comments. | madmaxoft | 1 | -2/+2 | |
2014-07-18 | Slime sizes are 1, 2 or 4 and not 1, 2 or 3. | Howaner | 1 | -1/+1 | |
2014-07-18 | Monster fixes | Tiger Wang | 1 | -26/+1 | |
* Fixes #1203 * Fixes #627 | |||||
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -3/+3 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -2/+2 | |
2014-07-06 | Fixed slime handling in cMonster::StringToMobType(). | madmaxoft | 1 | -1/+1 | |
2014-07-04 | Tailored death messages | Tiger Wang | 1 | -3/+3 | |
2014-06-28 | Fix sheep color's, add shear sound. | Howaner | 1 | -1/+1 | |
2014-06-21 | More suggestions | Tiger Wang | 1 | -1/+1 | |
2014-06-19 | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 1 | -45/+0 | |
Changed effect map to take a pointer of the effect as a result. | |||||
2014-06-17 | Entity effects: changed User to Creator, removed pawn pass-by-value | archshift | 1 | -1/+1 | |
2014-06-17 | Fixed MSVC compilation. | madmaxoft | 1 | -3/+3 | |
2014-06-17 | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 1 | -2/+2 | |
Exported entity effect functions for ToLua and documented them in APIDesc.lua | |||||
2014-06-17 | Monster: added IsUndead(), undead-specific entity effects | archshift | 1 | -0/+65 | |
2014-06-05 | Fixed decision failure | Tiger Wang | 1 | -1/+1 | |
2014-06-04 | Added checks for no downfall biomes | Tiger Wang | 1 | -1/+1 | |
2014-06-02 | Small tweak for mobs | STRWarrior | 1 | -4/+14 | |
Mobs move a bit smoother and aren't able to move allot when in air. | |||||
2014-05-29 | Very minor code changes | Tiger Wang | 1 | -1/+1 | |
2014-05-13 | Fixes | andrew | 1 | -1/+1 | |
2014-05-12 | Movement Statistics | andrew | 1 | -1/+3 | |
2014-05-12 | Fixed a few more switch warnings. | archshift | 1 | -0/+2 | |
2014-05-02 | Fixed MagmaCube spawning. | madmaxoft | 1 | -0/+4 | |
Fixes #928. | |||||
2014-04-26 | Fixed mobs that don't naturally spawn. | archshift | 1 | -2/+5 | |
2014-04-26 | Add entity invulnerable | Howaner | 1 | -2/+6 | |
2014-04-25 | Giants! | archshift | 1 | -6/+11 | |
Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning. | |||||
2014-04-24 | Fixed class capitalization for the cave spider. | archshift | 1 | -1/+1 | |
2014-04-18 | Compilation fix | Tiger Wang | 1 | -1/+1 | |
2014-04-18 | Fixed #906 | Tiger Wang | 1 | -1/+2 | |
2014-04-18 | Fixed #904 | Tiger Wang | 1 | -1/+1 | |
2014-04-17 | Added new AI rules | Tiger Wang | 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 | |||||
2014-04-10 | Fixed GitHuB WebEdit fail. | Alexander Harkness | 1 | -0/+1 | |
2014-04-10 | Update Monster.cpp | Alexander Harkness | 1 | -2/+4 | |
2014-03-31 | Final realisation of suggestions | Tiger Wang | 1 | -5/+7 | |
2014-03-31 | Fixed a few Y too high/low asserts | Tiger Wang | 1 | -5/+5 | |
2014-03-24 | Wither invulnerability | andrew | 1 | -0/+1 | |
2014-03-16 | Fixed double to float conversions. | madmaxoft | 1 | -5/+5 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -5/+5 | |
2014-02-24 | Fixed Formatting, added compiler warning suppressing methods, fixed comments | TheJumper | 1 | -1/+1 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 1 | -0/+76 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 1 | -1/+48 | |
2014-02-23 | Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters | TheJumper | 1 | -0/+1 | |
2014-02-23 | Fixed Formatting, Added DropChance attributes to Monsters | TheJumper | 1 | -4/+22 | |
2014-02-22 | Changed formatting, encapsuled armor drop, introduced better static Enchantment IDs | TheJumper | 1 | -0/+28 | |
2014-02-22 | Monster.cpp: Fixed Formatting in AddRandomUncommonDropItem | TheJumper | 1 | -1/+1 | |
2014-02-21 | Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts Drops | TheJumper | 1 | -0/+29 | |
2014-02-17 | Improved formatting | tonibm19 | 1 | -2/+2 | |
2014-02-16 | Now mobs can't escape from fences. | tonibm19 | 1 | -2/+2 | |
2014-02-11 | Fixed #627 | Tiger Wang | 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) | |||||
2014-02-05 | Fixed most of the reordering warnings | Tycho | 1 | -4/+4 | |
2014-02-05 | Fixed a bunch of MSVS warnings | Tiger Wang | 1 | -1/+1 | |
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely | |||||
2014-02-04 | Blank lines and indentation. | tonibm19 | 1 | -0/+4 | |
Also removed GetClosestPlayer documentation | |||||
2014-02-03 | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API | tonibm19 | 1 | -0/+8 | |
2014-02-01 | Monster's nominal speed was increased. | Kirill Kirilenko | 1 | -1/+1 | |
2014-01-25 | Implemented fall damage for mobs | Tiger Wang | 1 | -4/+27 | |
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | |||||
2014-01-25 | Mob bugfixes | Tiger Wang | 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 | |||||
2014-01-25 | Fixed a generator bug | Tiger Wang | 1 | -0/+3 | |
2014-01-24 | Miscellaneous improvements | Tiger Wang | 1 | -5/+4 | |
2014-01-24 | Monsters no longer check for direct line of sight | Tiger Wang | 1 | -10/+2 | |
2014-01-24 | Large reworking of mob code [SEE DESC] | Tiger Wang | 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 | |||||
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -1/+1 | |
2013-12-25 | Preliminary mobile entity saving | Tiger Wang | 1 | -1/+2 | |
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs | |||||
2013-12-23 | Some fixes (SEE DESC) | tonibm19 | 1 | -0/+6 | |
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn | |||||
2013-12-22 | EnderDragons and SnowGolems are able to spawn. | STRWarrior | 1 | -0/+2 | |
2013-12-20 | Sorted a few constructors to remove warnings. | madmaxoft | 1 | -7/+7 | |
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 1 | -1/+1 | |
2013-12-14 | Fixed not getting XP from mobs. | STRWarrior | 1 | -0/+6 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -1/+6 | |
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery | |||||
2013-11-10 | Bundled fixes [SEE DESC] | Tiger Wang | 1 | -30/+26 | |
* Fixed pickups spawning in an incorrect position from a JukeBox * Pickups make a popping sound in Prtcl1.7 * Arrows make a *what sort of sound does an arrow make anyway‽* when hitting a block, and a popping sound when fired * Mobs again have metadata * Fixed Prtcl1.7 not using valid JSON to kick a client * Minecarts and arrows again have metadata | |||||
2013-11-04 | Skeleton, Ghast and Blaze's projectile code is now in their respective class. | STRWarrior | 1 | -64/+6 | |
2013-11-02 | Skeletons, Blazes and Ghasts now shoot their projectile to the target. | STRWarrior | 1 | -5/+63 | |
2013-10-29 | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 1 | -3/+3 | |
2013-10-24 | Renamed cMonster::GetSpawnRate() to GetSpawnDelay(). | madmaxoft | 1 | -1/+1 | |
2013-10-22 | Fixed an assert in cMonster | madmaxoft | 1 | -2/+2 | |
2013-10-20 | Reimplemented cMonster::FamilyFromType() as a simple switch (duh!) | madmaxoft | 1 | -38/+27 | |
2013-10-20 | Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster. | madmaxoft | 1 | -0/+17 | |
2013-10-20 | Fixed binary search in StringToMobType(). | madmaxoft | 1 | -3/+3 | |
2013-10-20 | Moved all MobTypesManager functions to cMonster. | madmaxoft | 1 | -5/+222 | |
This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua. | |||||
2013-10-20 | Fixed loading allowed mobs in world. | madmaxoft | 1 | -3/+7 | |
2013-10-13 | Eight round of fixes | Tiger Wang | 1 | -1/+1 | |
* Changed IsA() to *long if statement* - Removed deprecated values in Entity.h - to blazes with the plugins! * Renamed villager type enumerations to be LESS SHOUTY and more vt-y + Use vtMax for World.cpp testificate spawning | |||||
2013-09-13 | Added an extra line. | tonibm19 | 1 | -0/+1 | |
In first commit it says I removed first line | |||||
2013-09-13 | Fixed mobs attack range being too long | tonibm19 | 1 | -2/+1 | |
It was set to 5, I think 2 is better because now mobs can kill you when there is a block (or 2) between you and monster. | |||||
2013-09-10 | Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancy | mgueydan | 1 | -0/+6 | |
2013-09-07 | Fixed a missing initialization in cMonster. | madmaxoft | 1 | -2/+3 | |
This should fix commit ff762a7ece6400eaeb5e21f3fea7cad00786a8d9 's all-mobs burning. | |||||
2013-09-06 | Moved daylight burning directly into cMonster. | madmaxoft | 1 | -0/+36 | |
2013-09-05 | Moved daylight burning directly into cMonster. | madmaxoft | 1 | -0/+36 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -4/+7 | |
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-25 | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 1 | -2/+7 | |
Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-22 | Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs. | keyboard.osh@gmail.com | 1 | -121/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -28/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-02 | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-23 | Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions. | keyboard.osh@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-22 | Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members. | keyboard.osh@gmail.com | 1 | -42/+44 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-09 | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 1 | -2/+2 | |
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-22 | MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now) | madmaxoft@gmail.com | 1 | -42/+54 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-22 | Reduced most mobs' constructors to oneliners by passing parameters to superclasses | madmaxoft@gmail.com | 1 | -18/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Added sounds to levers and mobs | luksor111@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 1 | -1/+2 | |
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). | madmaxoft@gmail.com | 1 | -19/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 1 | -9/+12 | |
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-01 | Refactored the world time. | madmaxoft@gmail.com | 1 | -2/+2 | |
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | Removed a few debugging messages from the release builds. | madmaxoft@gmail.com | 1 | -4/+5 | |
( http://forum.mc-server.org/showthread.php?tid=571 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -7/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 1 | -18/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -13/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -106/+146 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -560/+560 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Item-dropping code rewritten and centralized - now there's only one place to modify if we want to split or merge same-item drops: cWorld:SpawnItemPickups(). Also, mined blocks can now drop more items, and they recognize if they're being mined by the correct tool. | madmaxoft@gmail.com | 1 | -13/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-19 | Fixed player heads always pointing north (new EntityHeadLook packet) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@424 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-12 | Fixing compilation on Drawin 9 / MacOS X | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@402 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed a few obsoleted functions | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -20/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | No longer using pointers for Vector3(f/d/i) in cEntity's and cTracer | faketruth | 1 | -44/+40 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@268 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -51/+82 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-01 | Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients; | madmaxoft@gmail.com | 1 | -1/+1 | |
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-31 | Slight code cleanup, no big changes | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@202 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -5/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Implemented Drops from Burning animals | lapayo94@gmail.com | 1 | -68/+7 | |
- added right monster health and attack strength - refactored the Pawn/Monster/Player class a little bit - changed some namings to fit the style git-svn-id: http://mc-server.googlecode.com/svn/trunk@140 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - improved ClosestPlayerDetection (Really the closest now ;)) | lapayo94@gmail.com | 1 | -29/+45 | |
- renamed function because the old one wasn´t listing - improved some time vars so no move gets dropped when the server laggs for a few seconds git-svn-id: http://mc-server.googlecode.com/svn/trunk@124 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -5/+9 | |
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | - Fixed Bug #99 -> Mobs no longer bother you in creative mode | lapayo94@gmail.com | 1 | -76/+35 | |
- refactored many things in the Monster system git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-22 | Fixes: | lapayo94@gmail.com | 1 | -1/+1 | |
- Pickups fall through water now (Server-side they stayed in the water surface) - Suppressed some warnings (int to short etc.) - Water is now passable for cTracer git-svn-id: http://mc-server.googlecode.com/svn/trunk@96 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-21 | - Crafting fixed in 1.0.0 | lapayo94@gmail.com | 1 | -0/+17 | |
- Server compatible with the weapons and equip again. (Some Packets were incompatible) - fixed bucket bugs (not all) - Fixed clients getting crashed by wrong Pickups - fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin) - maybe some other things I can´t recall atm Big Grin git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-06 | Patch with diff file created by Sebi (implemented some stuff like lava physics, drops are deleted when in lava, water is now slower, lava gives actual damage etc.). Pistons now work mostly as they should. They do not yet show the motion animation and do not emit sound. They do extend, push, and retract as they should though. Right now the only way to activate a piston is to light redstone wire adjacent to it with a redstone torch. | admin@omencraft.com | 1 | -9/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@67 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -13/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+609 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |