summaryrefslogtreecommitdiffstats
path: root/source/Entities/Player.h (unfollow)
Commit message (Expand)AuthorFilesLines
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