Pārlūkot izejas kodu

build: reorganise includes so that we can use precompiled headers later.

undefined
Sam Hocevar pirms 10 gadiem
vecāks
revīzija
cd988786b9
100 mainītis faili ar 126 papildinājumiem un 356 dzēšanām
  1. +2
    -2
      demos/test/benchmark/half.cpp
  2. +2
    -2
      demos/test/benchmark/real.cpp
  3. +1
    -1
      demos/test/benchmark/trig.cpp
  4. +2
    -2
      demos/test/benchmark/vector.cpp
  5. +2
    -2
      demos/test/benchsuite.cpp
  6. +2
    -2
      demos/test/btphystest.cpp
  7. +2
    -2
      demos/test/generated/scenesetup-parser.cpp
  8. +2
    -2
      demos/test/generated/scenesetup-scanner.cpp
  9. +2
    -2
      demos/test/math/pi.cpp
  10. +2
    -2
      demos/test/math/poly.cpp
  11. +2
    -2
      demos/test/meshviewer.cpp
  12. +2
    -2
      demos/test/nacl_phystest.cpp
  13. +1
    -1
      demos/test/physicobject.h
  14. +2
    -2
      demos/test/physics/bulletcharactercontroller.cpp
  15. +1
    -1
      demos/test/physics/bulletcharactercontroller.h
  16. +1
    -1
      demos/test/physics/easycharactercontroller.cpp
  17. +1
    -1
      demos/test/physics/easycharactercontroller.h
  18. +1
    -1
      demos/test/physics/easyconstraint.cpp
  19. +1
    -1
      demos/test/physics/easyconstraint.h
  20. +1
    -1
      demos/test/physics/easyphysics.cpp
  21. +1
    -1
      demos/test/physics/easyphysics.h
  22. +2
    -2
      demos/test/sandbox/sample.cpp
  23. +2
    -2
      demos/test/scenesetup-compiler.cpp
  24. +2
    -2
      demos/test/scenesetup.cpp
  25. +2
    -2
      demos/tutorial/01_triangle.cpp
  26. +2
    -2
      demos/tutorial/02_cube.cpp
  27. +2
    -2
      demos/tutorial/03_noise.cpp
  28. +2
    -2
      demos/tutorial/04_texture.cpp
  29. +2
    -2
      demos/tutorial/05_easymesh.cpp
  30. +2
    -2
      demos/tutorial/06_sprite.cpp
  31. +2
    -2
      demos/tutorial/07_input.cpp
  32. +2
    -2
      demos/tutorial/08_fbo.cpp
  33. +2
    -2
      demos/tutorial/11_fractal.cpp
  34. +2
    -2
      demos/tutorial/12_voronoi.cpp
  35. +2
    -1
      src/Makefile.am
  36. +1
    -5
      src/application/application.cpp
  37. +1
    -5
      src/audio.cpp
  38. +1
    -5
      src/base/assert.cpp
  39. +1
    -5
      src/base/enum.cpp
  40. +1
    -5
      src/base/hash.cpp
  41. +1
    -5
      src/base/log.cpp
  42. +1
    -5
      src/base/string.cpp
  43. +1
    -5
      src/camera.cpp
  44. +1
    -4
      src/debug/fps.cpp
  45. +1
    -5
      src/debug/lines.cpp
  46. +1
    -4
      src/debug/record.cpp
  47. +1
    -4
      src/debug/stats.cpp
  48. +1
    -5
      src/dict.cpp
  49. +1
    -6
      src/easymesh/csgbsp.cpp
  50. +1
    -4
      src/easymesh/easymesh-compiler.cpp
  51. +1
    -4
      src/easymesh/easymesh.cpp
  52. +1
    -5
      src/easymesh/easymeshbuild.cpp
  53. +1
    -5
      src/easymesh/easymeshrender.cpp
  54. +1
    -4
      src/eglapp.cpp
  55. +1
    -5
      src/emitter.cpp
  56. +1
    -5
      src/entity.cpp
  57. +1
    -5
      src/font.cpp
  58. +1
    -5
      src/forge.cpp
  59. +1
    -4
      src/generated/easymesh-parser.cpp
  60. +1
    -4
      src/generated/easymesh-scanner.cpp
  61. +1
    -5
      src/generated/lolfx-parser.cpp
  62. +1
    -4
      src/generated/lolfx-scanner.cpp
  63. +1
    -4
      src/gpu/framebuffer.cpp
  64. +1
    -4
      src/gpu/indexbuffer.cpp
  65. +1
    -4
      src/gpu/lolfx-compiler.cpp
  66. +1
    -4
      src/gpu/lolfx.cpp
  67. +1
    -5
      src/gpu/rendercontext.cpp
  68. +1
    -4
      src/gpu/renderer.cpp
  69. +1
    -4
      src/gpu/shader.cpp
  70. +1
    -4
      src/gpu/texture.cpp
  71. +1
    -4
      src/gpu/vertexbuffer.cpp
  72. +1
    -5
      src/gradient.cpp
  73. +1
    -4
      src/image/codec/android-image.cpp
  74. +1
    -4
      src/image/codec/dummy-image.cpp
  75. +1
    -4
      src/image/codec/gdiplus-image.cpp
  76. +1
    -4
      src/image/codec/imlib2-image.cpp
  77. +1
    -4
      src/image/codec/ios-image.cpp
  78. +1
    -4
      src/image/codec/oric-image.cpp
  79. +1
    -4
      src/image/codec/ps3-image.cpp
  80. +1
    -4
      src/image/codec/sdl-image.cpp
  81. +1
    -4
      src/image/codec/zed-image.cpp
  82. +1
    -4
      src/image/codec/zed-palette-image.cpp
  83. +1
    -5
      src/image/color/cie1931.cpp
  84. +1
    -5
      src/image/color/color.cpp
  85. +1
    -5
      src/image/combine.cpp
  86. +1
    -4
      src/image/crop.cpp
  87. +1
    -5
      src/image/dither/dbs.cpp
  88. +1
    -5
      src/image/dither/ediff.cpp
  89. +1
    -5
      src/image/dither/ordered.cpp
  90. +1
    -5
      src/image/dither/ostromoukhov.cpp
  91. +1
    -5
      src/image/dither/random.cpp
  92. +1
    -5
      src/image/filter/color.cpp
  93. +1
    -5
      src/image/filter/convolution.cpp
  94. +1
    -5
      src/image/filter/dilate.cpp
  95. +1
    -5
      src/image/filter/median.cpp
  96. +1
    -5
      src/image/filter/yuv.cpp
  97. +1
    -4
      src/image/image.cpp
  98. +1
    -5
      src/image/kernel.cpp
  99. +1
    -5
      src/image/noise.cpp
  100. +1
    -4
      src/image/pixel.cpp

+ 2
- 2
demos/test/benchmark/half.cpp Parādīt failu

@@ -8,13 +8,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/test/benchmark/real.cpp Parādīt failu

@@ -8,13 +8,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 1
- 1
demos/test/benchmark/trig.cpp Parādīt failu

@@ -18,7 +18,7 @@
# include <fastmath.h>
#endif

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/test/benchmark/vector.cpp Parādīt failu

@@ -8,13 +8,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/test/benchsuite.cpp Parādīt failu

@@ -8,13 +8,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/test/btphystest.cpp Parādīt failu

@@ -5,11 +5,11 @@
// (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/test/generated/scenesetup-parser.cpp Parādīt failu

@@ -49,11 +49,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "../scenesetup.h"




+ 2
- 2
demos/test/generated/scenesetup-scanner.cpp Parādīt failu

@@ -494,7 +494,7 @@ static yyconst flex_int16_t yy_chk[180] =
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

@@ -504,7 +504,7 @@ using std::malloc;
using std::realloc;
using std::free;

#include <lol/main.h>
#include <lol/engine.h>
#include "../scenesetup.h"
#include "../scenesetup-compiler.h"



+ 2
- 2
demos/test/math/pi.cpp Parādīt failu

@@ -8,13 +8,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>

using std::printf;
using std::sqrt;


+ 2
- 2
demos/test/math/poly.cpp Parādīt failu

@@ -8,13 +8,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/test/meshviewer.cpp Parādīt failu

@@ -10,13 +10,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cfloat> /* for FLT_MAX */

#include <lol/main.h>
#include <lol/engine.h>
#include "scenesetup.h"

using namespace lol;


+ 2
- 2
demos/test/nacl_phystest.cpp Parādīt failu

@@ -5,11 +5,11 @@
// (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 1
- 1
demos/test/physicobject.h Parādīt failu

@@ -11,7 +11,7 @@
#if !defined __PHYSICOBJECT_H__
#define __PHYSICOBJECT_H__

#include <lol/main.h>
#include <lol/engine.h>
#include "easymesh/easymesh.h"
#include "physics/easyphysics.h"
#include "physics/easycharactercontroller.h"


+ 2
- 2
demos/test/physics/bulletcharactercontroller.cpp Parādīt failu

@@ -10,13 +10,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#define USE_LOL_CTRLR_CHARAC

#include <lol/main.h>
#include <lol/engine.h>
#include <stdio.h>
#include "lolbtphysicsintegration.h"
#include "lolphysics.h"


+ 1
- 1
demos/test/physics/bulletcharactercontroller.h Parādīt failu

@@ -18,7 +18,7 @@
#if !defined __BULLETCHARACTERCONTROLLER_BULLETCHARACTERCONTROLLER_H__
#define __BULLETCHARACTERCONTROLLER_BULLETCHARACTERCONTROLLER_H__

#include <lol/main.h>
#include <lol/engine.h>
#include "easyphysics.h"
//#include "BulletDynamics\Character\btCharacterControllerInterface.h"



+ 1
- 1
demos/test/physics/easycharactercontroller.cpp Parādīt failu

@@ -10,7 +10,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif



+ 1
- 1
demos/test/physics/easycharactercontroller.h Parādīt failu

@@ -20,7 +20,7 @@
#if !defined __EASYCHARACTERCONTROLLER_EASYCHARACTERCONTROLLER_H__
#define __EASYCHARACTERCONTROLLER_EASYCHARACTERCONTROLLER_H__

#include <lol/main.h>
#include <lol/engine.h>
#include "easyphysics.h"
#include "bulletcharactercontroller.h"
#include <BulletDynamics/Character/btKinematicCharacterController.h>


+ 1
- 1
demos/test/physics/easyconstraint.cpp Parādīt failu

@@ -1,5 +1,5 @@

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif



+ 1
- 1
demos/test/physics/easyconstraint.h Parādīt failu

@@ -17,7 +17,7 @@
#if !defined __EASYCONSTRAINT_EASYCONSTRAINT_H__
#define __EASYCONSTRAINT_EASYCONSTRAINT_H__

#include <lol/main.h>
#include <lol/engine.h>
#include "easyphysics.h"

namespace lol


+ 1
- 1
demos/test/physics/easyphysics.cpp Parādīt failu

@@ -10,7 +10,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif



+ 1
- 1
demos/test/physics/easyphysics.h Parādīt failu

@@ -17,7 +17,7 @@
#if !defined __EASYPHYSICS_EASYPHYSICS_H__
#define __EASYPHYSICS_EASYPHYSICS_H__

#include <lol/main.h>
#include <lol/engine.h>
#include <bullet/btBulletDynamicsCommon.h>
#include <bullet/btBulletCollisionCommon.h>
#include <bullet/BulletCollision/CollisionDispatch/btGhostObject.h>


+ 2
- 2
demos/test/sandbox/sample.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/test/scenesetup-compiler.cpp Parādīt failu

@@ -9,13 +9,13 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <string>

#include <lol/main.h>
#include <lol/engine.h>
#include "scenesetup.h"
#include "scenesetup-compiler.h"



+ 2
- 2
demos/test/scenesetup.cpp Parādīt failu

@@ -9,11 +9,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "scenesetup.h"
#include "scenesetup-compiler.h"



+ 2
- 2
demos/tutorial/01_triangle.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/02_cube.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/03_noise.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/04_texture.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/05_easymesh.cpp Parādīt failu

@@ -9,11 +9,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/tutorial/06_sprite.cpp Parādīt failu

@@ -9,11 +9,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>

using namespace lol;



+ 2
- 2
demos/tutorial/07_input.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/08_fbo.cpp Parādīt failu

@@ -8,11 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/11_fractal.cpp Parādīt failu

@@ -8,14 +8,14 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <cstring>
#include <cstdio>

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 2
demos/tutorial/12_voronoi.cpp Parādīt failu

@@ -9,11 +9,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
#if HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine.h>
#include "loldebug.h"

using namespace lol;


+ 2
- 1
src/Makefile.am Parādīt failu

@@ -26,13 +26,14 @@ liblolcore_a_SOURCES = \
$(sdl_sources) \
$(d3d9_sources) \
$(android_sources)
#liblolcore_a_CPPFLAGS = -include-pch $(srcdir)/lol/engine-internal.h.pch $(AM_CPPFLAGS) -I$(srcdir)/bullet -I$(srcdir)/lua
liblolcore_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/bullet -I$(srcdir)/lua

EXTRA_DIST += easymesh/easymesh-scanner.l easymesh/easymesh-parser.y \
gpu/lolfx-scanner.l gpu/lolfx-parser.y

liblolcore_headers = \
lol/main.h lol/engine.h lol/extras.h \
lol/engine-internal.h lol/engine.h lol/public.h lol/extras.h \
\
lol/base/all.h \
lol/base/features.h lol/base/tuple.h lol/base/types.h lol/base/array.h \


+ 1
- 5
src/application/application.cpp Parādīt failu

@@ -8,16 +8,12 @@
// http://www.wtfpl.net/ for more details.
//

#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if HAVE_EMSCRIPTEN_H
# include <emscripten.h>
#endif

#include <lol/main.h>

#include "lolgl.h"

#if __CELLOS_LV2__


+ 1
- 5
src/audio.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined USE_SDL_MIXER
# if defined HAVE_SDL_SDL_H
@@ -25,8 +23,6 @@
# endif
#endif

#include <lol/main.h>

namespace lol
{



+ 1
- 5
src/base/assert.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if HAVE_CXXABI_H
# include <cxxabi.h>
@@ -23,8 +21,6 @@
# include <emscripten.h>
#endif

#include <lol/main.h>

namespace lol
{



+ 1
- 5
src/base/enum.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 5
src/base/hash.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 5
src/base/log.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined(HAVE_CONFIG_H)
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdio>

@@ -26,8 +24,6 @@
# include <cstdarg>
#endif

#include <lol/main.h>

namespace lol
{



+ 1
- 5
src/base/string.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdio>

@@ -21,8 +19,6 @@

#include <cstdarg>

#include <lol/main.h>

namespace lol
{



+ 1
- 5
src/camera.cpp Parādīt failu

@@ -9,15 +9,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstring>
#include <cstdlib>

#include <lol/main.h>

#if defined _WIN32 || defined _XBOX
# define strcasecmp _stricmp
# undef near


+ 1
- 4
src/debug/fps.cpp Parādīt failu

@@ -8,13 +8,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdio>

#include <lol/main.h>
#include "loldebug.h"

namespace lol


+ 1
- 5
src/debug/lines.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 4
src/debug/record.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstring>

@@ -18,7 +16,6 @@
# include <pipi.h>
#endif

#include <lol/main.h>
#include "loldebug.h"

namespace lol


+ 1
- 4
src/debug/stats.cpp Parādīt failu

@@ -8,13 +8,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdio>

#include <lol/main.h>
#include "loldebug.h"

namespace lol


+ 1
- 5
src/dict.cpp Parādīt failu

@@ -8,15 +8,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstring>
#include <cstdlib>

#include <lol/main.h>

#if defined _WIN32 || defined _XBOX
# define strcasecmp _stricmp
#endif


+ 1
- 6
src/easymesh/csgbsp.cpp Parādīt failu

@@ -14,12 +14,7 @@
// ------------------
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/math/geometry.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 4
src/easymesh/easymesh-compiler.cpp Parādīt failu

@@ -10,13 +10,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <string>

#include <lol/main.h>
#include "easymesh/easymesh-compiler.h"

namespace lol


+ 1
- 4
src/easymesh/easymesh.cpp Parādīt failu

@@ -15,11 +15,8 @@
// ------------------
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "easymesh/easymesh-compiler.h"

LOLFX_RESOURCE_DECLARE(shiny);


+ 1
- 5
src/easymesh/easymeshbuild.cpp Parādīt failu

@@ -15,11 +15,7 @@
// ------------------
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 5
src/easymesh/easymeshrender.cpp Parādīt failu

@@ -15,11 +15,7 @@
// ------------------
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 4
src/eglapp.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined USE_EGL && !defined __ANDROID__
# if defined HAVE_BCM_HOST_H
@@ -32,7 +30,6 @@
# endif
#endif

#include <lol/main.h>
#include "lolgl.h"
#include "eglapp.h"
#if defined USE_SDL


+ 1
- 5
src/emitter.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 5
src/entity.cpp Parādīt failu

@@ -8,14 +8,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdlib>

#include <lol/main.h>

namespace lol
{



+ 1
- 5
src/font.cpp Parādīt failu

@@ -9,15 +9,11 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstring>
#include <cstdio>

#include <lol/main.h>

namespace lol
{



+ 1
- 5
src/forge.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 4
src/generated/easymesh-parser.cpp Parādīt failu

@@ -50,11 +50,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "easymesh/easymesh.h"

#include <string>


+ 1
- 4
src/generated/easymesh-scanner.cpp Parādīt failu

@@ -658,9 +658,7 @@ static yyconst flex_int16_t yy_chk[502] =
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdlib>
using std::exit;
@@ -668,7 +666,6 @@ using std::malloc;
using std::realloc;
using std::free;

#include <lol/main.h>
#include "easymesh/easymesh-compiler.h"

typedef lol::EasyMeshParser::token token;


+ 1
- 5
src/generated/lolfx-parser.cpp Parādīt failu

@@ -48,11 +48,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

#include <string>



+ 1
- 4
src/generated/lolfx-scanner.cpp Parādīt failu

@@ -1661,9 +1661,7 @@ static yyconst flex_int16_t yy_chk[3114] =
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdlib>
using std::exit;
@@ -1672,7 +1670,6 @@ using std::realloc;
using std::free;
#include <iostream>

#include <lol/main.h>
#include "gpu/lolfx-compiler.h"

typedef lol::LolFxParser::token token;


+ 1
- 4
src/gpu/framebuffer.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "lolgl.h"

#if defined _WIN32 && defined USE_D3D9


+ 1
- 4
src/gpu/indexbuffer.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "lolgl.h"

#if defined _WIN32 && defined USE_D3D9


+ 1
- 4
src/gpu/lolfx-compiler.cpp Parādīt failu

@@ -8,13 +8,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <string>

#include <lol/main.h>
#include "gpu/lolfx-compiler.h"

namespace lol


+ 1
- 4
src/gpu/lolfx.cpp Parādīt failu

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

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "gpu/lolfx-compiler.h"

namespace lol


+ 1
- 5
src/gpu/rendercontext.cpp Parādīt failu

@@ -8,14 +8,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdlib>

#include <lol/main.h>

namespace lol
{



+ 1
- 4
src/gpu/renderer.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstdlib>

@@ -28,7 +26,6 @@
# undef far /* Fuck Microsoft again */
#endif

#include <lol/main.h>
#include "lolgl.h"

/* FIXME: find a way to pass g_hwnd from the windowing system */


+ 1
- 4
src/gpu/shader.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cstring>
#include <cstdio>
@@ -31,7 +29,6 @@
# undef far /* Fuck Microsoft again */
#endif

#include <lol/main.h>
#include "lolgl.h"

namespace lol


+ 1
- 4
src/gpu/texture.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "lolgl.h"

#if defined _WIN32 && defined USE_D3D9


+ 1
- 4
src/gpu/vertexbuffer.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "lolgl.h"

#if defined _WIN32 && defined USE_D3D9


+ 1
- 5
src/gradient.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

LOLFX_RESOURCE_DECLARE(gradient);



+ 1
- 4
src/image/codec/android-image.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined __ANDROID__

@@ -21,7 +19,6 @@ extern "C" {
#include <android_native_app_glue.h>
}

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/dummy-image.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/gdiplus-image.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined USE_GDIPLUS

@@ -21,7 +19,6 @@ using std::max;
#include <windows.h>
#include <gdiplus.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/imlib2-image.cpp Parādīt failu

@@ -8,15 +8,12 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined USE_IMLIB2

#include <Imlib2.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/ios-image.cpp Parādīt failu

@@ -8,15 +8,12 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined __APPLE__ && defined __MACH__ && defined __arm__

#import <UIKit/UIKit.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/oric-image.cpp Parādīt failu

@@ -8,13 +8,10 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <cctype>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/ps3-image.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined __CELLOS_LV2__

@@ -18,7 +16,6 @@
#include <cell/sysmodule.h>
#include <cell/codec/pngdec.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/sdl-image.cpp Parādīt failu

@@ -8,9 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#if defined USE_SDL_IMAGE

@@ -25,7 +23,6 @@
# include <SDL_image.h>
#endif

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/zed-image.cpp Parādīt failu

@@ -9,11 +9,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 4
src/image/codec/zed-palette-image.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "../../image/image-private.h"

namespace lol


+ 1
- 5
src/image/color/cie1931.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* This file contains code and data related to various CIE standards.


+ 1
- 5
src/image/color/color.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

namespace lol
{


+ 1
- 5
src/image/combine.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Image merge operations: merge, min/max, overlay, screen, multiply,


+ 1
- 4
src/image/crop.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "image-private.h"

/*


+ 1
- 5
src/image/dither/dbs.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Direct Binary Search dithering


+ 1
- 5
src/image/dither/ediff.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Generic error diffusion functions


+ 1
- 5
src/image/dither/ordered.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Bayer ordered dithering functions


+ 1
- 5
src/image/dither/ostromoukhov.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Ostromoukhov dithering functions


+ 1
- 5
src/image/dither/random.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Random dithering


+ 1
- 5
src/image/filter/color.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Colour manipulation functions


+ 1
- 5
src/image/filter/convolution.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Generic convolution functions


+ 1
- 5
src/image/filter/dilate.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Dilate and erode functions


+ 1
- 5
src/image/filter/median.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Median filter functions


+ 1
- 5
src/image/filter/yuv.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* YUV conversion functions


+ 1
- 4
src/image/image.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "image-private.h"

#include <algorithm> /* for std::swap */


+ 1
- 5
src/image/kernel.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Stock kernels


+ 1
- 5
src/image/noise.cpp Parādīt failu

@@ -8,11 +8,7 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif

#include <lol/main.h>
#include <lol/engine-internal.h>

/*
* Noise rendering functions


+ 1
- 4
src/image/pixel.cpp Parādīt failu

@@ -8,11 +8,8 @@
// http://www.wtfpl.net/ for more details.
//

#if defined HAVE_CONFIG_H
# include "config.h"
#endif
#include <lol/engine-internal.h>

#include <lol/main.h>
#include "image-private.h"

namespace lol


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels

Notiek ielāde…
Atcelt
Saglabāt