Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2009, 2:22:00 AM (15 years ago)
Author:
rgrieder
Message:

Merged resource2 branch back to trunk.

IMPORTANT NOTE:
Upon this merge you need to specifically call your data directory "data_extern" when checking it out (when you don't provide a name, it will be just called 'trunk').
The new CMake variable is EXTERNAL_DATA_DIRECTORY. DATA_DIRECTORY now points to the one the source part of the repository.
UPDATE YOUR DATA DIRECTORY AS WELL!!!

Location:
code/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/gamestates/GSDedicated.cc

    r3370 r5695  
    2828
    2929#include "GSDedicated.h"
     30
     31#include <iomanip>
     32#include <iostream>
     33#include <boost/bind.hpp>
    3034
    3135#include "util/Debug.h"
     
    3741#include "core/GameMode.h"
    3842#include "network/Server.h"
    39 
    40 #include <iostream>
    41 #include <iomanip>
    42 #include <boost/bind.hpp>
    4343
    4444#ifdef ORXONOX_PLATFORM_UNIX
  • code/trunk/src/orxonox/gamestates/GSGraphics.cc

    r5693 r5695  
    9696        // load debug overlay
    9797        COUT(3) << "Loading Debug Overlay..." << std::endl;
    98         this->debugOverlay_ = new XMLFile(Core::getMediaPathString() + "overlay/debug.oxo");
     98        this->debugOverlay_ = new XMLFile("debug.oxo");
    9999        Loader::open(debugOverlay_);
    100100
  • code/trunk/src/orxonox/gamestates/GSLevel.cc

    r5693 r5695  
    2929
    3030#include "GSLevel.h"
     31
     32#include <OgreCompositorManager.h>
    3133
    3234#include "core/input/InputManager.h"
     
    166168*/
    167169
     170        if (GameMode::showsGraphics())
     171        {
     172            // unload all compositors (this is only necessary because we don't yet destroy all resources!)
     173            Ogre::CompositorManager::getSingleton().removeAll();
     174        }
    168175
    169176        // this call will delete every BaseObject!
     
    229236        // call the loader
    230237        COUT(0) << "Loading level..." << std::endl;
    231         startFile_s = new XMLFile(Core::getMediaPathString() + "levels" + '/' + LevelManager::getInstance().getDefaultLevel());
     238        startFile_s = new XMLFile(LevelManager::getInstance().getDefaultLevel());
    232239        Loader::open(startFile_s);
    233240    }
  • code/trunk/src/orxonox/gamestates/GSMainMenu.cc

    r3370 r5695  
    5252        inputState_->setHandler(GUIManager::getInstancePtr());
    5353        inputState_->setJoyStickHandler(&InputHandler::EMPTY);
     54        inputState_->setIsExclusiveMouse(false);
    5455
    5556        // create an empty Scene
     
    7071    {
    7172        // show main menu
    72         GUIManager::getInstance().showGUI("mainmenu_4");
     73        GUIManager::getInstance().showGUI("MainMenu");
    7374        GUIManager::getInstance().setCamera(this->camera_);
    7475        GraphicsManager::getInstance().setCamera(this->camera_);
  • code/trunk/src/orxonox/gamestates/GSRoot.cc

    r5693 r5695  
    3333#include "core/Game.h"
    3434#include "core/GameMode.h"
    35 #include "core/LuaBind.h"
    3635#include "network/NetworkFunction.h"
    37 #include "ToluaBindCore.h"
    38 #include "ToluaBindOrxonox.h"
    3936#include "tools/Timer.h"
    4037#include "tools/interfaces/TimeFactorListener.h"
     
    5451        this->ccSetTimeFactor_ = 0;
    5552        this->ccPause_ = 0;
    56 
    57         // Tell LuaBind about all tolua interfaces
    58         LuaBind::getInstance().addToluaInterface(&tolua_Core_open, "Core");
    59         LuaBind::getInstance().addToluaInterface(&tolua_Orxonox_open, "Orxonox");
    6053    }
    6154
     
    8679        }
    8780
    88         // create the global LevelManager
     81        // create the LevelManager
    8982        this->levelManager_ = new LevelManager();
    9083    }
Note: See TracChangeset for help on using the changeset viewer.