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/overlays
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.