Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 283 for code/branches/hud/src


Ignore:
Timestamp:
Nov 27, 2007, 11:19:44 PM (17 years ago)
Author:
rgrieder
Message:
  • removed the loader files due to several compiler errors (not needed in this branch anyway)
  • added a suitable CMake concept for subfolders (in this case just the one)
  • hud not yet implemented in orxonox.cc (however it is in main_reto branch)
Location:
code/branches/hud/src
Files:
1 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/CMakeLists.txt

    r164 r283  
    22
    33# create a few variables to simplify life
    4 
    5 SET(SRC_FILES orxonox.cc loader/LevelLoader.cc xml/xmlParser.cc)
    6 SET(INC_FILES loader/LevelLoader.h xml/xmlParser.h)
     4SET( ORXONOX_SRC
     5        orxonox.cc
     6)
    77
    88#Creates an executable
    9 ADD_EXECUTABLE(../bin/main ${SRC_FILES} ${INC_FILES})
     9ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
     10
     11#add weapon source dir
     12ADD_SUBDIRECTORY(hud)
     13
    1014#Links the executable against OGRE and OIS
    11 TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
    12 
     15TARGET_LINK_LIBRARIES(../bin/main
     16        HUD
     17        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
     18)
  • code/branches/hud/src/orxonox.cc

    r164 r283  
    3939#include <iostream>
    4040
    41 #include "xml/xmlParser.h"
    42 #include "loader/LevelLoader.h"
     41#include "hud/hud_overlay.h"
    4342
    4443
     
    191190    {
    192191
    193       string levelFile = "sp_level_moonstation.oxw";
    194       loader::LevelLoader* loader = new loader::LevelLoader(levelFile);
    195192    }
    196193   
Note: See TracChangeset for help on using the changeset viewer.