Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5816 in orxonox.OLD for branches/world_entities/src


Ignore:
Timestamp:
Nov 29, 2005, 10:39:54 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better includes

Location:
branches/world_entities/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/world_entities/src/defs/globals.h

    r4946 r5816  
    1717                        "Nico Bernold - Physics\n" \
    1818                        "David Gruetter - The ProtoType\n" \
     19                        "Aaron von Schroeder - Sensors\n" \
     20                        "Lukas Grauer - Phasers\n" \
    1921                        "many more...\n"
     22
    2023#define   ORXONOX_WEBPAGE                  "http://www.orxonox.net"
    2124
     
    9093"any later version.\n"
    9194
     95
     96
    9297#define GNU_LICENCE_LONG \
    9398"                    GNU GENERAL PUBLIC LICENSE\n" \
  • branches/world_entities/src/defs/stdincl.h

    r5075 r5816  
    1717#endif
    1818
    19 #include <stdlibincl.h>
     19#include "stdlibincl.h"
    2020
    2121#include "sdlincl.h"
    2222#include "glincl.h"
    2323
    24 #include "error.h"
    25 #include "globals.h"
    26 
    2724#include "compiler.h"
    2825
  • branches/world_entities/src/lib/event/key_mapper.h

    r5474 r5816  
    2929  virtual ~KeyMapper();
    3030
    31   void loadKeyBindings(const char* fileName = DEFAULT_CONFIG_FILE);
     31  void loadKeyBindings(const char* fileName = NULL);
    3232  void loadKeyBindings(IniParser* iniParser);
    3333
  • branches/world_entities/src/lib/graphics/graphics_engine.cc

    r5790 r5816  
    3030#include "text.h"
    3131
     32#include "globals.h"
    3233
    3334#ifdef __WIN32__
  • branches/world_entities/src/orxonox.cc

    r5788 r5816  
    2727#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ORXONOX
    2828#include "orxonox.h"
     29
     30#include "globals.h"
    2931
    3032#include "gui.h"
  • branches/world_entities/src/story_entities/world.cc

    r5769 r5816  
    10431043
    10441044
    1045 
    1046 /**
    1047   \brief commands that the world must catch
    1048   @returns false if not used by the world
    1049 */
    1050 bool World::command(Command* cmd)
    1051 {
    1052   if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW0)) this->localCamera->setViewMode(VIEW_NORMAL);
    1053   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW1)) this->localCamera->setViewMode(VIEW_BEHIND);
    1054   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW2)) this->localCamera->setViewMode(VIEW_FRONT);
    1055   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW3)) this->localCamera->setViewMode(VIEW_LEFT);
    1056   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW4)) this->localCamera->setViewMode(VIEW_RIGHT);
    1057   else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW5)) this->localCamera->setViewMode(VIEW_TOP);
    1058   return false;
    1059 }
    1060 
    10611045void World::setPath( const char* name)
    10621046{
  • branches/world_entities/src/util/loading/game_loader.h

    r5139 r5816  
    1212#include "event_listener.h"
    1313
     14#include "error.h"
    1415
    1516//-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.