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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/overlays/OrxonoxOverlay.cc

    r2019 r2023  
    4444#include "core/XMLPort.h"
    4545#include "core/ConsoleCommand.h"
    46 #include "GraphicsEngine.h"
    4746
    4847namespace orxonox
     
    115114
    116115            // We'll have to get the aspect ratio manually for the first time. Afterwards windowResized() gets
    117             // called automatically by the GraphicsEngine.
    118             this->windowResized(GraphicsEngine::getInstance().getWindowWidth(),
    119                 GraphicsEngine::getInstance().getWindowHeight());
     116            // called automatically by GSGraphics.
     117            //this->windowResized(GraphicsEngine::getInstance().getWindowWidth(),
     118            //    GraphicsEngine::getInstance().getWindowHeight());
     119            this->windowAspectRatio_ = Ogre::OverlayManager::getSingleton().getViewportAspectRatio();
     120            this->sizeCorrectionChanged();
    120121
    121122            this->changedVisibility();
Note: See TracChangeset for help on using the changeset viewer.