Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify cClientHandle, cPlayer ownership semantics | Tiger Wang | 2021-01-12 | 1 | -10/+2 |
| | | | | | | | | + 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. | ||||
* | Fix potential destruction crashes (#5095) | Tiger Wang | 2021-01-02 | 1 | -7/+2 |
| | | | | | | | | | | * 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 | ||||
* | Added magma block contact damage (#5055) | Aiden Neill | 2020-11-25 | 1 | -0/+3 |
| | | | | | | * Added magma block contact damage * Fireproof entities do not take damage from magma * Fire resistance prevents magma damage * No magma damage when hovering over magma block | ||||
* | Do not call into things we don't own in destructors | Tiger Wang | 2020-09-25 | 1 | -3/+0 |
| | | | | | - Remove improper accesses in cChunk destructor * Fixes #4894 | ||||
* | Use tracing for explosions (#4845) | Tiger Wang | 2020-09-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | * TNT: Implement tracing algorithm + Add intensity tracing * Fix iterating over all players to SendExplosion, even those not in range * Implemented TNT entity interaction * Fixed misaligned destruction tracing * Finalise TNT algorithm - Remove BlockArea and just use chunks Using SetBlock makes it so that we can update everything properly, and does appear to be faster. * BlockInfo learns about explosion attentuation * Rename Explodinator parameters * TNT: pull block destruction into common function Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Cleanup unneeded globals (#4736) | peterbell10 | 2020-05-10 | 1 | -1/+1 |
| | |||||
* | Improve entity position updates (#4701) | Tiger Wang | 2020-05-04 | 1 | -1/+5 |
| | | | | | | | | | * Make puking pickups fly nicer * Improve entity position updates * Move determination of whether a delta is too big for a packet into the protocol handlers + Less jittery movement + Generalise CollectEntity to take any entity | ||||
* | Buttons can now be triggered by arrows. (#4670) | DrButcher | 2020-05-03 | 1 | -0/+1 |
| | | | * Buttons can now be triggered by arrows. | ||||
* | Add cEntity::GetBoundingBox, and use where appropriate. (#4711) | Alexander Harkness | 2020-05-03 | 1 | -0/+3 |
| | | | * Add cEntity::GetBoundingBox, and use where appropriate. | ||||
* | MoveToWorld must always be provided a world | Tiger Wang | 2020-04-18 | 1 | -4/+4 |
| | |||||
* | Only store IDs across ticks | Tiger Wang | 2020-04-18 | 1 | -3/+3 |
| | |||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Prevent player from being destroyed by plugins (#4584) | Alexander Harkness | 2020-03-31 | 1 | -6/+2 |
| | | | | | | | | | | * Prevent player from being destroyed by plugins Add manual binding, bails out with error message if attempted entity to destroy is player. * Improve warnings and documentation, remove automatic binding * Remove old and unnecessary deprecated function | ||||
* | Send respawn packet by default (#4540) | Mat | 2020-03-24 | 1 | -2/+2 |
| | |||||
* | Fix armor protection (#4506) | Mat | 2020-03-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * Fix armor protection * Check min damage * Check min damage * Commit missing changes * Convert to int * Use float * Float some more | ||||
* | Don't send entity velocity for boats (#4488) | Mat | 2020-03-07 | 1 | -4/+4 |
| | | | * Don't send entity velocity for boats | ||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -14/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -1/+5 |
| | |||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 1 | -4/+6 |
| | |||||
* | Change TakeDamageInfo::FinalDamage from int to float (#4359) | Aplaus228 | 2019-08-08 | 1 | -2/+2 |
| | | | | Closes #4357 | ||||
* | Broadcast refactor (#4264) | peterbell10 | 2018-07-24 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | ||||
* | cPawn: Reset last ground height in ResetPosition (#4261) | peterbell10 | 2018-07-23 | 1 | -1/+1 |
| | | | | | Prevents fall damage after teleporting/portaling to a lower height. Fixes #3457 | ||||
* | Rewrite explosion knock back (#4251) | changyong guo | 2018-07-23 | 1 | -1/+10 |
| | | | | | | | 1. Base knockback on an entity's bounding box intersection with the explosion 2. Armor blast protection reduces knockback 3. Don't apply knockback to players flying in creative mode Fixes #4139 | ||||
* | Support swap item between main hand and offhand by press key "F" (#4241) | changyong guo | 2018-06-24 | 1 | -0/+3 |
| | | | | | | | | Hi, I found cuberite don't support to press key "F" to swap items on main hand and offhand, so I implemented this feature. Best regards Changyong | ||||
* | Update m_LastSentPosition in TeleportToCoords and DoMoveToWorld. (#4211) | peterbell10 | 2018-04-11 | 1 | -0/+4 |
| | |||||
* | Rename cEntity swim states (#3996) | Alexander Harkness | 2018-01-14 | 1 | -11/+23 |
| | | | | | | | | | | * 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 | ||||
* | Store Health as a float (#4073) | Fabian | 2017-11-22 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | * Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | ||||
* | Adjust lava damage values (#4020) | Alexander Harkness | 2017-09-12 | 1 | -1/+1 |
| | | | Fixes isue #2925 | ||||
* | Updated APIDoc (#3985) | Lukas Pioch | 2017-09-07 | 1 | -3/+4 |
| | |||||
* | Changed some int parameters to vector parameters (#3937) | Bond-009 | 2017-09-07 | 1 | -1/+1 |
| | |||||
* | Protocol Spawn Position Should Use LastSentPosition (#3929) | Lane Kolbly | 2017-08-30 | 1 | -0/+4 |
| | | | | | | + Added GetLastSentPos * Fixed spawn position bug in 1.8. | ||||
* | Added ShouldSendRespawn parameter to ScheduleMoveToWorld (#3979) | Lane Kolbly | 2017-08-30 | 1 | -1/+2 |
| | |||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -1/+19 |
| | |||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -3/+1 |
| | |||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 2017-07-28 | 1 | -0/+3 |
| | | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | ||||
* | Updated armor cover calculation. (#3858) | Lane Kolbly | 2017-07-23 | 1 | -2/+8 |
| | | | | | | | | * Updated armor damage calculation. + Added lua docs, added casts from float to int. * Changed verbage in docstring and comment. | ||||
* | Entity: Replaced a mutexed counter with a std::atomic. (#3773) | Mattes D | 2017-06-15 | 1 | -4/+6 |
| | |||||
* | Added a nullptr check to cEntity::IsA (#3659) | Marvin Kopf | 2017-04-01 | 1 | -1/+1 |
| | | | Fixes #3603 | ||||
* | Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua. | Lukas Pioch | 2016-12-10 | 1 | -2/+6 |
| | |||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -1/+1 |
| | |||||
* | Updated API documentation. | Mattes D | 2016-07-18 | 1 | -3/+7 |
| | |||||
* | Fixes for boat entities (#3265) | beeduck | 2016-07-18 | 1 | -0/+3 |
| | | | protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted. | ||||
* | Fixed fall damage | Tiger Wang | 2016-06-02 | 1 | -1/+1 |
| | | | | * Fixes #3216 | ||||
* | Fixed death on teleportation or leaving Minecart (#3181) | LogicParrot | 2016-05-03 | 1 | -1/+1 |
| | |||||
* | MoveToWorld defaults to spawnpoint | LogicParrot | 2016-03-30 | 1 | -2/+2 |
| | |||||
* | Proper entity destruction in non-ticking chunks | LogicParrot | 2016-02-19 | 1 | -16/+29 |
| | |||||
* | Fix cPawn pushing | Marvin Kopf | 2016-02-02 | 1 | -0/+3 |
| | | | | cPawn instances can no longer push an entity they are attached to. cEntity now has a IsAttachedTo method. | ||||
* | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 2016-01-22 | 1 | -0/+3 |
| | |||||
* | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 2016-01-21 | 1 | -1/+0 |
| | |||||
* | implement breeding | Gargaj | 2015-11-29 | 1 | -0/+2 |
| | |||||
* | Destroy an ender crystal, damage a dragon when hit by an egg. | Alexander Harkness | 2015-11-05 | 1 | -88/+88 |
| | |||||
* | Implemented the FireResistence potion effects. | bibo38 | 2015-10-31 | 1 | -1/+1 |
| | | | | | This not only provides fire resistence, but also prevents blaze fireballs. See #2556 | ||||
* | Fixed food drain bugs | Tiger Wang | 2015-08-20 | 1 | -22/+22 |
| | |||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -66/+65 |
| | |||||
* | Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. | Lane Kolbly | 2015-06-13 | 1 | -11/+12 |
| | |||||
* | Implemented nether portal scanning code. | Lane Kolbly | 2015-06-10 | 1 | -8/+18 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -2/+2 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | | | | Spaces around some operators are checked. | ||||
* | Changed air drag units to 'interpolated ticks' per second | DevToaster | 2015-03-31 | 1 | -2/+4 |
| | |||||
* | Modified physics for more vanilla-like behavior | DevToaster | 2015-03-31 | 1 | -0/+8 |
| | |||||
* | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -3/+10 |
| | |||||
* | cPlayer should override IsOnGround() | Howaner | 2015-02-07 | 1 | -2/+2 |
| | |||||
* | Added IsOnGround() to cEntity | Howaner | 2015-02-07 | 1 | -0/+3 |
| | |||||
* | Initial convertion of a_Dt to std::chrono | Tycho | 2015-01-11 | 1 | -2/+2 |
| | | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | ||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -96/+100 |
| | |||||
* | Merged branch 'master' of git://github.com/sriehl/MCServer | Mattes D | 2014-10-21 | 1 | -93/+89 |
|\ | |||||
| * | convert old style casts to fix warnings | Steven Riehl | 2014-10-12 | 1 | -94/+90 |
| | | |||||
* | | LuaState: Pushing a cEntity pushes the correct class name. | Mattes D | 2014-10-19 | 1 | -5/+5 |
|/ | | | | This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant. | ||||
* | Float/Ciel: If it's going to use C++11, it might as well take advantage of it | archshift | 2014-10-09 | 1 | -3/+3 |
| | |||||
* | Use static casts instead of C casts, add floor-cast functions | archshift | 2014-10-09 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' into EntityCustomName | Howaner | 2014-09-23 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Entities experience water resistance | Tiger Wang | 2014-09-13 | 1 | -0/+6 |
| | | |||||
* | | Added name tag | Howaner | 2014-09-01 | 1 | -1/+1 |
|/ | |||||
* | Entity.h: Moved constants out of some unnamed enum | archshift | 2014-07-30 | 1 | -14/+14 |
| | |||||
* | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/World.h | ||||
| * | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -1/+1 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-07-23 | 1 | -3/+5 |
| | | |||||
* | | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 2014-07-22 | 1 | -2/+4 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -0/+6 |
|\| | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Added m_TicksAlive to entities, allows projectiles to hit their creators | archshift | 2014-07-20 | 1 | -0/+6 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-07-21 | 1 | -9/+21 |
| | | |||||
* | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | | * Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | ||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -7/+8 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Fixed tabs used for alignment. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | | | | | | | 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 |
| |\ | |||||
| | * | Merge pull request #1193 from mc-server/deathmessages | Mattes D | 2014-07-17 | 1 | -1/+1 |
| | |\ | | | | | | | | | Death messages | ||||
| | | * | Tailored death messages | Tiger Wang | 2014-07-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'origin/master' into potions | archshift | 2014-07-10 | 1 | -2/+2 |
| |\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Entities/Player.cpp src/Entities/ProjectileEntity.cpp | ||||
| | * | | Some Entity.cpp style improvements | Tiger Wang | 2014-06-22 | 1 | -2/+2 |
| | |/ | |||||
| * | | Cave spider now poisons its victim, added IsPawn function to Entity | archshift | 2014-06-17 | 1 | -0/+1 |
| | | | |||||
| * | | Player: made healing instantaneous | archshift | 2014-06-17 | 1 | -1/+1 |
| |/ | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -10/+25 |
|\| | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 2014-06-16 | 1 | -10/+25 |
| | | |||||
* | | Fixed invalid iterators | Tiger Wang | 2014-06-21 | 1 | -1/+9 |
| | | |||||
* | | Implemented PR suggestions | archshift | 2014-06-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef | ||||
* | | Reverted portal creation code | Tiger Wang | 2014-06-14 | 1 | -3/+0 |
| | | | | | | | | It wasn't really working and needs more development | ||||
* | | Portals animate and delay correctly | Tiger Wang | 2014-06-12 | 1 | -2/+8 |
| | | |||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-10 | 1 | -4/+6 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/Entities/Player.cpp src/Entities/Player.h src/Protocol/Protocol125.cpp src/Protocol/Protocol17x.cpp | ||||
| * | Fixed deadlock when moving players to other worlds. | Mattes D | 2014-06-08 | 1 | -2/+3 |
| | | | | | | | | Fixes #1039, fixes #851 | ||||
| * | Added queue for adding entities to cWorld. | Mattes D | 2014-06-08 | 1 | -2/+3 |
| | | | | | | | | This alone doesn't work properly yet, further changes to cPlayer are needed. | ||||
* | | Portal improvements and suggestions | Tiger Wang | 2014-06-10 | 1 | -0/+3 |
| | | |||||
* | | Implemented end and nether portals | Tiger Wang | 2014-05-31 | 1 | -0/+6 |
|/ | |||||
* | Merge pull request #1010 from mc-server/cactidamage | Alexander Harkness | 2014-05-19 | 1 | -0/+3 |
|\ | | | | | Implemented cacti damage | ||||
| * | Implemented cacti damage | Tiger Wang | 2014-05-18 | 1 | -0/+3 |
| | | | | | | | | | | + Implemented cacti damage * Fixed pickup tossing (PR #994 bug) | ||||
* | | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 2014-05-12 | 1 | -0/+3 |
|/ | |||||
* | A bit of reformatting. | madmaxoft | 2014-05-02 | 1 | -5/+10 |
| | |||||
* | Merge branch 'master' into fixes. | madmaxoft | 2014-05-02 | 1 | -10/+25 |
|\ | |||||
| * | Merge pull request #940 from Howaner/GlobalFixes | Mattes D | 2014-04-28 | 1 | -10/+22 |
| |\ | | | | | | | Add entity invulnerable | ||||
| | * | Fixes | Howaner | 2014-04-26 | 1 | -10/+13 |
| | | | |||||
| | * | Change m_InvulnerableTicks description again again :D | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | | |||||
| | * | Change m_InvulnerableTicks description again. | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | | |||||
| | * | Change m_InvulnerableTicks description | Howaner | 2014-04-26 | 1 | -1/+1 |
| | | | |||||
| | * | Add entity invulnerable | Howaner | 2014-04-26 | 1 | -4/+13 |
| | | | |||||
| * | | Further refactored, Reverted Minecart change | archshift | 2014-04-26 | 1 | -1/+1 |
| | | | | | | | | | | | | Other small changes. | ||||
| * | | Moved switch{} out of GetArmorCoverAgainst(). | archshift | 2014-04-26 | 1 | -0/+3 |
| |/ | |||||
* | | More comments! | Tiger Wang | 2014-04-27 | 1 | -2/+9 |
| | | | | | | | | | | * Also fixed a potential issue with position sending - if someone moved slowly enough, their position would never be updated. | ||||
* | | Merge branch 'master' into fixes | Tiger Wang | 2014-04-24 | 1 | -0/+8 |
|\| | | | | | | | | | Conflicts: src/World.h | ||||
| * | Renamed getter and setter for IsFireproof. | archshift | 2014-04-23 | 1 | -2/+2 |
| | | |||||
| * | Fireproof status getter and setter. | archshift | 2014-04-23 | 1 | -0/+5 |
| | | |||||
| * | Fixed indentation and changed m_Fireproof to m_IsFireproof. | archshift | 2014-04-22 | 1 | -2/+2 |
| | | |||||
| * | Lay foundation for fireproof entities. | archshift | 2014-04-22 | 1 | -0/+3 |
| | | | | | | | | Prevent any entities with the m_Fireproof flag from taking fire or lava damage. | ||||
* | | Some change to Entity.cpp | Tiger Wang | 2014-04-23 | 1 | -7/+4 |
|/ | | | | * Added comments to BroadcastMovementUpdate() and the collision tracer | ||||
* | Merge pull request #891 from mc-server/fixes | Mattes D | 2014-04-17 | 1 | -15/+36 |
|\ | | | | | Fixes to redstone & general | ||||
| * | Entities handle chunks properly again | Tiger Wang | 2014-04-12 | 1 | -15/+36 |
| | | | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty | ||||
* | | Added new AI rules | Tiger Wang | 2014-04-17 | 1 | -1/+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 | ||||
* | Documented the units and range for entity rotations. | madmaxoft | 2014-04-03 | 1 | -7/+7 |
| | |||||
* | Ender crystals | andrew | 2014-03-25 | 1 | -11/+13 |
| | |||||
* | Merge branch 'master' into awesometnt | Tiger Wang | 2014-03-18 | 1 | -3/+1 |
|\ | | | | | | | | | Conflicts: src/ChunkMap.cpp | ||||
| * | Unified Vector classes | andrew | 2014-03-11 | 1 | -3/+1 |
| | | |||||
* | | Added extra awesomeness to TNT | Tiger Wang | 2014-03-05 | 1 | -0/+1 |
|/ | | | | | | | + TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug | ||||
* | Merge branch 'master' into itemframes | Tiger Wang | 2014-02-18 | 1 | -0/+2 |
|\ | | | | | | | | | | | Conflicts: src/Entities/Entity.h src/WorldStorage/NBTChunkSerializer.cpp | ||||
| * | Implemented paintings, fixes #689 | Tiger Wang | 2014-02-18 | 1 | -0/+2 |
| | | | | | | | | + Implemented paintings | ||||
* | | Implemented item frames, a part of #689 | Tiger Wang | 2014-02-18 | 1 | -0/+2 |
|/ | | | | | + Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!) | ||||
* | Implemented fall damage for mobs | Tiger Wang | 2014-01-25 | 1 | -0/+5 |
| | | | | | | + Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | ||||
* | All mobs now drown (fixes #54) | Tiger Wang | 2014-01-25 | 1 | -1/+22 |
| | | | | | * Implemented mob drowning * Iron Golems and squids are excluded | ||||
* | Removed unused ReferenceManager | Tiger Wang | 2014-01-24 | 1 | -9/+1 |
| | |||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -2/+2 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -3/+1 |
| | |||||
* | OBSOLETE'd obsolete functions | Tiger Wang | 2014-01-15 | 1 | -2/+2 |
| | |||||
* | Detaching improvements | Tiger Wang | 2014-01-13 | 1 | -1/+1 |
| | | | | | * Players now search for an area around themselves to teleport to when detaching from something | ||||
* | Fixed compilation in VC2008. | madmaxoft | 2013-12-30 | 1 | -2/+4 |
| | | | | Also removed an unused inline header file (yuck). | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -3/+7 |
| | |||||
* | ChunkSender is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -4/+4 |
| | |||||
* | Sorted a few constructors to remove warnings. | madmaxoft | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Added cFloater class. | STRWarrior | 2013-12-19 | 1 | -0/+3 |
| | |||||
* | Added HandleSpeedFromAttachee so an entity can override the function. | STRWarrior | 2013-12-16 | 1 | -0/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-26 | 1 | -0/+1 |
| | | | | | Conflicts: VC2008/MCServer.vcproj | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+445 |