summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h (unfollow)
Commit message (Expand)AuthorFilesLines
2015-06-10Implemented nether portal scanning code.Lane Kolbly1-8/+18
2015-05-24Made -Weverything an error.tycho1-2/+2
2015-05-09More style checking.Mattes D1-2/+2
2015-03-31Changed air drag units to 'interpolated ticks' per secondDevToaster1-2/+4
2015-03-31Modified physics for more vanilla-like behaviorDevToaster1-0/+8
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-3/+10
2015-02-07cPlayer should override IsOnGround()Howaner1-2/+2
2015-02-07Added IsOnGround() to cEntityHowaner1-0/+3
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-2/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-96/+100
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-7/+7
2014-10-19LuaState: Pushing a cEntity pushes the correct class name.Mattes D1-5/+5
2014-10-12convert old style casts to fix warningsSteven Riehl1-94/+90
2014-10-09Float/Ciel: If it's going to use C++11, it might as well take advantage of itarchshift1-3/+3
2014-10-09Use static casts instead of C casts, add floor-cast functionsarchshift1-3/+3
2014-09-13Entities experience water resistanceTiger Wang1-0/+6
2014-09-04Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc"archshift1-3/+3
2014-09-04Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etcarchshift1-3/+3
2014-09-01Added name tagHowaner1-1/+1
2014-07-30Entity.h: Moved constants out of some unnamed enumarchshift1-14/+14
2014-07-24Removed redundant semicolons and re-added warningarchshift1-1/+1
2014-07-23SuggestionsTiger Wang1-3/+5
2014-07-22Speed improvements, crash fixes, & self-suggestionsTiger Wang1-2/+4
2014-07-21SuggestionsTiger Wang1-9/+21
2014-07-20Bug and crash fixesTiger Wang1-6/+9
2014-07-20Added m_TicksAlive to entities, allows projectiles to hit their creatorsarchshift1-0/+6
2014-07-17Fixed tabs used for alignment.madmaxoft1-1/+1
2014-07-17Basic style fixes.madmaxoft1-1/+1
2014-07-17Normalized comments.madmaxoft1-1/+1
2014-07-04Tailored death messagesTiger Wang1-1/+1
2014-06-22Some Entity.cpp style improvementsTiger Wang1-2/+2
2014-06-21Fixed invalid iteratorsTiger Wang1-1/+9
2014-06-17Cave spider now poisons its victim, added IsPawn function to Entityarchshift1-0/+1
2014-06-17Player: made healing instantaneousarchshift1-1/+1
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho1-10/+25
2014-06-16Implemented PR suggestionsarchshift1-1/+1
2014-06-14Removed an unused tolua_end and tolua_begin pair.madmaxoft1-2/+0
2014-06-14Refactored speed-setting to use a common function for all cases.madmaxoft1-16/+23
2014-06-14Reverted portal creation codeTiger Wang1-3/+0
2014-06-12Portals animate and delay correctlyTiger Wang1-2/+8
2014-06-11Player.h: Moved doxy-comments to Entity.harchshift1-0/+7
2014-06-10Portal improvements and suggestionsTiger Wang1-0/+3
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D1-2/+3
2014-06-08Added queue for adding entities to cWorld.Mattes D1-2/+3
2014-05-31Implemented end and nether portalsTiger Wang1-0/+6
2014-05-22cEntity::SetSpeed(a_Vector3d) isn't virtualized anymoreSTRWarrior1-1/+1
2014-05-22cPlayer overrides the SetSpeedXX functionsSTRWarrior1-3/+3
2014-05-22Both SetSpeed functions are now overridden by cPlayerSTRWarrior1-5/+8
2014-05-18Implemented cacti damageTiger Wang1-0/+3
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew1-0/+3
2014-05-02A bit of reformatting.madmaxoft1-5/+10
2014-04-27More comments!Tiger Wang1-2/+9
2014-04-26Further refactored, Reverted Minecart changearchshift1-1/+1
2014-04-26FixesHowaner1-10/+13
2014-04-26Moved switch{} out of GetArmorCoverAgainst().archshift1-0/+3
2014-04-26Change m_InvulnerableTicks description again again :DHowaner1-1/+1
2014-04-26Change m_InvulnerableTicks description again.Howaner1-1/+1
2014-04-26Change m_InvulnerableTicks descriptionHowaner1-1/+1
2014-04-26Add entity invulnerableHowaner1-4/+13
2014-04-23Some change to Entity.cppTiger Wang1-7/+4
2014-04-23Renamed getter and setter for IsFireproof.archshift1-2/+2
2014-04-23Fireproof status getter and setter.archshift1-0/+5
2014-04-22Fixed indentation and changed m_Fireproof to m_IsFireproof.archshift1-2/+2
2014-04-22Lay foundation for fireproof entities.archshift1-0/+3
2014-04-17Added new AI rulesTiger Wang1-1/+2
2014-04-12Entities handle chunks properly againTiger Wang1-15/+36
2014-04-03Documented the units and range for entity rotations.madmaxoft1-7/+7
2014-03-25Ender crystalsandrew1-11/+13
2014-03-11Unified Vector classesandrew1-3/+1
2014-03-05Added extra awesomeness to TNTTiger Wang1-0/+1
2014-02-18Implemented paintings, fixes #689Tiger Wang1-0/+2
2014-02-18Implemented item frames, a part of #689Tiger Wang1-0/+2
2014-02-03Fixed compilationtonibm191-1/+0
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm191-0/+1
2014-01-25Implemented fall damage for mobsTiger Wang1-0/+5
2014-01-25All mobs now drown (fixes #54)Tiger Wang1-1/+22
2014-01-24Removed unused ReferenceManagerTiger Wang1-9/+1
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft1-2/+2
2014-01-16Removed obsoleted functionsTiger Wang1-3/+1
2014-01-15OBSOLETE'd obsolete functionsTiger Wang1-2/+2
2014-01-13Detaching improvementsTiger Wang1-1/+1
2013-12-30Fixed compilation in VC2008.madmaxoft1-2/+4
2013-12-22merged in warnings changesTycho Bickerstaff1-4/+10
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-3/+7
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff1-4/+4
2013-12-20Sorted a few constructors to remove warnings.madmaxoft1-1/+1
2013-12-19Added cFloater class.STRWarrior1-0/+3
2013-12-16Added HandleSpeedFromAttachee so an entity can override the function.STRWarrior1-0/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-03Added cEntity:GetYaw() and cEntity:SetYaw().madmaxoft1-2/+4
2013-10-13Eight round of fixesTiger Wang1-13/+8
2013-10-09Second round of fixesTiger Wang1-66/+1
2013-10-08Initial round of fixesTiger Wang1-17/+27
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-0/+63
2013-10-08Cleaned up cEntity's enums.madmaxoft1-23/+20
2013-09-27Fixed a typo in cEntity doxycomments.madmaxoft1-4/+4
2013-09-11Added void damageTiger Wang1-0/+6
2013-09-08Fixed a bunch of stuffTiger Wang1-0/+2
2013-09-07Arrows have proper yaw and pitch when shot, and stop when they hit a block.madmaxoft1-0/+6
2013-09-06Implemented SteerVehicle packet.madmaxoft1-0/+2
2013-09-06Implemented SteerVehicle packet.madmaxoft1-0/+2
2013-09-03Added cEntity's gravity to the Lua API.madmaxoft1-0/+4
2013-08-29Implemented xoft's suggestions [SEE DESC]Tiger Wang1-3/+3
2013-08-27Preliminary Minecart physics handling [SEE DESC]Tiger Wang1-3/+3
2013-08-27Entities fall 3x slower in watermadmaxoft1-1/+1
2013-08-22Added skeleton code for projectile spawning.madmaxoft1-3/+3
2013-08-22Removed unwanted VirtualHooks remnants.madmaxoft1-2/+1
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-3/+3
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-1/+2
2013-07-07Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore.madmaxoft@gmail.com1-1/+4
2013-07-01Added DamageType translation to APImadmaxoft@gmail.com1-42/+0
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-15/+189
2013-06-25Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code.madmaxoft@gmail.com1-1/+2
2013-06-15Entity: Added IsTNTnielsbreu@gmail.com1-0/+1
2013-06-04cEntity: fixed doxy commentsmadmaxoft@gmail.com1-4/+4
2013-05-21Added basic functions for width and height for Entitieskeyboard.osh@gmail.com1-11/+19
2013-05-19Fixed entity chunking.madmaxoft@gmail.com1-2/+2
2013-04-28Entity: fixed mass declarationmadmaxoft@gmail.com1-1/+1
2013-04-28cEntity: Added mass to entities.keyboard.osh@gmail.com1-0/+9
2013-04-22Moved 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.com1-1/+5
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-0/+1
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-21/+15
2013-04-02Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdatekeyboard.osh@gmail.com1-0/+7
2013-03-23Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.keyboard.osh@gmail.com1-1/+10
2013-03-22Implemented 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.com1-7/+25
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-23/+27
2013-03-03Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com1-2/+20
2013-03-01Previous commit was missing the Entity.h filemadmaxoft@gmail.com1-4/+8
2013-02-27Minecart entity now supports IsA() self-identificationmadmaxoft@gmail.com1-4/+5
2013-02-21Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com1-2/+12
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-0/+1
2013-02-10Removed useless logging from cEntity::GetLookVector()madmaxoft@gmail.com1-9/+9
2013-02-03Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorldfaketruth1-25/+7
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-4/+4
2012-12-22MTRand 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.com1-1/+3
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-9/+21
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-17/+39
2012-12-21Replaced "const double &" with plain "double" for simplicitymadmaxoft@gmail.com1-26/+26
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-0/+0
2012-08-29Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself.madmaxoft@gmail.com1-1/+0
2012-08-28Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.madmaxoft@gmail.com1-0/+10
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-3/+6
2012-08-19Window, Chest, Furnace and Pawn are not using cPackets at allmadmaxoft@gmail.com1-19/+31
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-148/+148
2012-04-11Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core pluginfaketruth1-3/+3
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com1-3/+1
2012-03-23Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com1-1/+3
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-5/+5
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-3/+4
2012-02-20Removed some more cChunkPtr usagemadmaxoft@gmail.com1-0/+4
2012-02-20Using own ASSERT() that logs to filefaketruth1-1/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-12/+12
2012-02-13Rewritten 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.com1-18/+45
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-0/+1
2011-12-26Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth1-1/+1
2011-12-25- fixed the code from the last commit :)lapayo94@gmail.com1-1/+1
2011-11-02Fixed some "Entity was not found in any chunk!" warningsfaketruth1-1/+4
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-1/+5
2011-10-03MCServer c++ source filesfaketruth1-0/+108