| @@ -15,6 +15,7 @@ | |||||
| #endif | #endif | ||||
| #include <lol/engine.h> | #include <lol/engine.h> | ||||
| #include <lol/image/movie.h> | |||||
| #include "loldebug.h" | #include "loldebug.h" | ||||
| int main(int argc, char **argv) | int main(int argc, char **argv) | ||||
| @@ -1,7 +1,7 @@ | |||||
| // | // | ||||
| // Lol Engine | // Lol Engine | ||||
| // | // | ||||
| // Copyright © 2010—2018 Sam Hocevar <sam@hocevar.net> | |||||
| // Copyright © 2010—2020 Sam Hocevar <sam@hocevar.net> | |||||
| // | // | ||||
| // Lol Engine is free software. It comes without any warranty, to | // Lol Engine is free software. It comes without any warranty, to | ||||
| // the extent permitted by applicable law. You can redistribute it | // the extent permitted by applicable law. You can redistribute it | ||||
| @@ -11,6 +11,7 @@ | |||||
| // | // | ||||
| #include <lol/engine-internal.h> | #include <lol/engine-internal.h> | ||||
| #include <lol/image/movie.h> | |||||
| #if LOL_USE_FFMPEG | #if LOL_USE_FFMPEG | ||||
| extern "C" | extern "C" | ||||
| @@ -41,8 +41,6 @@ | |||||
| #include <lol/../gradient.h> | #include <lol/../gradient.h> | ||||
| #include <lol/../sprite.h> | #include <lol/../sprite.h> | ||||
| #include <lol/../text.h> | #include <lol/../text.h> | ||||
| #include <lol/../textureimage.h> | |||||
| #include <lol/../tileset.h> | |||||
| // UI | // UI | ||||
| #include <lol/../ui/input.h> | #include <lol/../ui/input.h> | ||||
| @@ -1,7 +1,7 @@ | |||||
| // | // | ||||
| // Lol Engine | // Lol Engine | ||||
| // | // | ||||
| // Copyright © 2010—2015 Sam Hocevar <sam@hocevar.net> | |||||
| // Copyright © 2010—2020 Sam Hocevar <sam@hocevar.net> | |||||
| // | // | ||||
| // Lol Engine is free software. It comes without any warranty, to | // Lol Engine is free software. It comes without any warranty, to | ||||
| // the extent permitted by applicable law. You can redistribute it | // the extent permitted by applicable law. You can redistribute it | ||||
| @@ -13,8 +13,5 @@ | |||||
| #pragma once | #pragma once | ||||
| #include <lol/image/pixel.h> | #include <lol/image/pixel.h> | ||||
| #include <lol/image/color.h> | |||||
| #include <lol/image/image.h> | |||||
| #include <lol/image/resource.h> | #include <lol/image/resource.h> | ||||
| #include <lol/image/movie.h> | |||||
| @@ -21,7 +21,6 @@ | |||||
| #include <memory> | #include <memory> | ||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "tileset.h" | |||||
| #include "light.h" | #include "light.h" | ||||
| #include "camera.h" | #include "camera.h" | ||||
| #include "mesh/mesh.h" | #include "mesh/mesh.h" | ||||
| @@ -55,7 +54,7 @@ private: | |||||
| struct Tile | struct Tile | ||||
| { | { | ||||
| mat4 m_model; | mat4 m_model; | ||||
| TileSet *m_tileset; | |||||
| class TileSet *m_tileset; | |||||
| int m_id; | int m_id; | ||||
| }; | }; | ||||
| @@ -241,8 +240,8 @@ public: | |||||
| /* FIXME: this should be deprecated -- it doesn't really match | /* FIXME: this should be deprecated -- it doesn't really match | ||||
| * the architecture we want to build */ | * the architecture we want to build */ | ||||
| void AddTile(TileSet *tileset, int id, vec3 pos, vec2 scale, float radians); | |||||
| void AddTile(TileSet *tileset, int id, mat4 model); | |||||
| void AddTile(class TileSet *tileset, int id, vec3 pos, vec2 scale, float radians); | |||||
| void AddTile(class TileSet *tileset, int id, mat4 model); | |||||
| public: | public: | ||||
| void AddLine(vec3 a, vec3 b, vec4 color); | void AddLine(vec3 a, vec3 b, vec4 color); | ||||