Parcourir la source

More header cleanup.

legacy
Sam Hocevar il y a 5 ans
Parent
révision
85007bd019
5 fichiers modifiés avec 7 ajouts et 11 suppressions
  1. +1
    -0
      doc/tutorial/16_movie.cpp
  2. +2
    -1
      src/image/movie.cpp
  3. +0
    -2
      src/lol/extras.h
  4. +1
    -4
      src/lol/image/all.h
  5. +3
    -4
      src/scene.h

+ 1
- 0
doc/tutorial/16_movie.cpp Voir le fichier

@@ -15,6 +15,7 @@
#endif

#include <lol/engine.h>
#include <lol/image/movie.h>
#include "loldebug.h"

int main(int argc, char **argv)


+ 2
- 1
src/image/movie.cpp Voir le fichier

@@ -1,7 +1,7 @@
//
// 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
// the extent permitted by applicable law. You can redistribute it
@@ -11,6 +11,7 @@
//

#include <lol/engine-internal.h>
#include <lol/image/movie.h>

#if LOL_USE_FFMPEG
extern "C"


+ 0
- 2
src/lol/extras.h Voir le fichier

@@ -41,8 +41,6 @@
#include <lol/../gradient.h>
#include <lol/../sprite.h>
#include <lol/../text.h>
#include <lol/../textureimage.h>
#include <lol/../tileset.h>

// UI
#include <lol/../ui/input.h>


+ 1
- 4
src/lol/image/all.h Voir le fichier

@@ -1,7 +1,7 @@
//
// 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
// the extent permitted by applicable law. You can redistribute it
@@ -13,8 +13,5 @@
#pragma once

#include <lol/image/pixel.h>
#include <lol/image/color.h>
#include <lol/image/image.h>
#include <lol/image/resource.h>
#include <lol/image/movie.h>


+ 3
- 4
src/scene.h Voir le fichier

@@ -21,7 +21,6 @@
#include <memory>
#include <stdint.h>

#include "tileset.h"
#include "light.h"
#include "camera.h"
#include "mesh/mesh.h"
@@ -55,7 +54,7 @@ private:
struct Tile
{
mat4 m_model;
TileSet *m_tileset;
class TileSet *m_tileset;
int m_id;
};

@@ -241,8 +240,8 @@ public:

/* FIXME: this should be deprecated -- it doesn't really match
* 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:
void AddLine(vec3 a, vec3 b, vec4 color);


Chargement…
Annuler
Enregistrer