Преглед изворни кода

engine: move some files around.

undefined
Sam Hocevar пре 9 година
родитељ
комит
6ffaca4bbd
31 измењених фајлова са 68 додато и 58 уклоњено
  1. +8
    -4
      src/Makefile.am
  2. +1
    -1
      src/camera.h
  3. +1
    -1
      src/debug/fps.h
  4. +1
    -1
      src/debug/record.h
  5. +1
    -1
      src/debug/stats.h
  6. +1
    -1
      src/dict.h
  7. +1
    -1
      src/emitter.h
  8. +0
    -0
      src/engine/entity.cpp
  9. +0
    -0
      src/engine/entity.h
  10. +0
    -0
      src/engine/ticker.cpp
  11. +1
    -1
      src/engine/ticker.h
  12. +0
    -0
      src/engine/world.cpp
  13. +0
    -0
      src/engine/world.h
  14. +0
    -0
      src/engine/worldentity.cpp
  15. +1
    -1
      src/engine/worldentity.h
  16. +1
    -1
      src/font.h
  17. +1
    -1
      src/gradient.h
  18. +1
    -1
      src/light.h
  19. +9
    -6
      src/lol/extras.h
  20. +1
    -1
      src/lol/gpu/shader.h
  21. +1
    -1
      src/lol/sys/thread.h
  22. +8
    -8
      src/lolcore.vcxproj
  23. +22
    -19
      src/lolcore.vcxproj.filters
  24. +1
    -1
      src/platform/d3d9/d3d9input.h
  25. +1
    -1
      src/platform/sdl/sdlinput.h
  26. +1
    -1
      src/platform/xbox/xboxinput.h
  27. +1
    -1
      src/sample.h
  28. +1
    -1
      src/sprite.h
  29. +1
    -1
      src/text.h
  30. +1
    -1
      src/textureimage.h
  31. +1
    -1
      src/tileset.h

+ 8
- 4
src/Makefile.am Прегледај датотеку

@@ -6,15 +6,14 @@ SUBDIRS = bullet lua data . t
noinst_LIBRARIES = liblolcore.a

liblolcore_a_SOURCES = \
tiler.cpp tiler.h dict.cpp dict.h \
tiler.cpp tiler.h dict.cpp dict.h lolgl.h \
audio.cpp audio.h scene.cpp scene.h font.cpp font.h \
entity.cpp entity.h ticker.cpp ticker.h lolgl.h \
textureimage.cpp textureimage.h tileset.cpp tileset.h \
forge.cpp forge.h video.cpp video.h \
world.cpp world.h sample.cpp sample.h sampler.cpp sampler.h \
sample.cpp sample.h sampler.cpp sampler.h \
profiler.cpp profiler.h text.cpp text.h emitter.cpp emitter.h \
numeric.h utils.h messageservice.cpp messageservice.h \
worldentity.cpp worldentity.h gradient.cpp gradient.h gradient.lolfx \
gradient.cpp gradient.h gradient.lolfx \
platform.cpp platform.h sprite.cpp sprite.h camera.cpp camera.h \
light.cpp light.h lolimgui.cpp lolimgui.h \
\
@@ -124,6 +123,11 @@ liblolcore_sources = \
image/filter/dilate.cpp image/filter/median.cpp image/filter/yuv.cpp \
image/movie.cpp \
\
engine/ticker.cpp engine/ticker.h \
engine/entity.cpp engine/entity.h \
engine/world.cpp engine/world.h \
engine/worldentity.cpp engine/worldentity.h \
\
loldebug.h \
debug/fps.cpp debug/fps.h debug/lines.cpp \
debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h


+ 1
- 1
src/camera.h Прегледај датотеку

@@ -17,7 +17,7 @@

#include <lol/math/matrix.h>

#include "worldentity.h"
#include "engine/worldentity.h"

namespace lol
{


+ 1
- 1
src/debug/fps.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/debug/record.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/debug/stats.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/dict.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/emitter.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"
#include "tileset.h"

namespace lol


src/entity.cpp → src/engine/entity.cpp Прегледај датотеку


src/entity.h → src/engine/entity.h Прегледај датотеку


src/ticker.cpp → src/engine/ticker.cpp Прегледај датотеку


src/ticker.h → src/engine/ticker.h Прегледај датотеку

@@ -18,7 +18,7 @@

#include <stdint.h>

#include "entity.h"
#include "engine/entity.h"

namespace lol
{

src/world.cpp → src/engine/world.cpp Прегледај датотеку


src/world.h → src/engine/world.h Прегледај датотеку


src/worldentity.cpp → src/engine/worldentity.cpp Прегледај датотеку


src/worldentity.h → src/engine/worldentity.h Прегледај датотеку

@@ -17,7 +17,7 @@

#include <lol/math/transform.h>

#include "entity.h"
#include "engine/entity.h"

namespace lol
{

+ 1
- 1
src/font.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/gradient.h Прегледај датотеку

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

#include "worldentity.h"
#include "engine/worldentity.h"

namespace lol
{


+ 1
- 1
src/light.h Прегледај датотеку

@@ -17,7 +17,7 @@

#include <cfloat> /* for FLT_MAX */

#include "worldentity.h"
#include "engine/worldentity.h"

namespace lol
{


+ 9
- 6
src/lol/extras.h Прегледај датотеку

@@ -18,6 +18,9 @@
#include <lol/../utils.h>
#include <lol/../numeric.h>

// Lua
#include <lol/../lolua/baselua.h>

// Static classes
#include <lol/../platform.h>
#include <lol/../video.h>
@@ -30,10 +33,13 @@
#include <lol/../input/input.h>
#include <lol/../input/controller.h>

// Entities
#include <lol/../entity.h>
#include <lol/../worldentity.h>
// Engine
#include <lol/../engine/ticker.h>
#include <lol/../engine/world.h>
#include <lol/../engine/entity.h>
#include <lol/../engine/worldentity.h>

// Entities
#include <lol/../camera.h>
#include <lol/../light.h>
#include <lol/../emitter.h>
@@ -44,8 +50,6 @@
#include <lol/../text.h>
#include <lol/../textureimage.h>
#include <lol/../tileset.h>
#include <lol/../lolua/baselua.h>
#include <lol/../world.h>
#include <lol/../lolimgui.h>

// Other objects
@@ -58,7 +62,6 @@
#include <lol/../easymesh/easymeshlua.h>

// Managers
#include <lol/../ticker.h>
#include <lol/../forge.h>
#include <lol/../tiler.h>
#include <lol/../sampler.h>


+ 1
- 1
src/lol/gpu/shader.h Прегледај датотеку

@@ -17,7 +17,7 @@

#include <stdint.h>

#include "entity.h"
#include "engine/entity.h"

/* External declaration for LolFx files. */
#define LOLFX_RESOURCE_DECLARE(name) \


+ 1
- 1
src/lol/sys/thread.h Прегледај датотеку

@@ -18,7 +18,7 @@
// ---------------------
//

#include "entity.h"
#include "engine/entity.h"

#include <functional>



+ 8
- 8
src/lolcore.vcxproj Прегледај датотеку

@@ -111,8 +111,11 @@
<ClCompile Include="easymesh\easymeshrender.cpp" />
<ClCompile Include="easymesh\easymeshtransform.cpp" />
<ClCompile Include="eglapp.cpp" />
<ClCompile Include="engine\entity.cpp" />
<ClCompile Include="engine\ticker.cpp" />
<ClCompile Include="engine\world.cpp" />
<ClCompile Include="engine\worldentity.cpp" />
<ClCompile Include="emitter.cpp" />
<ClCompile Include="entity.cpp" />
<ClCompile Include="font.cpp" />
<ClCompile Include="forge.cpp" />
<ClCompile Include="gpu\framebuffer.cpp" />
@@ -227,12 +230,9 @@
<ClCompile Include="sys\timer.cpp" />
<ClCompile Include="text.cpp" />
<ClCompile Include="textureimage.cpp" />
<ClCompile Include="ticker.cpp" />
<ClCompile Include="tiler.cpp" />
<ClCompile Include="tileset.cpp" />
<ClCompile Include="video.cpp" />
<ClCompile Include="world.cpp" />
<ClCompile Include="worldentity.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="application\application.h" />
@@ -250,7 +250,10 @@
<ClInclude Include="easymesh\easymeshrender.h" />
<ClInclude Include="eglapp.h" />
<ClInclude Include="emitter.h" />
<ClInclude Include="entity.h" />
<ClInclude Include="engine\entity.h" />
<ClInclude Include="engine\ticker.h" />
<ClInclude Include="engine\worldentity.h" />
<ClInclude Include="engine\world.h" />
<ClInclude Include="font.h" />
<ClInclude Include="forge.h" />
<ClInclude Include="gradient.h" />
@@ -385,13 +388,10 @@
<ClInclude Include="text.h" />
<ClInclude Include="textureimage-private.h" />
<ClInclude Include="textureimage.h" />
<ClInclude Include="ticker.h" />
<ClInclude Include="tiler.h" />
<ClInclude Include="tileset.h" />
<ClInclude Include="utils.h" />
<ClInclude Include="video.h" />
<ClInclude Include="world.h" />
<ClInclude Include="worldentity.h" />
</ItemGroup>
<ItemGroup>
<LolFxCompile Include="easymesh\shiny.lolfx" />


+ 22
- 19
src/lolcore.vcxproj.filters Прегледај датотеку

@@ -94,7 +94,7 @@
<Filter Include="tileset">
<UniqueIdentifier>{7fb4105d-4f17-4824-8d40-948553fdcde1}</UniqueIdentifier>
</Filter>
<Filter Include="entities">
<Filter Include="engine">
<UniqueIdentifier>{3bd5fe6f-c9cd-45f3-98a9-958d86d415e8}</UniqueIdentifier>
</Filter>
<Filter Include="display">
@@ -246,9 +246,6 @@
<ClCompile Include="text.cpp">
<Filter>...</Filter>
</ClCompile>
<ClCompile Include="world.cpp">
<Filter>...</Filter>
</ClCompile>
<ClCompile Include="gpu\framebuffer.cpp">
<Filter>gpu</Filter>
</ClCompile>
@@ -406,11 +403,17 @@
<ClCompile Include="tileset.cpp">
<Filter>tileset</Filter>
</ClCompile>
<ClCompile Include="worldentity.cpp">
<Filter>entities</Filter>
<ClCompile Include="engine\entity.cpp">
<Filter>engine</Filter>
</ClCompile>
<ClCompile Include="engine\ticker.cpp">
<Filter>engine</Filter>
</ClCompile>
<ClCompile Include="entity.cpp">
<Filter>entities</Filter>
<ClCompile Include="engine\world.cpp">
<Filter>engine</Filter>
</ClCompile>
<ClCompile Include="engine\worldentity.cpp">
<Filter>engine</Filter>
</ClCompile>
<ClCompile Include="textureimage.cpp">
<Filter>tileset</Filter>
@@ -419,9 +422,6 @@
<ClCompile Include="mesh\primitivemesh.cpp">
<Filter>mesh</Filter>
</ClCompile>
<ClCompile Include="ticker.cpp">
<Filter>display</Filter>
</ClCompile>
<ClCompile Include="video.cpp">
<Filter>display</Filter>
</ClCompile>
@@ -589,7 +589,7 @@
<ClInclude Include="text.h">
<Filter>...</Filter>
</ClInclude>
<ClInclude Include="world.h">
<ClInclude Include="engine\world.h">
<Filter>...</Filter>
</ClInclude>
<ClInclude Include="easymesh\easymesh.h">
@@ -767,11 +767,17 @@
<ClInclude Include="tileset.h">
<Filter>tileset</Filter>
</ClInclude>
<ClInclude Include="worldentity.h">
<Filter>entities</Filter>
<ClInclude Include="engine\entity.h">
<Filter>engine</Filter>
</ClInclude>
<ClInclude Include="engine\ticker.h">
<Filter>engine</Filter>
</ClInclude>
<ClInclude Include="engine\world.h">
<Filter>engine</Filter>
</ClInclude>
<ClInclude Include="entity.h">
<Filter>entities</Filter>
<ClInclude Include="engine\worldentity.h">
<Filter>engine</Filter>
</ClInclude>
<ClInclude Include="textureimage.h">
<Filter>tileset</Filter>
@@ -783,9 +789,6 @@
<ClInclude Include="mesh\primitivemesh.h">
<Filter>mesh</Filter>
</ClInclude>
<ClInclude Include="ticker.h">
<Filter>display</Filter>
</ClInclude>
<ClInclude Include="video.h">
<Filter>display</Filter>
</ClInclude>


+ 1
- 1
src/platform/d3d9/d3d9input.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/platform/sdl/sdlinput.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/platform/xbox/xboxinput.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/sample.h Прегледај датотеку

@@ -16,7 +16,7 @@
// A Sample is a unique sound sample.
//

#include "entity.h"
#include "engine/entity.h"

#include <stdint.h>



+ 1
- 1
src/sprite.h Прегледај датотеку

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

#include "worldentity.h"
#include "engine/worldentity.h"
#include "tileset.h"

namespace lol


+ 1
- 1
src/text.h Прегледај датотеку

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

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/textureimage.h Прегледај датотеку

@@ -23,7 +23,7 @@

#include <stdint.h>

#include "entity.h"
#include "engine/entity.h"

namespace lol
{


+ 1
- 1
src/tileset.h Прегледај датотеку

@@ -24,7 +24,7 @@

#include <stdint.h>

#include "entity.h"
#include "engine/entity.h"
*/
#include "textureimage.h"



Loading…
Откажи
Сачувај