summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h (unfollow)
Commit message (Expand)AuthorFilesLines
2014-07-02Fixed player teleport food drainTiger Wang1-0/+5
2014-06-29Properly implemented enderchestsTiger Wang1-2/+9
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-3/+0
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift1-1/+1
2014-06-17Player: made healing instantaneousarchshift1-1/+1
2014-06-17Player: Removed food-poisoning-specific code, set duration to 30 secondsarchshift1-6/+1
2014-06-17Entity effects: Added handlers for entity effectsarchshift1-0/+3
2014-06-16Add bow charging animationHowaner1-1/+1
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho1-2/+9
2014-06-15Players are saved regularlyTiger Wang1-1/+4
2014-06-14Refactored speed-setting to use a common function for all cases.madmaxoft1-9/+4
2014-06-11Player.h: Moved doxy-comments to Entity.harchshift1-3/+3
2014-06-08Added queue for adding entities to cWorld.Mattes D1-0/+2
2014-05-22Added doxy-commentsSTRWarrior1-6/+8
2014-05-22cEntity::SetSpeed(a_Vector3d) isn't virtualized anymoreSTRWarrior1-1/+1
2014-05-22cPlayer overrides the SetSpeedXX functionsSTRWarrior1-1/+5
2014-05-22Both SetSpeed functions are now overridden by cPlayerSTRWarrior1-1/+4
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew1-0/+3
2014-05-13Fixesandrew1-6/+3
2014-05-12Movement Statisticsandrew1-0/+6
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew1-0/+11
2014-05-11Statistic Managerandrew1-0/+7
2014-04-26Add entity invulnerableHowaner1-1/+1
2014-04-23Some change to Entity.cppTiger Wang1-3/+0
2014-04-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+1
2014-04-05Added cPlayer:SendRotation() API function.madmaxoft1-0/+6
2014-03-20Plugins can set flying speed.madmaxoft1-72/+88
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft1-5/+9
2014-03-09Beds now work properly fixes #707Tiger Wang1-3/+14
2014-03-09CheckBlockInteractionsRate() fixed & enabledTiger Wang1-10/+1
2014-02-16Links sent via chat messages are clickable.madmaxoft1-1/+2
2014-02-16Fixed minor formatting issues from #682Tiger Wang1-2/+0
2014-02-16Add Exp Bottle EffectsHowaner1-0/+2
2014-02-15Implemented cCompositeChat.madmaxoft1-0/+1
2014-02-07Improved chat messaging functionsTiger Wang1-7/+8
2014-02-06Added more chat functionsTiger Wang1-1/+0
2014-02-05Removed deprecated HasCommand functionSTRWarrior1-1/+0
2014-02-05Fixed annoying creative on fire bugTiger Wang1-0/+3
2014-02-04Added more SendMessageXXX() functionsTiger Wang1-0/+4
2014-02-03Added SendMessageXXX() to cPlayerTiger Wang1-0/+3
2014-01-25Implemented fall damage for mobsTiger Wang1-1/+1
2014-01-25All mobs now drown (fixes #54)Tiger Wang1-22/+0
2014-01-24Fixed spacing and doxycomments.Mike Hunsinger1-3/+3
2014-01-23Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger1-1/+8
2014-01-20Scoreboard deserializationandrew1-2/+5
2014-01-19Basic scoreboard implementationandrew1-1/+10
2014-01-13Detaching improvementsTiger Wang1-0/+2
2013-12-22merged in warnings changesTycho Bickerstaff1-2/+2
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-1/+1
2013-12-21Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior1-0/+3
2013-12-21Root is now warnings cleanTycho Bickerstaff1-2/+2
2013-12-20Sorted a few constructors to remove warnings.madmaxoft1-3/+6
2013-12-19Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior1-0/+10
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft1-2/+0
2013-12-15Renamed ShootTo function to ForceSetSpeed.STRWarrior1-2/+2
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior1-0/+3
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior1-1/+13
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-21Exported static XP calculation to Lua API.madmaxoft1-10/+8
2013-11-16edited comment and changed error behavior of DeltaXpDaniel O'Brien1-1/+2
2013-11-16updated plugin again...Daniel O'Brien1-1/+1
2013-11-16removed SpendExperience and changed AddExperience to handle removing XpDaniel O'Brien1-5/+2
2013-11-16fixed bug and added SpendExperience()Daniel O'Brien1-0/+4
2013-11-16fix possible threadlock issue, changed function names to be closer to standardDaniel O'Brien1-8/+15
2013-11-15finished #143 I believeDaniel O'Brien1-0/+2
2013-11-15added cProtocol function to pass xp to clientDaniel O'Brien1-7/+7
2013-11-14luaExportDaniel O'Brien1-0/+5
2013-11-13changed function nameDaniel O'Brien1-3/+3
2013-11-13minor changesDaniel O'Brien1-1/+1
2013-11-13changed name conventionDaniel O'Brien1-3/+3
2013-11-13Fixed problems with code style etcDaniel O'Brien1-21/+16
2013-11-13Player Xp, includes get/set and addExperienceDaniel O'Brien1-1/+1
2013-11-13Player XpDaniel O'Brien1-1/+43
2013-11-03Added cPlayer::GetEffectiveGameMode().madmaxoft1-0/+4
2013-10-24Cleanup in cPlayer.madmaxoft1-2/+4
2013-10-24Unified cPlayer's Heal() function with cEntity's.madmaxoft1-6/+9
2013-08-30Moved throw pos and speed calculation from cProjectileEntity into cPlayer.madmaxoft1-1/+7
2013-08-30Shooting a bow kinda works.madmaxoft1-0/+15
2013-08-19Debuggers: Added continuous hunger reporting.madmaxoft1-2/+5
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-2/+2
2013-08-13Clients are now ticked in cServer first, then in cWorld once they get assigned a world.madmaxoft1-1/+1
2013-08-09Removed the need to recalculate whether player is under water in ApplyFoodExhaustionJames Ravenscroft1-5/+7
2013-08-09Added IsSwimming and IsSubmerged flags and access methodsJames Ravenscroft1-1/+13
2013-08-08Made comments more readable by adding space between // and text content. Added /// doxygen syntax comments to declarationsJames Ravenscroft1-2/+2
2013-08-08Fixed the formatting issues in player cpp filesJames Ravenscroft1-8/+8
2013-08-08Made player drowning implementationJames Ravenscroft1-1/+12
2013-08-08Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft1-1/+1
2013-07-28Player eating is now properly broadcast to other players.madmaxoft1-10/+30
2013-07-28Implemented basic eating support.madmaxoft1-0/+13
2013-07-28Added cPlayer::IsGameModeXXX() and cWorld::IsGameModeXXX() functions.madmaxoft1-1/+12
2013-07-12First implementation of movement-related hunger and APImadmaxoft@gmail.com1-15/+47
2013-07-07Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com1-1/+31
2013-07-03Fixed player moving between worlds.madmaxoft@gmail.com1-1/+1
2013-07-01Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com1-4/+4
2013-06-04Implemented proper player crouching.madmaxoft@gmail.com1-0/+8
2013-06-02LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com1-3/+3
2013-05-30LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com1-7/+17
2013-05-30Implemented left-click inventory paintingmadmaxoft@gmail.com1-4/+18
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-2/+4
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-2/+1
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-0/+2
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-2/+2
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-1/+1
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-38/+39
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/+1
2012-12-21Fixed linux compilationmadmaxoft@gmail.com1-2/+0
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-1/+3
2012-12-21Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com1-12/+43
2012-11-27Added initial adventure mode supportluksor111@gmail.com1-0/+1
2012-11-11Cleanup: Removed deprecated functions from Lua APImadmaxoft@gmail.com1-2/+0
2012-10-18Converted some const char*s and std::strings to AStringsfaketruth1-4/+8
2012-10-14Completely removed support for old style Lua plugins (can use both Plugin and NewPlugin in settings.ini for now)faketruth1-6/+6
2012-10-06Lua plugins can get player's equipped itemmadmaxoft@gmail.com1-1/+1
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+2
2012-09-20Refactored windows.madmaxoft@gmail.com1-8/+12
2012-08-28Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.madmaxoft@gmail.com1-1/+1
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-3/+7
2012-08-19Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle.madmaxoft@gmail.com1-5/+6
2012-08-18Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects.madmaxoft@gmail.com1-0/+1
2012-08-10Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL)madmaxoft@gmail.com1-1/+1
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-1/+2
2012-07-17Simple health regeneration systemlapayo94@gmail.com1-3/+17
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-146/+146
2012-05-29Refactored item-eating from cClientHandle into cPlayermadmaxoft@gmail.com1-2/+7
2012-03-16Got rid of cPlayer::sPlayerStatefaketruth1-6/+13
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-12/+15
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-4/+8
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-3/+3
2012-01-31Changed how Lua handles the (Post)Params in the HTTPRequest of a WebPluginfaketruth1-1/+1
2012-01-30Added a WebAdmin interface to view users their groups, and the permissions of groups.faketruth1-0/+3
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-2/+4
2012-01-01CreativeInventory Updatelapayo94@gmail.com1-2/+1
2012-01-01- implemented separated inventory for creative mode (cSurvivalInventory and cCreativeInventory)lapayo94@gmail.com1-2/+8
2011-12-29 - Initial food handling by cedeelmtilden@gmail.com1-0/+1
2011-12-28- implemented the fire simulation in native c++ (cFireSimulator)lapayo94@gmail.com1-0/+2
2011-12-28- Implemented Drops from Burning animalslapayo94@gmail.com1-19/+12
2011-12-27 - Added basic ping handling.mtilden@gmail.com1-1/+1
2011-12-26Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld()faketruth1-0/+2
2011-12-26 - Added timer to cPlayer PlayerListItem because sending the packets like minecraft does (every tick per player) is 20 pps per client to each client and was causing Kicks for having too high of a packet queuemtilden@gmail.com1-0/+3
2011-12-26 - Make Color was using 2 extra characters which took 2 characters off the 16 max (including color codes) for scoreboard displaymtilden@gmail.com1-1/+1
2011-12-25Hold item is now dropped when inventory is closedlapayo94@gmail.com1-1/+1
2011-11-10Can now set gamemode via lua.admin@omencraft.com1-0/+1
2011-11-10Made block action sanity checks more robust, water buckets, lava buckets and empty buckets should all now work.admin@omencraft.com1-3/+6
2011-11-09Added m_IP to player class and binding to get IP for LUA. (Probably should use m_pState)admin@omencraft.com1-1/+4
2011-11-02Fixed some "Entity was not found in any chunk!" warningsfaketruth1-1/+3
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-0/+2
2011-11-01Put in some sanity checks to ensure players don't interact with blocks too quickly. Changed gamemode to be player based. (MCServer crashes when picking up an item. Need to find and fix bug.)admin@omencraft.com1-2/+10
2011-10-21Compiles for linuxfaketruth1-0/+1
2011-10-03MCServer c++ source filesfaketruth1-0/+96