@@ -6,15 +6,14 @@ SUBDIRS = bullet lua data . t | |||||
noinst_LIBRARIES = liblolcore.a | noinst_LIBRARIES = liblolcore.a | ||||
liblolcore_a_SOURCES = \ | 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 \ | 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 \ | textureimage.cpp textureimage.h tileset.cpp tileset.h \ | ||||
forge.cpp forge.h video.cpp video.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 \ | profiler.cpp profiler.h text.cpp text.h emitter.cpp emitter.h \ | ||||
numeric.h utils.h messageservice.cpp messageservice.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 \ | platform.cpp platform.h sprite.cpp sprite.h camera.cpp camera.h \ | ||||
light.cpp light.h lolimgui.cpp lolimgui.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/filter/dilate.cpp image/filter/median.cpp image/filter/yuv.cpp \ | ||||
image/movie.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 \ | loldebug.h \ | ||||
debug/fps.cpp debug/fps.h debug/lines.cpp \ | debug/fps.cpp debug/fps.h debug/lines.cpp \ | ||||
debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h | debug/record.cpp debug/record.h debug/stats.cpp debug/stats.h | ||||
@@ -17,7 +17,7 @@ | |||||
#include <lol/math/matrix.h> | #include <lol/math/matrix.h> | ||||
#include "worldentity.h" | |||||
#include "engine/worldentity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// ------------------ | // ------------------ | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// --------------------- | // --------------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// -------------------- | // -------------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// -------------- | // -------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// ----------------- | // ----------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
#include "tileset.h" | #include "tileset.h" | ||||
namespace lol | namespace lol | ||||
@@ -18,7 +18,7 @@ | |||||
#include <stdint.h> | #include <stdint.h> | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { |
@@ -17,7 +17,7 @@ | |||||
#include <lol/math/transform.h> | #include <lol/math/transform.h> | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { |
@@ -15,7 +15,7 @@ | |||||
// -------------- | // -------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// ------------------ | // ------------------ | ||||
// | // | ||||
#include "worldentity.h" | |||||
#include "engine/worldentity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -17,7 +17,7 @@ | |||||
#include <cfloat> /* for FLT_MAX */ | #include <cfloat> /* for FLT_MAX */ | ||||
#include "worldentity.h" | |||||
#include "engine/worldentity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -18,6 +18,9 @@ | |||||
#include <lol/../utils.h> | #include <lol/../utils.h> | ||||
#include <lol/../numeric.h> | #include <lol/../numeric.h> | ||||
// Lua | |||||
#include <lol/../lolua/baselua.h> | |||||
// Static classes | // Static classes | ||||
#include <lol/../platform.h> | #include <lol/../platform.h> | ||||
#include <lol/../video.h> | #include <lol/../video.h> | ||||
@@ -30,10 +33,13 @@ | |||||
#include <lol/../input/input.h> | #include <lol/../input/input.h> | ||||
#include <lol/../input/controller.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/../camera.h> | ||||
#include <lol/../light.h> | #include <lol/../light.h> | ||||
#include <lol/../emitter.h> | #include <lol/../emitter.h> | ||||
@@ -44,8 +50,6 @@ | |||||
#include <lol/../text.h> | #include <lol/../text.h> | ||||
#include <lol/../textureimage.h> | #include <lol/../textureimage.h> | ||||
#include <lol/../tileset.h> | #include <lol/../tileset.h> | ||||
#include <lol/../lolua/baselua.h> | |||||
#include <lol/../world.h> | |||||
#include <lol/../lolimgui.h> | #include <lol/../lolimgui.h> | ||||
// Other objects | // Other objects | ||||
@@ -58,7 +62,6 @@ | |||||
#include <lol/../easymesh/easymeshlua.h> | #include <lol/../easymesh/easymeshlua.h> | ||||
// Managers | // Managers | ||||
#include <lol/../ticker.h> | |||||
#include <lol/../forge.h> | #include <lol/../forge.h> | ||||
#include <lol/../tiler.h> | #include <lol/../tiler.h> | ||||
#include <lol/../sampler.h> | #include <lol/../sampler.h> | ||||
@@ -17,7 +17,7 @@ | |||||
#include <stdint.h> | #include <stdint.h> | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
/* External declaration for LolFx files. */ | /* External declaration for LolFx files. */ | ||||
#define LOLFX_RESOURCE_DECLARE(name) \ | #define LOLFX_RESOURCE_DECLARE(name) \ | ||||
@@ -18,7 +18,7 @@ | |||||
// --------------------- | // --------------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
#include <functional> | #include <functional> | ||||
@@ -111,8 +111,11 @@ | |||||
<ClCompile Include="easymesh\easymeshrender.cpp" /> | <ClCompile Include="easymesh\easymeshrender.cpp" /> | ||||
<ClCompile Include="easymesh\easymeshtransform.cpp" /> | <ClCompile Include="easymesh\easymeshtransform.cpp" /> | ||||
<ClCompile Include="eglapp.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="emitter.cpp" /> | ||||
<ClCompile Include="entity.cpp" /> | |||||
<ClCompile Include="font.cpp" /> | <ClCompile Include="font.cpp" /> | ||||
<ClCompile Include="forge.cpp" /> | <ClCompile Include="forge.cpp" /> | ||||
<ClCompile Include="gpu\framebuffer.cpp" /> | <ClCompile Include="gpu\framebuffer.cpp" /> | ||||
@@ -227,12 +230,9 @@ | |||||
<ClCompile Include="sys\timer.cpp" /> | <ClCompile Include="sys\timer.cpp" /> | ||||
<ClCompile Include="text.cpp" /> | <ClCompile Include="text.cpp" /> | ||||
<ClCompile Include="textureimage.cpp" /> | <ClCompile Include="textureimage.cpp" /> | ||||
<ClCompile Include="ticker.cpp" /> | |||||
<ClCompile Include="tiler.cpp" /> | <ClCompile Include="tiler.cpp" /> | ||||
<ClCompile Include="tileset.cpp" /> | <ClCompile Include="tileset.cpp" /> | ||||
<ClCompile Include="video.cpp" /> | <ClCompile Include="video.cpp" /> | ||||
<ClCompile Include="world.cpp" /> | |||||
<ClCompile Include="worldentity.cpp" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<ClInclude Include="application\application.h" /> | <ClInclude Include="application\application.h" /> | ||||
@@ -250,7 +250,10 @@ | |||||
<ClInclude Include="easymesh\easymeshrender.h" /> | <ClInclude Include="easymesh\easymeshrender.h" /> | ||||
<ClInclude Include="eglapp.h" /> | <ClInclude Include="eglapp.h" /> | ||||
<ClInclude Include="emitter.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="font.h" /> | ||||
<ClInclude Include="forge.h" /> | <ClInclude Include="forge.h" /> | ||||
<ClInclude Include="gradient.h" /> | <ClInclude Include="gradient.h" /> | ||||
@@ -385,13 +388,10 @@ | |||||
<ClInclude Include="text.h" /> | <ClInclude Include="text.h" /> | ||||
<ClInclude Include="textureimage-private.h" /> | <ClInclude Include="textureimage-private.h" /> | ||||
<ClInclude Include="textureimage.h" /> | <ClInclude Include="textureimage.h" /> | ||||
<ClInclude Include="ticker.h" /> | |||||
<ClInclude Include="tiler.h" /> | <ClInclude Include="tiler.h" /> | ||||
<ClInclude Include="tileset.h" /> | <ClInclude Include="tileset.h" /> | ||||
<ClInclude Include="utils.h" /> | <ClInclude Include="utils.h" /> | ||||
<ClInclude Include="video.h" /> | <ClInclude Include="video.h" /> | ||||
<ClInclude Include="world.h" /> | |||||
<ClInclude Include="worldentity.h" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<LolFxCompile Include="easymesh\shiny.lolfx" /> | <LolFxCompile Include="easymesh\shiny.lolfx" /> | ||||
@@ -94,7 +94,7 @@ | |||||
<Filter Include="tileset"> | <Filter Include="tileset"> | ||||
<UniqueIdentifier>{7fb4105d-4f17-4824-8d40-948553fdcde1}</UniqueIdentifier> | <UniqueIdentifier>{7fb4105d-4f17-4824-8d40-948553fdcde1}</UniqueIdentifier> | ||||
</Filter> | </Filter> | ||||
<Filter Include="entities"> | |||||
<Filter Include="engine"> | |||||
<UniqueIdentifier>{3bd5fe6f-c9cd-45f3-98a9-958d86d415e8}</UniqueIdentifier> | <UniqueIdentifier>{3bd5fe6f-c9cd-45f3-98a9-958d86d415e8}</UniqueIdentifier> | ||||
</Filter> | </Filter> | ||||
<Filter Include="display"> | <Filter Include="display"> | ||||
@@ -246,9 +246,6 @@ | |||||
<ClCompile Include="text.cpp"> | <ClCompile Include="text.cpp"> | ||||
<Filter>...</Filter> | <Filter>...</Filter> | ||||
</ClCompile> | </ClCompile> | ||||
<ClCompile Include="world.cpp"> | |||||
<Filter>...</Filter> | |||||
</ClCompile> | |||||
<ClCompile Include="gpu\framebuffer.cpp"> | <ClCompile Include="gpu\framebuffer.cpp"> | ||||
<Filter>gpu</Filter> | <Filter>gpu</Filter> | ||||
</ClCompile> | </ClCompile> | ||||
@@ -406,11 +403,17 @@ | |||||
<ClCompile Include="tileset.cpp"> | <ClCompile Include="tileset.cpp"> | ||||
<Filter>tileset</Filter> | <Filter>tileset</Filter> | ||||
</ClCompile> | </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> | ||||
<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> | ||||
<ClCompile Include="textureimage.cpp"> | <ClCompile Include="textureimage.cpp"> | ||||
<Filter>tileset</Filter> | <Filter>tileset</Filter> | ||||
@@ -419,9 +422,6 @@ | |||||
<ClCompile Include="mesh\primitivemesh.cpp"> | <ClCompile Include="mesh\primitivemesh.cpp"> | ||||
<Filter>mesh</Filter> | <Filter>mesh</Filter> | ||||
</ClCompile> | </ClCompile> | ||||
<ClCompile Include="ticker.cpp"> | |||||
<Filter>display</Filter> | |||||
</ClCompile> | |||||
<ClCompile Include="video.cpp"> | <ClCompile Include="video.cpp"> | ||||
<Filter>display</Filter> | <Filter>display</Filter> | ||||
</ClCompile> | </ClCompile> | ||||
@@ -589,7 +589,7 @@ | |||||
<ClInclude Include="text.h"> | <ClInclude Include="text.h"> | ||||
<Filter>...</Filter> | <Filter>...</Filter> | ||||
</ClInclude> | </ClInclude> | ||||
<ClInclude Include="world.h"> | |||||
<ClInclude Include="engine\world.h"> | |||||
<Filter>...</Filter> | <Filter>...</Filter> | ||||
</ClInclude> | </ClInclude> | ||||
<ClInclude Include="easymesh\easymesh.h"> | <ClInclude Include="easymesh\easymesh.h"> | ||||
@@ -767,11 +767,17 @@ | |||||
<ClInclude Include="tileset.h"> | <ClInclude Include="tileset.h"> | ||||
<Filter>tileset</Filter> | <Filter>tileset</Filter> | ||||
</ClInclude> | </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> | ||||
<ClInclude Include="entity.h"> | |||||
<Filter>entities</Filter> | |||||
<ClInclude Include="engine\worldentity.h"> | |||||
<Filter>engine</Filter> | |||||
</ClInclude> | </ClInclude> | ||||
<ClInclude Include="textureimage.h"> | <ClInclude Include="textureimage.h"> | ||||
<Filter>tileset</Filter> | <Filter>tileset</Filter> | ||||
@@ -783,9 +789,6 @@ | |||||
<ClInclude Include="mesh\primitivemesh.h"> | <ClInclude Include="mesh\primitivemesh.h"> | ||||
<Filter>mesh</Filter> | <Filter>mesh</Filter> | ||||
</ClInclude> | </ClInclude> | ||||
<ClInclude Include="ticker.h"> | |||||
<Filter>display</Filter> | |||||
</ClInclude> | |||||
<ClInclude Include="video.h"> | <ClInclude Include="video.h"> | ||||
<Filter>display</Filter> | <Filter>display</Filter> | ||||
</ClInclude> | </ClInclude> | ||||
@@ -15,7 +15,7 @@ | |||||
// ------------------- | // ------------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// ------------------ | // ------------------ | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -15,7 +15,7 @@ | |||||
// ------------------- | // ------------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -16,7 +16,7 @@ | |||||
// A Sample is a unique sound sample. | // A Sample is a unique sound sample. | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
#include <stdint.h> | #include <stdint.h> | ||||
@@ -15,7 +15,7 @@ | |||||
// ---------------- | // ---------------- | ||||
// | // | ||||
#include "worldentity.h" | |||||
#include "engine/worldentity.h" | |||||
#include "tileset.h" | #include "tileset.h" | ||||
namespace lol | namespace lol | ||||
@@ -15,7 +15,7 @@ | |||||
// -------------- | // -------------- | ||||
// | // | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -23,7 +23,7 @@ | |||||
#include <stdint.h> | #include <stdint.h> | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
namespace lol | namespace lol | ||||
{ | { | ||||
@@ -24,7 +24,7 @@ | |||||
#include <stdint.h> | #include <stdint.h> | ||||
#include "entity.h" | |||||
#include "engine/entity.h" | |||||
*/ | */ | ||||
#include "textureimage.h" | #include "textureimage.h" | ||||