Changeset 3196 for code/trunk/src/orxonox/overlays/stats
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/stats/CMakeLists.txt
r2710 r3196 3 3 Scoreboard.cc 4 4 Stats.cc 5 StatsTest.cc6 5 ) -
code/trunk/src/orxonox/overlays/stats/CreateLines.cc
r3110 r3196 26 26 27 27 #include "CreateLines.h" 28 29 #include <string>30 #include <OgreOverlay.h>31 #include <OgreOverlayElement.h>32 #include <OgreOverlayManager.h>33 #include <OgreOverlayContainer.h>34 35 #include "util/Convert.h"36 #include "util/Debug.h"37 #include "core/CoreIncludes.h"38 #include "core/ConfigValueIncludes.h"39 28 40 29 #include "overlays/OverlayText.h" -
code/trunk/src/orxonox/overlays/stats/CreateLines.h
r2662 r3196 28 28 #define _CreateLines_H__ 29 29 30 31 30 #include "OrxonoxPrereqs.h" 32 #include <OgrePrerequisites.h>33 #include <OgreBorderPanelOverlayElement.h>34 #include <OgreTextAreaOverlayElement.h>35 36 #include "overlays/OrxonoxOverlay.h"37 #include "objects/Tickable.h"38 39 31 40 32 namespace orxonox -
code/trunk/src/orxonox/overlays/stats/Scoreboard.cc
r3110 r3196 27 27 #include "Scoreboard.h" 28 28 29 #include <string>30 #include <OgreOverlay.h>31 #include <OgreOverlayElement.h>32 #include <OgreOverlayManager.h>33 #include <OgreOverlayContainer.h>34 35 29 #include "util/Convert.h" 36 #include "util/Debug.h"37 30 #include "core/CoreIncludes.h" 38 #include "core/ConfigValueIncludes.h"39 31 #include "objects/gametypes/Gametype.h" 40 32 #include "objects/infos/PlayerInfo.h" … … 101 93 for (std::map<PlayerInfo*, Player>::const_iterator it = playerList.begin(); it != playerList.end(); ++it) 102 94 { 103 this->lines_[index]->setPlayerName( omni_cast<std::string>(it->first->getName()));104 this->lines_[index]->setScore( omni_cast<std::string>(it->second.frags_));105 this->lines_[index]->setDeaths( omni_cast<std::string>(it->second.killed_));95 this->lines_[index]->setPlayerName(multi_cast<std::string>(it->first->getName())); 96 this->lines_[index]->setScore(multi_cast<std::string>(it->second.frags_)); 97 this->lines_[index]->setDeaths(multi_cast<std::string>(it->second.killed_)); 106 98 index++; 107 99 } -
code/trunk/src/orxonox/overlays/stats/Scoreboard.h
r2662 r3196 30 30 31 31 #include "OrxonoxPrereqs.h" 32 #include <OgrePrerequisites.h>33 #include <OgreBorderPanelOverlayElement.h>34 #include <OgreTextAreaOverlayElement.h>35 32 33 #include <string> 34 #include <vector> 35 #include "interfaces/Tickable.h" 36 36 #include "overlays/OrxonoxOverlay.h" 37 #include "objects/Tickable.h"38 39 37 40 38 namespace orxonox … … 42 40 class _OrxonoxExport Scoreboard : public OrxonoxOverlay, public Tickable 43 41 { 44 45 42 public: // functions 46 43 Scoreboard(BaseObject* creator); -
code/trunk/src/orxonox/overlays/stats/Stats.cc
r3110 r3196 30 30 31 31 #include <string> 32 #include <OgreOverlay.h>33 #include <OgreOverlayElement.h>34 32 #include <OgreOverlayManager.h> 35 #include <Ogre OverlayContainer.h>33 #include <OgreBorderPanelOverlayElement.h> 36 34 37 #include "util/Convert.h" 38 #include "util/Debug.h" 35 #include "util/String.h" 39 36 #include "core/CoreIncludes.h" 40 37 #include "core/ConfigValueIncludes.h" -
code/trunk/src/orxonox/overlays/stats/Stats.h
r2662 r3196 30 30 #define _Stats_H__ 31 31 32 #include "OrxonoxPrereqs.h" 32 33 33 #include "OrxonoxPrereqs.h" 34 #include <OgrePrerequisites.h> 35 #include <OgreBorderPanelOverlayElement.h> 36 #include <OgreTextAreaOverlayElement.h> 37 34 #include "util/OgreForwardRefs.h" 35 #include "interfaces/Tickable.h" 38 36 #include "overlays/OrxonoxOverlay.h" 39 #include "objects/Tickable.h"40 41 37 42 38 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.