Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9836 in orxonox.OLD for branches/new_class_id/src/lib/gui


Ignore:
Timestamp:
Sep 26, 2006, 5:16:10 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: Taken out the old ResourceManager.
On the way, i had to desintegrate the old MD3-model loading process (via ResourceManager) MD3 is untouched, but also not loaded anymore neither from ResourceMangers nor from the WorldEntity

@patrick: MD3-ModelLoading class must be implemented… this should be quite easy, with the way MD3 is, and the new Resource-paradigm
cheers

Location:
branches/new_class_id/src/lib/gui/gl
Files:
2 edited

Legend:

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

    r9833 r9836  
    2323#include "glgui_cursor.h"
    2424
    25 #include "loading/new_resource_manager.h"
     25#include "loading/resource_manager.h"
    2626
    2727#include <cassert>
     
    7777    this->_cursor->setMaxBorders(Vector2D(GraphicsEngine::getInstance()->getResolutionX(), GraphicsEngine::getInstance()->getResolutionY()));
    7878
    79     _cursor->loadTextureSequence(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + "/" + "maps/reap_mouse/reap_mouse_##.png", 1, 49);
     79    _cursor->loadTextureSequence(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/" + "maps/reap_mouse/reap_mouse_##.png", 1, 49);
    8080
    8181  }
  • branches/new_class_id/src/lib/gui/gl/glgui_widget.cc

    r9833 r9836  
    2525
    2626#include "loading/load_param.h"
    27 #include "loading/new_resource_manager.h"
     27#include "loading/resource_manager.h"
    2828
    2929namespace OrxGui
     
    102102
    103103    if(GLGuiWidget::_defaultFont == NULL)
    104       GLGuiWidget::_defaultFont = new Font(Resources::NewResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/final_frontier.ttf", 20);
     104      GLGuiWidget::_defaultFont = new Font(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + "/fonts/final_frontier.ttf", 20);
    105105
    106106    this->_font = *GLGuiWidget::_defaultFont;
Note: See TracChangeset for help on using the changeset viewer.