Changeset 2171 for code/trunk/src/orxonox/overlays
- Timestamp:
- Nov 10, 2008, 12:05:03 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/objecthierarchy merged: 2111-2115,2123,2132-2134,2143-2144,2153-2158,2160-2169
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc
r2087 r2171 40 40 #include <OgrePanelOverlayElement.h> 41 41 #include "util/Convert.h" 42 #include "util/Exception.h" 42 43 #include "util/String.h" 44 #include "core/Core.h" 43 45 #include "core/CoreIncludes.h" 44 46 #include "core/XMLPort.h" … … 58 60 { 59 61 RegisterObject(OrxonoxOverlay); 62 63 if (!Core::showsGraphics()) 64 ThrowException(NoGraphics, "Can't create OrxonoxOverlay, graphics engine not initialized"); 60 65 61 66 // add this overlay to the static map of OrxonoxOverlays -
code/trunk/src/orxonox/overlays/hud/ChatOverlay.cc
r2087 r2171 38 38 #include "network/ClientInformation.h" 39 39 40 #include " LevelManager.h"40 #include "PlayerManager.h" 41 41 #include "objects/infos/PlayerInfo.h" 42 42 #include "overlays/console/InGameConsole.h" … … 72 72 std::string text; 73 73 74 if (senderID != network::CLIENTID_UNKNOWN)74 if (senderID != CLIENTID_UNKNOWN) 75 75 { 76 76 std::string name = "unknown"; 77 77 78 PlayerInfo* player = LevelManager::getInstance().getClient(senderID);78 PlayerInfo* player = PlayerManager::getInstance().getClient(senderID); 79 79 if (player) 80 80 name = player->getName(); -
code/trunk/src/orxonox/overlays/hud/ChatOverlay.h
r2087 r2171 39 39 namespace orxonox 40 40 { 41 class _OrxonoxExport ChatOverlay : public OverlayText, public network::ChatListener41 class _OrxonoxExport ChatOverlay : public OverlayText, public ChatListener 42 42 { 43 43 public:
Note: See TracChangeset
for help on using the changeset viewer.