Browse Source

core: fix include guard naming scheme.

legacy
Sam Hocevar sam 13 years ago
parent
commit
22b7a41c2e
39 changed files with 117 additions and 117 deletions
  1. +3
    -3
      src/audio.h
  2. +3
    -3
      src/bitfield.h
  3. +3
    -3
      src/core.h
  4. +3
    -3
      src/debugfps.h
  5. +3
    -3
      src/debugquad.h
  6. +3
    -3
      src/debugrecord.h
  7. +3
    -3
      src/debugsphere.h
  8. +3
    -3
      src/debugstats.h
  9. +3
    -3
      src/dict.h
  10. +3
    -3
      src/eglapp.h
  11. +3
    -3
      src/emitter.h
  12. +3
    -3
      src/entity.h
  13. +3
    -3
      src/font.h
  14. +3
    -3
      src/forge.h
  15. +3
    -3
      src/hash.h
  16. +3
    -3
      src/image.h
  17. +3
    -3
      src/input.h
  18. +3
    -3
      src/layer.h
  19. +3
    -3
      src/log.h
  20. +3
    -3
      src/loldebug.h
  21. +3
    -3
      src/lolgl.h
  22. +3
    -3
      src/map.h
  23. +3
    -3
      src/matrix.h
  24. +3
    -3
      src/numeric.h
  25. +3
    -3
      src/profiler.h
  26. +3
    -3
      src/sample.h
  27. +3
    -3
      src/sampler.h
  28. +3
    -3
      src/scene.h
  29. +3
    -3
      src/sdlapp.h
  30. +3
    -3
      src/sdlinput.h
  31. +3
    -3
      src/shader.h
  32. +3
    -3
      src/text.h
  33. +3
    -3
      src/ticker.h
  34. +3
    -3
      src/tiler.h
  35. +3
    -3
      src/tileset.h
  36. +3
    -3
      src/timer.h
  37. +3
    -3
      src/video.h
  38. +3
    -3
      src/world.h
  39. +3
    -3
      src/worldentity.h

+ 3
- 3
src/audio.h View File

@@ -14,8 +14,8 @@
// Helper functions to set up the audio device.
//

#if !defined __DH_AUDIO_H__
#define __DH_AUDIO_H__
#if !defined __LOL_AUDIO_H__
#define __LOL_AUDIO_H__

#include <stdint.h>

@@ -30,5 +30,5 @@ public:

} /* namespace lol */

#endif // __DH_AUDIO_H__
#endif // __LOL_AUDIO_H__


+ 3
- 3
src/bitfield.h View File

@@ -13,8 +13,8 @@
// ------------------
//

#if !defined __DH_BITFIELD_H__
#define __DH_BITFIELD_H__
#if !defined __LOL_BITFIELD_H__
#define __LOL_BITFIELD_H__

#include <stdint.h>

@@ -51,5 +51,5 @@ private:

} /* namespace lol */

#endif // __DH_BITFIELD_H__
#endif // __LOL_BITFIELD_H__


+ 3
- 3
src/core.h View File

@@ -13,8 +13,8 @@
// ---------------
//

#if !defined __DH_CORE_H__
#define __DH_CORE_H__
#if !defined __LOL_CORE_H__
#define __LOL_CORE_H__

// Base types
#include "matrix.h"
@@ -53,5 +53,5 @@
#include "tiler.h"
#include "sampler.h"

#endif // __DH_CORE_H__
#endif // __LOL_CORE_H__


+ 3
- 3
src/debugfps.h View File

@@ -13,8 +13,8 @@
// ------------------
//

#if !defined __DH_DEBUGFPS_H__
#define __DH_DEBUGFPS_H__
#if !defined __LOL_DEBUGFPS_H__
#define __LOL_DEBUGFPS_H__

#include "entity.h"

@@ -38,5 +38,5 @@ private:

} /* namespace lol */

#endif // __DH_DEBUGFPS_H__
#endif // __LOL_DEBUGFPS_H__


+ 3
- 3
src/debugquad.h View File

@@ -13,8 +13,8 @@
// -------------------
//

#if !defined __DH_DEBUGTRI_H__
#define __DH_DEBUGTRI_H__
#if !defined __LOL_DEBUGTRI_H__
#define __LOL_DEBUGTRI_H__

#include "entity.h"

@@ -39,5 +39,5 @@ private:

} /* namespace lol */

#endif // __DH_DEBUGTRI_H__
#endif // __LOL_DEBUGTRI_H__


+ 3
- 3
src/debugrecord.h View File

@@ -13,8 +13,8 @@
// ---------------------
//

#if !defined __DH_DEBUGRECORD_H__
#define __DH_DEBUGRECORD_H__
#if !defined __LOL_DEBUGRECORD_H__
#define __LOL_DEBUGRECORD_H__

#include "entity.h"

@@ -39,5 +39,5 @@ private:

} /* namespace lol */

#endif // __DH_DEBUGRECORD_H__
#endif // __LOL_DEBUGRECORD_H__


+ 3
- 3
src/debugsphere.h View File

@@ -13,8 +13,8 @@
// ---------------------
//

#if !defined __DH_DEBUGSPHERE_H__
#define __DH_DEBUGSPHERE_H__
#if !defined __LOL_DEBUGSPHERE_H__
#define __LOL_DEBUGSPHERE_H__

#include "entity.h"

@@ -39,5 +39,5 @@ private:

} /* namespace lol */

#endif // __DH_DEBUGSPHERE_H__
#endif // __LOL_DEBUGSPHERE_H__


+ 3
- 3
src/debugstats.h View File

@@ -13,8 +13,8 @@
// --------------------
//

#if !defined __DH_DEBUGSTATS_H__
#define __DH_DEBUGSTATS_H__
#if !defined __LOL_DEBUGSTATS_H__
#define __LOL_DEBUGSTATS_H__

#include "entity.h"

@@ -38,5 +38,5 @@ private:

} /* namespace lol */

#endif // __DH_DEBUGSTATS_H__
#endif // __LOL_DEBUGSTATS_H__


+ 3
- 3
src/dict.h View File

@@ -13,8 +13,8 @@
// --------------
//

#if !defined __DH_DICT_H__
#define __DH_DICT_H__
#if !defined __LOL_DICT_H__
#define __LOL_DICT_H__

#include "entity.h"

@@ -41,5 +41,5 @@ private:

} /* namespace lol */

#endif // __DH_DICT_H__
#endif // __LOL_DICT_H__


+ 3
- 3
src/eglapp.h View File

@@ -13,8 +13,8 @@
// ----------------
//

#if !defined __DH_EGLAPP_H__
#define __DH_EGLAPP_H__
#if !defined __LOL_EGLAPP_H__
#define __LOL_EGLAPP_H__

#include "matrix.h"

@@ -37,5 +37,5 @@ private:

} /* namespace lol */

#endif // __DH_EGLAPP_H__
#endif // __LOL_EGLAPP_H__


+ 3
- 3
src/emitter.h View File

@@ -13,8 +13,8 @@
// -----------------
//

#if !defined __DH_EMITTER_H__
#define __DH_EMITTER_H__
#if !defined __LOL_EMITTER_H__
#define __LOL_EMITTER_H__

#include "entity.h"

@@ -41,5 +41,5 @@ private:

} /* namespace lol */

#endif // __DH_EMITTER_H__
#endif // __LOL_EMITTER_H__


+ 3
- 3
src/entity.h View File

@@ -16,8 +16,8 @@
// Ticker class for the ticking logic and the linked list implementation.
//

#if !defined __DH_ENTITY_H__
#define __DH_ENTITY_H__
#if !defined __LOL_ENTITY_H__
#define __LOL_ENTITY_H__

#include <stdint.h>

@@ -84,5 +84,5 @@ private:

} /* namespace lol */

#endif // __DH_ENTITY_H__
#endif // __LOL_ENTITY_H__


+ 3
- 3
src/font.h View File

@@ -13,8 +13,8 @@
// --------------
//

#if !defined __DH_FONT_H__
#define __DH_FONT_H__
#if !defined __LOL_FONT_H__
#define __LOL_FONT_H__

#include "entity.h"

@@ -45,5 +45,5 @@ private:

} /* namespace lol */

#endif // __DH_FONT_H__
#endif // __LOL_FONT_H__


+ 3
- 3
src/forge.h View File

@@ -14,8 +14,8 @@
// The Forge is a static class that manages fonts.
//

#if !defined __DH_FORGE_H__
#define __DH_FORGE_H__
#if !defined __LOL_FORGE_H__
#define __LOL_FORGE_H__

#include "font.h"

@@ -32,5 +32,5 @@ public:

} /* namespace lol */

#endif // __DH_FORGE_H__
#endif // __LOL_FORGE_H__


+ 3
- 3
src/hash.h View File

@@ -13,8 +13,8 @@
// --------------
//

#if !defined __DH_HASH_H__
#define __DH_HASH_H__
#if !defined __LOL_HASH_H__
#define __LOL_HASH_H__

namespace lol
{
@@ -27,5 +27,5 @@ public:

} /* namespace lol */

#endif // __DH_HASH_H__
#endif // __LOL_HASH_H__


+ 3
- 3
src/image.h View File

@@ -13,8 +13,8 @@
// ---------------
//

#if !defined __DH_IMAGE_H__
#define __DH_IMAGE_H__
#if !defined __LOL_IMAGE_H__
#define __LOL_IMAGE_H__

#include "matrix.h"

@@ -47,5 +47,5 @@ private:

} /* namespace lol */

#endif // __DH_IMAGE_H__
#endif // __LOL_IMAGE_H__


+ 3
- 3
src/input.h View File

@@ -13,8 +13,8 @@
// ----------------------
//

#if !defined __DH_INPUT_H__
#define __DH_INPUT_H__
#if !defined __LOL_INPUT_H__
#define __LOL_INPUT_H__

#include "matrix.h"

@@ -43,5 +43,5 @@ public:

} /* namespace lol */

#endif // __DH_INPUT_H__
#endif // __LOL_INPUT_H__


+ 3
- 3
src/layer.h View File

@@ -14,8 +14,8 @@
// A Layer object is a subset of a Map.
//

#if !defined __DH_LAYER_H__
#define __DH_LAYER_H__
#if !defined __LOL_LAYER_H__
#define __LOL_LAYER_H__

#include <stdint.h>

@@ -39,5 +39,5 @@ private:

} /* namespace lol */

#endif // __DH_LAYER_H__
#endif // __LOL_LAYER_H__


+ 3
- 3
src/log.h View File

@@ -14,8 +14,8 @@
// The central logging system.
//

#if !defined __DH_LOG_H__
#define __DH_LOG_H__
#if !defined __LOL_LOG_H__
#define __LOL_LOG_H__

#include <stdint.h>

@@ -37,5 +37,5 @@ public:

} /* namespace lol */

#endif // __DH_LOG_H__
#endif // __LOL_LOG_H__


+ 3
- 3
src/loldebug.h View File

@@ -13,8 +13,8 @@
// --------------------
//

#if !defined __DH_LOLDEBUG_H__
#define __DH_LOLDEBUG_H__
#if !defined __LOL_LOLDEBUG_H__
#define __LOL_LOLDEBUG_H__

#include "debugfps.h"
#include "debugquad.h"
@@ -22,5 +22,5 @@
#include "debugsphere.h"
#include "debugstats.h"

#endif // __DH_LOLDEBUG_H__
#endif // __LOL_LOLDEBUG_H__


+ 3
- 3
src/lolgl.h View File

@@ -13,8 +13,8 @@
// --------------
//

#if !defined __DH_LOLGL_H__
#define __DH_LOLGL_H__
#if !defined __LOL_LOLGL_H__
#define __LOL_LOLGL_H__

#define GL_GLEXT_PROTOTYPES

@@ -50,5 +50,5 @@
# define glBindVertexArray glBindVertexArrayOES
#endif

#endif // __DH_LOLGL_H__
#endif // __LOL_LOLGL_H__


+ 3
- 3
src/map.h View File

@@ -15,8 +15,8 @@
// determined later).
//

#if !defined __DH_MAP_H__
#define __DH_MAP_H__
#if !defined __LOL_MAP_H__
#define __LOL_MAP_H__

namespace lol
{
@@ -39,5 +39,5 @@ private:

} /* namespace lol */

#endif // __DH_MAP_H__
#endif // __LOL_MAP_H__


+ 3
- 3
src/matrix.h View File

@@ -13,8 +13,8 @@
// ------------------
//

#if !defined __DH_MATRIX_H__
#define __DH_MATRIX_H__
#if !defined __LOL_MATRIX_H__
#define __LOL_MATRIX_H__

#include <cmath>

@@ -285,5 +285,5 @@ typedef Mat4<int> mat4i;

} /* namespace lol */

#endif // __DH_MATRIX_H__
#endif // __LOL_MATRIX_H__


+ 3
- 3
src/numeric.h View File

@@ -13,8 +13,8 @@
// ------------------
//

#if !defined __DH_NUMERIC_H__
#define __DH_NUMERIC_H__
#if !defined __LOL_NUMERIC_H__
#define __LOL_NUMERIC_H__

#include <cmath>
#include <cstdlib>
@@ -54,5 +54,5 @@ template <typename T> static inline T PotUp(T val)

} /* namespace lol */

#endif // __DH_NUMERIC_H__
#endif // __LOL_NUMERIC_H__


+ 3
- 3
src/profiler.h View File

@@ -14,8 +14,8 @@
// The Profiler is a static class that collects statistic counters.
//

#if !defined __DH_PROFILER_H__
#define __DH_PROFILER_H__
#if !defined __LOL_PROFILER_H__
#define __LOL_PROFILER_H__

#include <stdint.h>

@@ -52,5 +52,5 @@ public:

} /* namespace lol */

#endif // __DH_PROFILER_H__
#endif // __LOL_PROFILER_H__


+ 3
- 3
src/sample.h View File

@@ -14,8 +14,8 @@
// A Sample is a unique sound sample.
//

#if !defined __DH_SAMPLE_H__
#define __DH_SAMPLE_H__
#if !defined __LOL_SAMPLE_H__
#define __LOL_SAMPLE_H__

#include <stdint.h>

@@ -47,5 +47,5 @@ private:

} /* namespace lol */

#endif // __DH_SAMPLE_H__
#endif // __LOL_SAMPLE_H__


+ 3
- 3
src/sampler.h View File

@@ -14,8 +14,8 @@
// The Sampler is a static class that manages samples.
//

#if !defined __DH_SAMPLER_H__
#define __DH_SAMPLER_H__
#if !defined __LOL_SAMPLER_H__
#define __LOL_SAMPLER_H__

#include <stdint.h>

@@ -33,5 +33,5 @@ public:

} /* namespace lol */

#endif // __DH_SAMPLER_H__
#endif // __LOL_SAMPLER_H__


+ 3
- 3
src/scene.h View File

@@ -13,8 +13,8 @@
// ---------------
//

#if !defined __DH_SCENE_H__
#define __DH_SCENE_H__
#if !defined __LOL_SCENE_H__
#define __LOL_SCENE_H__

#include <stdint.h>

@@ -41,5 +41,5 @@ private:

} /* namespace lol */

#endif // __DH_SCENE_H__
#endif // __LOL_SCENE_H__


+ 3
- 3
src/sdlapp.h View File

@@ -13,8 +13,8 @@
// ----------------
//

#if !defined __DH_SDLAPP_H__
#define __DH_SDLAPP_H__
#if !defined __LOL_SDLAPP_H__
#define __LOL_SDLAPP_H__

#include "matrix.h"

@@ -37,5 +37,5 @@ private:

} /* namespace lol */

#endif // __DH_SDLAPP_H__
#endif // __LOL_SDLAPP_H__


+ 3
- 3
src/sdlinput.h View File

@@ -13,8 +13,8 @@
// ------------------
//

#if !defined __DH_SDLINPUT_H__
#define __DH_SDLINPUT_H__
#if !defined __LOL_SDLINPUT_H__
#define __LOL_SDLINPUT_H__

#include "entity.h"

@@ -38,5 +38,5 @@ private:

} /* namespace lol */

#endif // __DH_SDLINPUT_H__
#endif // __LOL_SDLINPUT_H__


+ 3
- 3
src/shader.h View File

@@ -13,8 +13,8 @@
// ----------------
//

#if !defined __DH_SHADER_H__
#define __DH_SHADER_H__
#if !defined __LOL_SHADER_H__
#define __LOL_SHADER_H__

namespace lol
{
@@ -42,5 +42,5 @@ private:

} /* namespace lol */

#endif // __DH_SHADER_H__
#endif // __LOL_SHADER_H__


+ 3
- 3
src/text.h View File

@@ -13,8 +13,8 @@
// --------------
//

#if !defined __DH_TEXT_H__
#define __DH_TEXT_H__
#if !defined __LOL_TEXT_H__
#define __LOL_TEXT_H__

#include "entity.h"

@@ -50,5 +50,5 @@ private:

} /* namespace lol */

#endif // __DH_TEXT_H__
#endif // __LOL_TEXT_H__


+ 3
- 3
src/ticker.h View File

@@ -14,8 +14,8 @@
// The Ticker is a static class that registers entities and ticks them.
//

#if !defined __DH_TICKER_H__
#define __DH_TICKER_H__
#if !defined __LOL_TICKER_H__
#define __LOL_TICKER_H__

#include <stdint.h>

@@ -47,5 +47,5 @@ public:

} /* namespace lol */

#endif // __DH_TICKER_H__
#endif // __LOL_TICKER_H__


+ 3
- 3
src/tiler.h View File

@@ -14,8 +14,8 @@
// The Tiler is a static class that manages tilesets.
//

#if !defined __DH_TILER_H__
#define __DH_TILER_H__
#if !defined __LOL_TILER_H__
#define __LOL_TILER_H__

#include <stdint.h>

@@ -38,5 +38,5 @@ public:

} /* namespace lol */

#endif // __DH_TILER_H__
#endif // __LOL_TILER_H__


+ 3
- 3
src/tileset.h View File

@@ -16,8 +16,8 @@
// zero, the texture is freed.
//

#if !defined __DH_TILESET_H__
#define __DH_TILESET_H__
#if !defined __LOL_TILESET_H__
#define __LOL_TILESET_H__

#include <stdint.h>

@@ -53,5 +53,5 @@ private:

} /* namespace lol */

#endif // __DH_TILESET_H__
#endif // __LOL_TILESET_H__


+ 3
- 3
src/timer.h View File

@@ -13,8 +13,8 @@
// ---------------
//

#if !defined __DH_TIMER_H__
#define __DH_TIMER_H__
#if !defined __LOL_TIMER_H__
#define __LOL_TIMER_H__

namespace lol
{
@@ -37,5 +37,5 @@ private:

} /* namespace lol */

#endif // __DH_TIMER_H__
#endif // __LOL_TIMER_H__


+ 3
- 3
src/video.h View File

@@ -14,8 +14,8 @@
// Helper GL functions to set up the scene.
//

#if !defined __DH_VIDEO_H__
#define __DH_VIDEO_H__
#if !defined __LOL_VIDEO_H__
#define __LOL_VIDEO_H__

#include <stdint.h>

@@ -37,5 +37,5 @@ public:

} /* namespace lol */

#endif // __DH_VIDEO_H__
#endif // __LOL_VIDEO_H__


+ 3
- 3
src/world.h View File

@@ -13,8 +13,8 @@
// ---------------
//

#if !defined __DH_WORLD_H__
#define __DH_WORLD_H__
#if !defined __LOL_WORLD_H__
#define __LOL_WORLD_H__

#include "entity.h"

@@ -46,5 +46,5 @@ private:

} /* namespace lol */

#endif // __DH_WORLD_H__
#endif // __LOL_WORLD_H__


+ 3
- 3
src/worldentity.h View File

@@ -13,8 +13,8 @@
// -----------------------
//

#if !defined __DH_WORLDENTITY_H__
#define __DH_WORLDENTITY_H__
#if !defined __LOL_WORLDENTITY_H__
#define __LOL_WORLDENTITY_H__

#include "entity.h"

@@ -45,5 +45,5 @@ protected:

} /* namespace lol */

#endif // __DH_WORLDENTITY_H__
#endif // __LOL_WORLDENTITY_H__


Loading…
Cancel
Save