Skip to content
Snippets Groups Projects
  1. Oct 30, 2016
    • Loïc Blot's avatar
      PlayerSAO/LocalPlayer refactor: (#4612) · 9d25242c
      Loïc Blot authored
      * Create UnitSAO, a common part between PlayerSAO & LuaEntitySAO
      * Move breath to PlayerSAO & LocalPlayer
      * Migrate m_yaw from (Remote)Player & LuaEntitySAO to UnitSAO
      * Migrate m_yaw from Player to LocalPlayer for client
      * Move some functions outside of player class to PlayerSAO/RemotePlayer or LocalPlayer depending on which class needs it
      * Move pitch to LocalPlayer & PlayerSAO
      * Move m_position from Player to LocalPlayer
      * Move camera_barely_in_ceiling to LocalPlayer as it's used only there
      * use PlayerSAO::m_base_position for Server side positions
      * remove a unused variable
      * ServerActiveObject::setPos now uses const ref
      * use ServerEnv::loadPlayer unconditionnaly as it creates RemotePlayer only if it's not already loaded
      * Move hp from Player to LocalPlayer
      * Move m_hp from LuaEntitySAO to UnitSAO
      * Use m_hp from PlayerSAO/UnitSAO instead of RemotePlayer
      9d25242c
    • Hugo Locurcio's avatar
      d4332602
  2. Oct 28, 2016
  3. Oct 27, 2016
  4. Oct 26, 2016
  5. Oct 25, 2016
  6. Oct 24, 2016
  7. Oct 21, 2016
  8. Oct 20, 2016
  9. Oct 19, 2016
  10. Oct 17, 2016
  11. Oct 16, 2016
  12. Oct 15, 2016
  13. Oct 14, 2016
  14. Oct 13, 2016
  15. Oct 12, 2016
  16. Oct 11, 2016
  17. Oct 09, 2016
    • Loïc Blot's avatar
      A little cleanup since previous commit · 1b450861
      Loïc Blot authored
      1b450861
    • Loïc Blot's avatar
      Environment cleanup · 70f104be
      Loïc Blot authored
      * Move client list to ServerEnvironment and use RemotePlayer members instead of Player
      * ClientEnvironment only use setLocalPlayer to specify the current player
      * Remove ClientEnvironment dead code on player list (in fact other players are CAO not Player objects)
      * Drop LocalPlayer::getPlayer(xxx) functions which aren't used.
      * Improve a little bit performance by using const ref list for ClientEnvironment::getPlayerNames() & Client::getConnectedPlayerNames()
      * Drop isLocal() function from (Local)Player which is not needed anymore because of previous changes
      
      This change permits to cleanup shared client list which is very old code.
      ClientEnvironment doesn't use player list anymore, it only contains the local player, as addPlayer is only called from Client constructor client side.
      Clients are only CAO on client side, this cleanup permit to remove confusion about player list.
      70f104be
    • Rui's avatar
      Remove unused parameter of GUIVolumeChange · b3fc1334
      Rui authored
      b3fc1334
  18. Oct 08, 2016
Loading