Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 29, 2009, 10:19:38 PM (15 years ago)
Author:
landauf
Message:

merged libraries branch back to trunk

Location:
code/trunk
Files:
3 deleted
28 edited
1 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/overlays/CMakeLists.txt

    r3099 r5693  
    22  OrxonoxOverlay.cc
    33  OverlayGroup.cc
     4)
     5
     6SET_SOURCE_FILES(OVERLAYS_SRC_FILES
    47  OverlayText.cc
    58  FadeoutText.cc
     
    710)
    811
    9 ADD_SUBDIRECTORY(console)
    1012ADD_SUBDIRECTORY(debug)
    1113ADD_SUBDIRECTORY(hud)
    12 ADD_SUBDIRECTORY(map)
    13 ADD_SUBDIRECTORY(notifications)
    1414ADD_SUBDIRECTORY(stats)
    1515
     16ORXONOX_ADD_LIBRARY(overlays
     17  MODULE
     18  FIND_HEADER_FILES
     19  DEFINE_SYMBOL
     20    "OVERLAYS_SHARED_BUILD"
     21  PCH_FILE
     22    ../OrxonoxPrecompiledHeaders.h
     23  LINK_LIBRARIES
     24    orxonox
     25  SOURCE_FILES ${OVERLAYS_SRC_FILES}
     26)
  • code/trunk/src/orxonox/overlays/FadeoutText.h

    r3196 r5693  
    3030#define _FadeoutText_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "tools/Timer.h"
    35 #include "interfaces/Tickable.h"
     35#include "tools/interfaces/Tickable.h"
    3636#include "overlays/OverlayText.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport FadeoutText : public OverlayText, public Tickable
     40    class _OverlaysExport FadeoutText : public OverlayText, public Tickable
    4141    {
    4242        public:
  • code/trunk/src/orxonox/overlays/GUIOverlay.cc

    r3370 r5693  
    3636#include "core/GUIManager.h"
    3737#include "core/XMLPort.h"
     38#include "objects/infos/PlayerInfo.h"
    3839
    3940namespace orxonox
     
    7980    }
    8081
     82    void GUIOverlay::setGUIName(const std::string& name)
     83    {
     84        this->guiName_ = name;
     85        GUIManager::getInstance().setPlayer(name, orxonox_cast<PlayerInfo*>(this->getOwner()));
     86    }
    8187}
  • code/trunk/src/orxonox/overlays/GUIOverlay.h

    r3196 r5693  
    3030#define _GUIOverlay_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include <string>
     
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport GUIOverlay : public OrxonoxOverlay
     39    class _OverlaysExport GUIOverlay : public OrxonoxOverlay
    4040    {
    4141        public:
     
    4646            virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
    4747
    48             inline void setGUIName(const std::string& name) { this->guiName_ = name; }
     48            void setGUIName(const std::string& name);
    4949            inline const std::string& getGUIName() const { return this->guiName_; }
    5050
  • code/trunk/src/orxonox/overlays/OverlayText.h

    r3196 r5693  
    3030#define _OverlayText_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include <string>
     
    3939namespace orxonox
    4040{
    41     class _OrxonoxExport OverlayText : public OrxonoxOverlay
     41    class _OverlaysExport OverlayText : public OrxonoxOverlay
    4242    {
    4343    public:
  • code/trunk/src/orxonox/overlays/debug/CMakeLists.txt

    r2710 r5693  
    1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES
     1ADD_SOURCE_FILES(OVERLAYS_SRC_FILES
    22  DebugFPSText.cc
    33  DebugRTRText.cc
  • code/trunk/src/orxonox/overlays/debug/DebugFPSText.h

    r3196 r5693  
    3030#define _DebugFPSText_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    34 #include "interfaces/Tickable.h"
     34#include "tools/interfaces/Tickable.h"
    3535#include "overlays/OverlayText.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport DebugFPSText : public OverlayText, public Tickable
     39    class _OverlaysExport DebugFPSText : public OverlayText, public Tickable
    4040    {
    4141    public:
  • code/trunk/src/orxonox/overlays/debug/DebugRTRText.h

    r3196 r5693  
    3030#define _DebugRTRText_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    34 #include "interfaces/Tickable.h"
     34#include "tools/interfaces/Tickable.h"
    3535#include "overlays/OverlayText.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport DebugRTRText : public OverlayText, public Tickable
     39    class _OverlaysExport DebugRTRText : public OverlayText, public Tickable
    4040    {
    4141    public:
  • code/trunk/src/orxonox/overlays/hud/AnnounceMessage.h

    r3196 r5693  
    3030#define _AnnounceMessage_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "interfaces/GametypeMessageListener.h"
     
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport AnnounceMessage : public FadeoutText, public GametypeMessageListener
     39    class _OverlaysExport AnnounceMessage : public FadeoutText, public GametypeMessageListener
    4040    {
    4141        public:
  • code/trunk/src/orxonox/overlays/hud/CMakeLists.txt

    r3104 r5693  
    1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES
     1ADD_SOURCE_FILES(OVERLAYS_SRC_FILES
    22  HUDBar.cc
    33  HUDNavigation.cc
  • code/trunk/src/orxonox/overlays/hud/ChatOverlay.h

    r3196 r5693  
    3030#define _ChatOverlay_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include <list>
     
    4040namespace orxonox
    4141{
    42     class _OrxonoxExport ChatOverlay : public OverlayText, public ChatListener
     42    class _OverlaysExport ChatOverlay : public OverlayText, public ChatListener
    4343    {
    4444        public:
  • code/trunk/src/orxonox/overlays/hud/DeathMessage.h

    r3196 r5693  
    3030#define _DeathMessage_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "interfaces/GametypeMessageListener.h"
     
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport DeathMessage : public FadeoutText, public GametypeMessageListener
     39    class _OverlaysExport DeathMessage : public FadeoutText, public GametypeMessageListener
    4040    {
    4141        public:
  • code/trunk/src/orxonox/overlays/hud/GametypeStatus.h

    r3196 r5693  
    3030#define _GametypeStatus_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    34 #include "interfaces/Tickable.h"
     34#include "tools/interfaces/Tickable.h"
    3535#include "overlays/OverlayText.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport GametypeStatus : public OverlayText, public Tickable
     39    class _OverlaysExport GametypeStatus : public OverlayText, public Tickable
    4040    {
    4141        public:
  • code/trunk/src/orxonox/overlays/hud/HUDBar.h

    r3196 r5693  
    3232#define _HUDBar_H__
    3333
    34 #include "OrxonoxPrereqs.h"
     34#include "overlays/OverlaysPrereqs.h"
    3535
    3636#include <map>
     
    4444namespace orxonox
    4545{
    46     class _OrxonoxExport BarColour : public BaseObject
     46    class _OverlaysExport BarColour : public BaseObject
    4747    {
    4848    public:
     
    6464
    6565
    66     class _OrxonoxExport HUDBar : public OrxonoxOverlay
     66    class _OverlaysExport HUDBar : public OrxonoxOverlay
    6767    {
    6868    public:
  • code/trunk/src/orxonox/overlays/hud/HUDHealthBar.h

    r3196 r5693  
    3030#define _HUDHealthBar_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "util/Math.h"
    35 #include "interfaces/Tickable.h"
     35#include "tools/interfaces/Tickable.h"
    3636#include "overlays/OverlayText.h"
    3737#include "HUDBar.h"
     
    3939namespace orxonox
    4040{
    41     class _OrxonoxExport HUDHealthBar : public HUDBar, public Tickable
     41    class _OverlaysExport HUDHealthBar : public HUDBar, public Tickable
    4242    {
    4343        public:
  • code/trunk/src/orxonox/overlays/hud/HUDNavigation.h

    r3196 r5693  
    3030#define _HUDNavigation_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "util/OgreForwardRefs.h"
    35 #include "interfaces/Tickable.h"
     35#include "tools/interfaces/Tickable.h"
    3636#include "overlays/OrxonoxOverlay.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport HUDNavigation : public OrxonoxOverlay, public Tickable
     40    class _OverlaysExport HUDNavigation : public OrxonoxOverlay, public Tickable
    4141    {
    4242    public:
  • code/trunk/src/orxonox/overlays/hud/HUDRadar.h

    r3196 r5693  
    3131#define _HUDRadar_H__
    3232
    33 #include "OrxonoxPrereqs.h"
     33#include "overlays/OverlaysPrereqs.h"
    3434
    3535#include <map>
     
    4343namespace orxonox
    4444{
    45     class _OrxonoxExport HUDRadar : public OrxonoxOverlay, public RadarListener
     45    class _OverlaysExport HUDRadar : public OrxonoxOverlay, public RadarListener
    4646    {
    4747    public:
  • code/trunk/src/orxonox/overlays/hud/HUDSpeedBar.h

    r3196 r5693  
    3131#define _HUDSpeedBar_H__
    3232
    33 #include "OrxonoxPrereqs.h"
     33#include "overlays/OverlaysPrereqs.h"
    3434
    35 #include "interfaces/Tickable.h"
     35#include "tools/interfaces/Tickable.h"
    3636#include "HUDBar.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport HUDSpeedBar : public HUDBar, public Tickable
     40    class _OverlaysExport HUDSpeedBar : public HUDBar, public Tickable
    4141    {
    4242    public:
  • code/trunk/src/orxonox/overlays/hud/HUDTimer.h

    r3196 r5693  
    3030#define _HUDTimer_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    34 #include "interfaces/Tickable.h"
     34#include "tools/interfaces/Tickable.h"
    3535#include "overlays/OverlayText.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport HUDTimer : public OverlayText, public Tickable
     39    class _OverlaysExport HUDTimer : public OverlayText, public Tickable
    4040    {
    4141    public:
  • code/trunk/src/orxonox/overlays/hud/KillMessage.h

    r3196 r5693  
    3030#define _KillMessage_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "interfaces/GametypeMessageListener.h"
     
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport KillMessage : public FadeoutText, public GametypeMessageListener
     39    class _OverlaysExport KillMessage : public FadeoutText, public GametypeMessageListener
    4040    {
    4141        public:
  • code/trunk/src/orxonox/overlays/hud/PongScore.h

    r3196 r5693  
    3030#define _PongScore_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    34 #include "interfaces/Tickable.h"
     34#include "tools/interfaces/Tickable.h"
    3535#include "overlays/OverlayText.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport PongScore : public OverlayText, public Tickable
     39    class _OverlaysExport PongScore : public OverlayText, public Tickable
    4040    {
    4141        public:
  • code/trunk/src/orxonox/overlays/hud/TeamBaseMatchScore.h

    r3196 r5693  
    3030#define _TeamBaseMatchScore_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    34 #include "interfaces/Tickable.h"
     34#include "tools/interfaces/Tickable.h"
    3535#include "overlays/OverlayText.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport TeamBaseMatchScore : public OverlayText, public Tickable
     39    class _OverlaysExport TeamBaseMatchScore : public OverlayText, public Tickable
    4040    {
    4141        public:
  • code/trunk/src/orxonox/overlays/hud/UnderAttackHealthBar.h

    r3196 r5693  
    3030#define _UnderAttackHealthBar_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "util/Math.h"
     
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport UnderAttackHealthBar : public HUDHealthBar
     40    class _OverlaysExport UnderAttackHealthBar : public HUDHealthBar
    4141    {
    4242        public:
  • code/trunk/src/orxonox/overlays/stats/CMakeLists.txt

    r3196 r5693  
    1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES
     1ADD_SOURCE_FILES(OVERLAYS_SRC_FILES
    22  CreateLines.cc
    33  Scoreboard.cc
  • code/trunk/src/orxonox/overlays/stats/CreateLines.h

    r3196 r5693  
    2828#define _CreateLines_H__
    2929
    30 #include "OrxonoxPrereqs.h"
     30#include "overlays/OverlaysPrereqs.h"
    3131
    3232namespace orxonox
    3333{
    34     class _OrxonoxExport CreateLines
     34    class _OverlaysExport CreateLines
    3535    {
    3636
  • code/trunk/src/orxonox/overlays/stats/Scoreboard.h

    r3196 r5693  
    2929
    3030
    31 #include "OrxonoxPrereqs.h"
     31#include "overlays/OverlaysPrereqs.h"
    3232
    3333#include <string>
    3434#include <vector>
    35 #include "interfaces/Tickable.h"
     35#include "tools/interfaces/Tickable.h"
    3636#include "overlays/OrxonoxOverlay.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport Scoreboard : public OrxonoxOverlay, public Tickable
     40    class _OverlaysExport Scoreboard : public OrxonoxOverlay, public Tickable
    4141    {
    4242    public: // functions
  • code/trunk/src/orxonox/overlays/stats/Stats.h

    r3196 r5693  
    3030#define _Stats_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "overlays/OverlaysPrereqs.h"
    3333
    3434#include "util/OgreForwardRefs.h"
    35 #include "interfaces/Tickable.h"
     35#include "tools/interfaces/Tickable.h"
    3636#include "overlays/OrxonoxOverlay.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport Stats : public OrxonoxOverlay, public Tickable
     40    class _OverlaysExport Stats : public OrxonoxOverlay, public Tickable
    4141    {
    4242    public: // functions
Note: See TracChangeset for help on using the changeset viewer.