Browse Source

build: put debug stuff and shader stuff in subdirectories.

legacy
Sam Hocevar sam 13 years ago
parent
commit
660962e894
15 changed files with 17 additions and 14 deletions
  1. +7
    -4
      src/Makefile.am
  2. +1
    -1
      src/core.h
  3. +1
    -1
      src/debug/fps.cpp
  4. +0
    -0
      src/debug/fps.h
  5. +0
    -0
      src/debug/quad.cpp
  6. +0
    -0
      src/debug/quad.h
  7. +1
    -1
      src/debug/record.cpp
  8. +0
    -0
      src/debug/record.h
  9. +1
    -1
      src/debug/sphere.cpp
  10. +0
    -0
      src/debug/sphere.h
  11. +1
    -1
      src/debug/stats.cpp
  12. +0
    -0
      src/debug/stats.h
  13. +5
    -5
      src/loldebug.h
  14. +0
    -0
      src/shader/shader.cpp
  15. +0
    -0
      src/shader/shader.h

+ 7
- 4
src/Makefile.am View File

@@ -9,15 +9,18 @@ liblol_a_SOURCES = \
timer.cpp timer.h bitfield.h profiler.cpp profiler.h input.h input.cpp \
world.cpp world.h sample.cpp sample.h sampler.cpp sampler.h \
text.cpp text.h emitter.cpp emitter.h numeric.h hash.cpp hash.h \
worldentity.cpp worldentity.h shader.cpp shader.h image.cpp image.h \
worldentity.cpp worldentity.h image.cpp image.h \
platform.cpp platform.h \
\
sdlapp.cpp sdlapp.h sdlinput.cpp sdlinput.h \
\
eglapp.cpp eglapp.h \
\
loldebug.h debugfps.cpp debugfps.h debugsphere.cpp debugsphere.h \
debugrecord.cpp debugrecord.h debugstats.cpp debugstats.h \
debugquad.cpp debugquad.h
shader/shader.cpp shader/shader.h \
\
loldebug.h \
debug/fps.cpp debug/fps.h debug/sphere.cpp debug/sphere.h \
debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h \
debug/quad.cpp debug/quad.h
liblol_a_CPPFLAGS = @LOL_CFLAGS@


+ 1
- 1
src/core.h View File

@@ -45,7 +45,7 @@
#include "dict.h"
#include "map.h"
#include "layer.h"
#include "shader.h"
#include "shader/shader.h"
#include "image.h"

// Managers


src/debugfps.cpp → src/debug/fps.cpp View File

@@ -15,7 +15,7 @@
#include <cstdio>

#include "core.h"
#include "debugfps.h"
#include "loldebug.h"

using namespace std;


src/debugfps.h → src/debug/fps.h View File


src/debugquad.cpp → src/debug/quad.cpp View File


src/debugquad.h → src/debug/quad.h View File


src/debugrecord.cpp → src/debug/record.cpp View File

@@ -19,7 +19,7 @@
#endif

#include "core.h"
#include "debugrecord.h"
#include "loldebug.h"

using namespace std;


src/debugrecord.h → src/debug/record.h View File


src/debugsphere.cpp → src/debug/sphere.cpp View File

@@ -22,7 +22,7 @@

#include "core.h"
#include "lolgl.h"
#include "debugsphere.h"
#include "loldebug.h"

using namespace std;


src/debugsphere.h → src/debug/sphere.h View File


src/debugstats.cpp → src/debug/stats.cpp View File

@@ -15,7 +15,7 @@
#include <cstdio>

#include "core.h"
#include "debugstats.h"
#include "loldebug.h"

using namespace std;


src/debugstats.h → src/debug/stats.h View File


+ 5
- 5
src/loldebug.h View File

@@ -16,11 +16,11 @@
#if !defined __LOL_LOLDEBUG_H__
#define __LOL_LOLDEBUG_H__

#include "debugfps.h"
#include "debugquad.h"
#include "debugrecord.h"
#include "debugsphere.h"
#include "debugstats.h"
#include "debug/fps.h"
#include "debug/quad.h"
#include "debug/record.h"
#include "debug/sphere.h"
#include "debug/stats.h"

#endif // __LOL_LOLDEBUG_H__


src/shader.cpp → src/shader/shader.cpp View File


src/shader.h → src/shader/shader.h View File


Loading…
Cancel
Save