Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1784 for code/trunk/src/util


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/util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/CRC32.h

    r1763 r1784  
    3434#include "Integers.h"
    3535
    36 #define UTIL_CRC32POLY 0x04C11DB7 /* CRC-32 Polynom */
     36const unsigned int UTIL_CRC32POLY = 0x04C11DB7; /* CRC-32 Polynom */
    3737
    3838_UtilExport void calcCRCBit(uint32_t &crc32, int bit);
  • code/trunk/src/util/OutputBuffer.cc

    r1747 r1784  
    2929#include "OutputBuffer.h"
    3030
    31 #define OUTPUTBUFFER_MAX_LINE_LENGTH 16384
    3231
    3332namespace orxonox
    3433{
     34    const int OUTPUTBUFFER_MAX_LINE_LENGTH = 16384;
     35
    3536    void OutputBuffer::registerListener(OutputBufferListener* listener)
    3637    {
  • code/trunk/src/util/SubString.h

    r1755 r1784  
    5656 */
    5757
    58 #ifndef __SUBSTRING_H__
    59 #define __SUBSTRING_H__
     58#ifndef __SubString_H__
     59#define __SubString_H__
    6060
    6161#include "UtilPrereqs.h"
     
    171171};
    172172
    173 #endif /* __SUBSTRING_H__ */
     173#endif /* __SubString_H__ */
Note: See TracChangeset for help on using the changeset viewer.