summaryrefslogtreecommitdiffstats
path: root/source/Player.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Added back the required extra line in player.cppAlexander Harkness2013-08-101-0/+1
* Deleting cPlayer now does LOGD instead of LOGTiger Wang2013-08-101-2/+1
* Merge pull request #55 from mc-server/falldamage-teleportAlexander Harkness2013-08-091-0/+1
|\
| * Fixed stupid syntax error (thanks build system).Alexander Harkness2013-08-091-1/+1
| * Keep players from taking damage when teleporting. (Hopefully).Alexander Harkness2013-08-091-0/+1
* | Fixed some formatting issues I accidentally introducedJames Ravenscroft2013-08-091-11/+12
* | Removed the need to recalculate whether player is under water in ApplyFoodExhaustionJames Ravenscroft2013-08-091-11/+3
* | Added IsSwimming and IsSubmerged flags and access methodsJames Ravenscroft2013-08-091-9/+28
* | Fixed food handler for mushroom soup - proper food level and saturation are applied and the player receives a wooden bowl back after nommingJames Ravenscroft2013-08-081-0/+7
|/
* Made comments more readable by adding space between // and text content. Added /// doxygen syntax comments to declarationsJames Ravenscroft2013-08-081-7/+7
* Fixed the formatting issues in player cpp filesJames Ravenscroft2013-08-081-31/+30
* Made player drowning implementationJames Ravenscroft2013-08-081-1/+44
* Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks.madmaxoft2013-08-081-3/+7
* New players get full healthmadmaxoft2013-08-011-4/+5
* Fixed inverted sanity check in SetGameMode()madmaxoft2013-07-301-1/+1
* Changed everyting to Unix line endings.Alexander Harkness2013-07-291-1423/+1423
* Player eating is now properly broadcast to other players.madmaxoft2013-07-281-1/+1
* Implemented basic eating support.madmaxoft2013-07-281-0/+58
* Hunger-per-distance is calculated only for the XZ distancemadmaxoft2013-07-281-0/+1
* Player food level is reset on respawnmadmaxoft2013-07-281-0/+4
* Added cPlayer::IsGameModeXXX() and cWorld::IsGameModeXXX() functions.madmaxoft2013-07-281-1/+35
* Hunger: If a player dies the food level resets.STRWarrior2013-07-271-1325/+1326
* Removed debug-logging the player movement in each tickmadmaxoft@gmail.com2013-07-261-1/+0
* First implementation of movement-related hunger and APImadmaxoft@gmail.com2013-07-121-69/+214
* Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.madmaxoft@gmail.com2013-07-071-0/+54
* Improved function names for protocol packet sending; alpha-sorted the function listsmadmaxoft@gmail.com2013-07-071-3/+3
* Fixed a crash when moving a player to a non-existent world (reported by tonibm19)madmaxoft@gmail.com2013-07-051-1/+1
* Fixed player moving between worlds.madmaxoft@gmail.com2013-07-031-19/+30
* Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com2013-07-011-11/+14
* Added respawn screen when switching worlds.nielsbreu@gmail.com2013-06-161-1/+2
* Implemented proper player crouching.madmaxoft@gmail.com2013-06-041-0/+18
* LuaWindow: Fixed memory leaks with unclosed windowsmadmaxoft@gmail.com2013-06-021-5/+5
* Added the OnClosing callback to cLuaWindow APImadmaxoft@gmail.com2013-05-301-5/+16
* Window contents are sent whenever the window is opened by a player.madmaxoft@gmail.com2013-05-301-0/+1
* LuaWindow: Initial code, the window can be opened, but not much manipulatedmadmaxoft@gmail.com2013-05-301-6/+23
* Implemented left-click inventory paintingmadmaxoft@gmail.com2013-05-301-0/+30
* Moved BlockEntities to a separate foldermadmaxoft@gmail.com2013-05-281-1/+1
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-241-13/+5
* Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com2013-05-191-10/+12
* Empty permission is always grantedmadmaxoft@gmail.com2013-05-191-1/+7
* Replaced MIN / MAX with std::min and std::max (pt 2)madmaxoft@gmail.com2013-05-071-9/+7
* cPlayer now uses BroadcastMovementUpdate during its Tick functionkeyboard.osh@gmail.com2013-04-191-40/+6
* Proper entity removal functionsmadmaxoft@gmail.com2013-04-131-1/+1
* Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com2013-04-131-8/+7
* Fixed personal crafting grid not being tossed on inventory close.madmaxoft@gmail.com2013-04-041-19/+0
* Pawn, Player: fixed asserts when teleporting players outside of the world (setting spawn Y to 256)madmaxoft@gmail.com2013-04-011-9/+20
* Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions.keyboard.osh@gmail.com2013-03-231-1/+1
* 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.com2013-03-221-29/+29
* Pickups are now being saved into Anvil.madmaxoft@gmail.com2013-03-091-1/+1
* Fixed random teleporting into the void when leaving minecartsmadmaxoft@gmail.com2013-03-051-4/+9
* Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com2013-03-031-1/+11
* Changed HOOK_PLAYER_MOVED to HOOK_PLAYER_MOVING to match the scheme used for names.madmaxoft@gmail.com2013-01-261-1/+1
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-121-2/+2
* 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.com2012-12-221-5/+2
* Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com2012-12-211-2/+2
* Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com2012-12-211-6/+0
* Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested)madmaxoft@gmail.com2012-12-211-15/+24
* Fixed fall damage againluksor111@gmail.com2012-12-151-1/+1
* Fixed warnings in Player.cppluksor111@gmail.com2012-11-271-2/+2
* Added initial adventure mode supportluksor111@gmail.com2012-11-271-2/+6
* Fixed certain blocks crashing clients when minedluksor111@gmail.com2012-11-261-1/+1
* Refactored the world time.madmaxoft@gmail.com2012-11-011-5/+5
* Fixed issues with pickups. sebi.noreply@gmail.com2012-10-241-2/+9
* Converted some const char*s and std::strings to AStringsfaketruth2012-10-181-6/+35
* Fixed initial player head rotation when a player is being spawned on another clientfaketruth2012-09-291-1/+4
* SocketThread: clients aren't double-removed anymore.madmaxoft@gmail.com2012-09-291-1/+4
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-241-0/+1019