Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2006, 4:59:49 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: almost killed off the old ResourceManager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/gui/gl/glgui_handler.cc

    r9715 r9833  
    2323#include "glgui_cursor.h"
    2424
     25#include "loading/new_resource_manager.h"
     26
    2527#include <cassert>
    2628
     
    3032/// TAKE THIS OUT OF HERE.
    3133#include "graphics_engine.h"
    32 #include "loading/resource_manager.h"
    3334
    3435namespace OrxGui
     
    7677    this->_cursor->setMaxBorders(Vector2D(GraphicsEngine::getInstance()->getResolutionX(), GraphicsEngine::getInstance()->getResolutionY()));
    7778
    78     _cursor->loadTextureSequence(ResourceManager::getInstance()->getDataDir() + "/" + "maps/reap_mouse/reap_mouse_##.png", 1, 49);
     79    _cursor->loadTextureSequence(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + "/" + "maps/reap_mouse/reap_mouse_##.png", 1, 49);
    7980
    8081  }
Note: See TracChangeset for help on using the changeset viewer.