Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 15, 2008, 10:54:25 AM (16 years ago)
Author:
rgrieder
Message:
  • removed obsolete Convert.h includes (possibly from old XML loading)
  • replaced tabs in audio library, plus minor code cleanup because removing the tabs screwed layout
  • replaced all "#define name number" with "const Type name = number" if possible
Location:
code/trunk/src/orxonox
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/Settings.h

    r1755 r1784  
    4343#include "util/Debug.h"
    4444#include "util/MultiType.h"
    45 #include "util/Convert.h"
    4645
    4746namespace orxonox
  • code/trunk/src/orxonox/gui/OgreCEGUIRenderer.h

    r1755 r1784  
    2727    This file contains code that is specific to Ogre (http://www.ogre3d.org)
    2828*************************************************************************/
    29 #ifndef _OgreCEGUIRenderer_h_
    30 #define _OgreCEGUIRenderer_h_
     29#ifndef _OgreCEGUIRenderer_H__
     30#define _OgreCEGUIRenderer_H__
    3131
    3232#include <CEGUIBase.h>
     
    462462
    463463
    464 #endif  // end of guard _OgreCEGUIRenderer_h_
     464#endif  // end of guard _OgreCEGUIRenderer_H__
  • code/trunk/src/orxonox/gui/OgreCEGUIResourceProvider.h

    r1755 r1784  
    2424    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    2525*************************************************************************/
    26 #ifndef _OgreCEGUIResourceProvider_h_
    27 #define _OgreCEGUIResourceProvider_h_
     26#ifndef _OgreCEGUIResourceProvider_H__
     27#define _OgreCEGUIResourceProvider_H__
    2828
    2929#include <CEGUIResourceProvider.h>
     
    5050} // End of  CEGUI namespace section
    5151
    52 #endif  // end of guard _OgreCEGUIResourceProvider_h_
     52#endif  // end of guard _OgreCEGUIResourceProvider_H__
  • code/trunk/src/orxonox/gui/OgreCEGUITexture.h

    r1755 r1784  
    2424    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    2525*************************************************************************/
    26 #ifndef _OgreCEGUITexture_h_
    27 #define _OgreCEGUITexture_h_
     26#ifndef _OgreCEGUITexture_H__
     27#define _OgreCEGUITexture_H__
    2828
    2929#include <CEGUIBase.h>
     
    177177
    178178
    179 #endif  // end of guard _OgreCEGUITexture_h_
     179#endif  // end of guard _OgreCEGUITexture_H__
  • code/trunk/src/orxonox/objects/Ambient.cc

    r1755 r1784  
    3737#include "tinyxml/tinyxml.h"
    3838#include "util/SubString.h"
    39 #include "util/Convert.h"
    4039#include "util/Math.h"
    4140#include "util/Debug.h"
  • code/trunk/src/orxonox/objects/Camera.cc

    r1755 r1784  
    4040#include "tinyxml/tinyxml.h"
    4141#include "util/SubString.h"
    42 #include "util/Convert.h"
    4342#include "util/Math.h"
    4443#include "util/Debug.h"
  • code/trunk/src/orxonox/objects/SpaceShipAI.cc

    r1772 r1784  
    4141#include "Settings.h"
    4242
    43 #define ACTION_INTERVAL 1.0f
    4443
    4544namespace orxonox
    4645{
     46    const float ACTION_INTERVAL = 1.0f;
     47
    4748    SetConsoleCommand(SpaceShipAI, createEnemy, true).defaultValue(0, 1);
    4849    SetConsoleCommand(SpaceShipAI, killEnemies, true).defaultValue(0, 0);
  • code/trunk/src/orxonox/objects/SpaceShipAI.h

    r1772 r1784  
    3636#include "util/Math.h"
    3737
    38 #define NUM_AI_TEAMS 3
    3938
    4039namespace orxonox
    4140{
     41    const int NUM_AI_TEAMS = 3;
     42
    4243    class SpaceShipAI : public SpaceShip
    4344    {
  • code/trunk/src/orxonox/overlays/OverlayText.cc

    r1747 r1784  
    3434#include <OgrePanelOverlayElement.h>
    3535
    36 #include "util/Convert.h"
    3736#include "util/String.h"
    3837#include "core/CoreIncludes.h"
  • code/trunk/src/orxonox/overlays/console/InGameConsole.cc

    r1755 r1784  
    5050#include "GraphicsEngine.h"
    5151
    52 #define LINES 30
    53 #define CHAR_WIDTH 7.45 // fix this please - determine the char-width dynamically
    54 
    5552namespace orxonox
    5653{
     54    const int LINES = 30;
     55    const float CHAR_WIDTH = 7.45f; // fix this please - determine the char-width dynamically
     56
    5757    SetConsoleCommand(InGameConsole, openConsole, true);
    5858    SetConsoleCommand(InGameConsole, closeConsole, true);
Note: See TracChangeset for help on using the changeset viewer.