Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 27, 2008, 10:56:51 PM (16 years ago)
Author:
rgrieder
Message:
  • Added support for dedicated server. Could not network test it yet, client still segfaults me.
  • Also kicked GraphicsEngine::levelSceneManager_, there are only the statistic methods left.
  • GSDedicated also derives from GSLevel, but GSLevel is not anymore a real GameState.
  • CameraHandler and LevelManager get created in GSLevel now.
Location:
code/branches/objecthierarchy/src/orxonox/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/tools/BillboardSet.cc

    r2019 r2023  
    3434#include <OgreSceneManager.h>
    3535
    36 #include "GraphicsEngine.h"
    3736#include "util/Math.h"
    3837
  • code/branches/objecthierarchy/src/orxonox/tools/Light.cc

    r2019 r2023  
    3535#include <OgreSceneManager.h>
    3636
    37 #include "GraphicsEngine.h"
    38 
    3937namespace orxonox
    4038{
  • code/branches/objecthierarchy/src/orxonox/tools/Mesh.cc

    r2019 r2023  
    3535
    3636#include "core/Core.h"
    37 #include "GraphicsEngine.h"
    3837#include "util/Convert.h"
    3938#include "util/String.h"
     
    6463            this->scenemanager_->destroyEntity(this->entity_);
    6564
    66         try
     65        if (Core::showsGraphics())
    6766        {
    68             this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource);
    69             this->entity_->setCastShadows(this->bCastShadows_);
    70         }
    71         catch (...)
    72         {
    73             COUT(1) << "Error: Couln't load mesh \"" << meshsource << "\"" << std::endl;
     67            try
     68            {
     69                this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource);
     70                this->entity_->setCastShadows(this->bCastShadows_);
     71            }
     72            catch (...)
     73            {
     74                COUT(1) << "Error: Couln't load mesh \"" << meshsource << "\"" << std::endl;
     75            }
    7476        }
    7577    }
Note: See TracChangeset for help on using the changeset viewer.