mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Optimized imports.
--HG-- branch : dev-2.1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef EE_AUDIOCAUDIODEVICE_H
|
||||
#define EE_AUDIOCAUDIODEVICE_H
|
||||
|
||||
#include <string>
|
||||
#include <eepp/audio/audiolistener.hpp>
|
||||
|
||||
namespace EE { namespace Audio {
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#ifndef EE_AUDIOCLISTENER_H
|
||||
#define EE_AUDIOCLISTENER_H
|
||||
|
||||
#include <eepp/audio/base.hpp>
|
||||
#include <eepp/math/vector3.hpp>
|
||||
using namespace EE::Math;
|
||||
|
||||
namespace EE { namespace Audio {
|
||||
|
||||
|
||||
@@ -3,16 +3,6 @@
|
||||
|
||||
#include <eepp/core.hpp>
|
||||
|
||||
#include <eepp/system/log.hpp>
|
||||
#include <eepp/system/pack.hpp>
|
||||
#include <eepp/system/thread.hpp>
|
||||
#include <eepp/system/filesystem.hpp>
|
||||
#include <eepp/system/time.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
#include <eepp/math/vector3.hpp>
|
||||
using namespace EE::Math;
|
||||
|
||||
/**
|
||||
This module is based on the sfml-audio module.
|
||||
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
#ifndef EE_AUDIOCSOUNDBUFFER_H
|
||||
#define EE_AUDIOCSOUNDBUFFER_H
|
||||
|
||||
#include <eepp/audio/base.hpp>
|
||||
#include <set>
|
||||
#include <eepp/system/time.hpp>
|
||||
#include <eepp/system/pack.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
|
||||
namespace EE { namespace Audio {
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#ifndef EE_AUDIOCSOUNDSTREAM_H
|
||||
#define EE_AUDIOCSOUNDSTREAM_H
|
||||
|
||||
#include <eepp/audio/base.hpp>
|
||||
#include <eepp/audio/sound.hpp>
|
||||
#include <eepp/system/thread.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Audio {
|
||||
|
||||
|
||||
@@ -9,20 +9,7 @@
|
||||
#include <eepp/math/math.hpp>
|
||||
using namespace EE::Math;
|
||||
|
||||
#include <eepp/system/color.hpp>
|
||||
#include <eepp/system/bitop.hpp>
|
||||
#include <eepp/system/clock.hpp>
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/log.hpp>
|
||||
#include <eepp/system/pack.hpp>
|
||||
#include <eepp/system/resourcemanager.hpp>
|
||||
#include <eepp/system/container.hpp>
|
||||
#include <eepp/system/filesystem.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
#include <eepp/graphics/rendermode.hpp>
|
||||
#include <eepp/graphics/blendmode.hpp>
|
||||
#include <eepp/graphics/pixeldensity.hpp>
|
||||
|
||||
#ifndef EE_MAX_TEXTURE_UNITS
|
||||
#define EE_MAX_TEXTURE_UNITS 4
|
||||
|
||||
@@ -3,9 +3,13 @@
|
||||
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/primitivetype.hpp>
|
||||
#include <eepp/graphics/blendmode.hpp>
|
||||
#include <eepp/math/polygon2.hpp>
|
||||
#include <eepp/math/originpoint.hpp>
|
||||
|
||||
#include <eepp/system/color.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
struct eeTexCoord {
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/font.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/resourcemanager.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The Font Manager is a singleton class that manages all the instance of fonts instanciated.
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/framebuffer.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/container.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics { namespace Private {
|
||||
|
||||
class EE_API FrameBufferManager : public Container<FrameBuffer> {
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/batchrenderer.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The global Batch Renderer class. This class will be used by the engine for the rendering. */
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/textureatlas.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief Any SubTexture that doesn't belong to an specific TextureAtlas ( a real texture atlas texture ), goes here.
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/ninepatch.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/resourcemanager.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
class EE_API NinePatchManager : public ResourceManager<NinePatch> {
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
#include <eepp/graphics/base.hpp>
|
||||
|
||||
#include <eepp/system/color.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief A simple particle class used by the particle system.
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/particle.hpp>
|
||||
#include <eepp/graphics/blendmode.hpp>
|
||||
|
||||
#include <eepp/system/time.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/primitivetype.hpp>
|
||||
#include <eepp/math/polygon2.hpp>
|
||||
#include <eepp/graphics/blendmode.hpp>
|
||||
|
||||
#include <eepp/system/color.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
#include <eepp/graphics/texture.hpp>
|
||||
#include <eepp/graphics/subtexture.hpp>
|
||||
|
||||
#include <eepp/system/clock.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The scroll parallax renders a SubTexture to the screen from a position and a size specified. If the size is bigger than the SubTexture, the SubTexture is rendered as a repeated SubTexture until it covers all the size of the parallax, adding movement to more than one Scroll Parallax will generate the ilusion of depth.
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
#include <eepp/graphics/base.hpp>
|
||||
|
||||
#include <eepp/system/pack.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The basic shader class. */
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/shaderprogram.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/resourcemanager.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The Shader Program Manager is a singleton class that manages all the instances of Shader Programs instanciated.
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
#include <eepp/graphics/subtexture.hpp>
|
||||
#include <eepp/graphics/textureatlas.hpp>
|
||||
|
||||
#include <eepp/system/time.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief A Sprite controller class, can hold and control sprites animations. */
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/subtexture.hpp>
|
||||
#include <eepp/system/resourcemanager.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
#include <eepp/graphics/subtexture.hpp>
|
||||
#include <eepp/graphics/textureatlas.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/pack.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The Texture Atlas Manager is a singleton class that manages all the instances of Texture Atlases instanciated.
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
#ifndef EECTEXTUREFACTORY_H
|
||||
#define EECTEXTUREFACTORY_H
|
||||
|
||||
#include <list>
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/texture.hpp>
|
||||
|
||||
#include <eepp/system/pack.hpp>
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/mutex.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
#include <eepp/graphics/texture.hpp>
|
||||
#include <eepp/system/objectloader.hpp>
|
||||
|
||||
#include <eepp/system/pack.hpp>
|
||||
#include <eepp/system/clock.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The Texture loader loads a texture in synchronous or asynchronous mode.
|
||||
|
||||
@@ -31,9 +31,11 @@
|
||||
** Implementation differs from the original, but i used the base texture atlas algorithm.
|
||||
*/
|
||||
|
||||
#include <list>
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/packerhelper.hpp>
|
||||
#include <eepp/graphics/image.hpp>
|
||||
#include <eepp/graphics/pixeldensity.hpp>
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
#include <eepp/graphics/primitivetype.hpp>
|
||||
#include <eepp/graphics/vertexbufferhelper.hpp>
|
||||
|
||||
#include <eepp/system/color.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics {
|
||||
|
||||
/** @brief The vertex buffer class holds vertex data. The vertex position, colors, texture coordinates and indexes.
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
#include <eepp/graphics/base.hpp>
|
||||
#include <eepp/graphics/vertexbuffer.hpp>
|
||||
|
||||
#include <eepp/system/singleton.hpp>
|
||||
#include <eepp/system/container.hpp>
|
||||
using namespace EE::System;
|
||||
|
||||
namespace EE { namespace Graphics { namespace Private {
|
||||
|
||||
class EE_API VertexBufferManager : public Container<VertexBuffer> {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define EE_PHYSICS_PHYSICSMANAGER_HPP
|
||||
|
||||
#include <eepp/physics/base.hpp>
|
||||
#include <list>
|
||||
|
||||
CP_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef EE_PHYSICS_CSPACE_HPP
|
||||
#define EE_PHYSICS_CSPACE_HPP
|
||||
|
||||
#include <list>
|
||||
#include <eepp/physics/base.hpp>
|
||||
#include <eepp/physics/body.hpp>
|
||||
#include <eepp/physics/shape.hpp>
|
||||
|
||||
Reference in New Issue
Block a user