[DEV/API] change .h in .hpp

This commit is contained in:
Edouard DUPIN 2016-09-30 22:28:36 +02:00
parent 3798324d97
commit 2f58ee931d
102 changed files with 425 additions and 426 deletions

View File

@ -26,7 +26,7 @@ def create(target, module_name):
'*operator<<*', '*operator<<*',
]) ])
my_module.add_exclude_file([ my_module.add_exclude_file([
'debug.h', 'debug.hpp',
]) ])
my_module.add_file_patterns([ my_module.add_file_patterns([
'*.h', '*.h',

View File

@ -4,6 +4,6 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/AudioElement.h> #include <ege/AudioElement.hpp>

View File

@ -4,6 +4,6 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/AudioEngine.h> #include <ege/AudioEngine.hpp>

View File

@ -4,20 +4,20 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/CollisionShapeCreator.h> #include <ege/CollisionShapeCreator.hpp>
#include <btBulletCollisionCommon.h> #include <btBulletCollisionCommon.hpp>
#include <BulletCollision/CollisionShapes/btConvexPolyhedron.h> #include <BulletCollision/CollisionShapes/btConvexPolyhedron.h>
#include <BulletCollision/CollisionShapes/btShapeHull.h> #include <BulletCollision/CollisionShapes/btShapeHull.h>
#include <BulletCollision/CollisionDispatch/btCollisionObject.h> #include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
#include <ege/physicsShape/PhysicsBox.h> #include <ege/physicsShape/PhysicsBox.hpp>
#include <ege/physicsShape/PhysicsCapsule.h> #include <ege/physicsShape/PhysicsCapsule.hpp>
#include <ege/physicsShape/PhysicsCone.h> #include <ege/physicsShape/PhysicsCone.hpp>
#include <ege/physicsShape/PhysicsConvexHull.h> #include <ege/physicsShape/PhysicsConvexHull.hpp>
#include <ege/physicsShape/PhysicsCylinder.h> #include <ege/physicsShape/PhysicsCylinder.hpp>
#include <ege/physicsShape/PhysicsSphere.h> #include <ege/physicsShape/PhysicsSphere.hpp>
// Documentetion of bullet library : // Documentetion of bullet library :
// http://bulletphysics.org/mediawiki-1.5.8/index.php/Collision_Shapes // http://bulletphysics.org/mediawiki-1.5.8/index.php/Collision_Shapes

View File

@ -5,8 +5,8 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
#include <BulletCollision/CollisionShapes/btCollisionShape.h> #include <BulletCollision/CollisionShapes/btCollisionShape.h>
namespace ege { namespace ege {

View File

@ -4,13 +4,13 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/elements/Element.h> #include <ege/elements/Element.hpp>
#include <ewol/object/Manager.h> #include <ewol/object/Manager.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <BulletDynamics/Dynamics/btRigidBody.h> #include <BulletDynamics/Dynamics/btRigidBody.h>
#include <LinearMath/btDefaultMotionState.h> #include <LinearMath/btDefaultMotionState.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h> #include <BulletDynamics/Dynamics/btDynamicsWorld.h>

View File

@ -9,23 +9,23 @@ namespace ege {
class Environement; class Environement;
class ElementInteraction; class ElementInteraction;
}; };
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
#include <ege/ParticuleEngine.h> #include <ege/ParticuleEngine.hpp>
#include <etk/types.h> #include <etk/types.hpp>
#include <BulletDynamics/Dynamics/btActionInterface.h> #include <BulletDynamics/Dynamics/btActionInterface.h>
class btDynamicsWorld; class btDynamicsWorld;
#include <vector> #include <vector>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <ejson/ejson.h> #include <ejson/ejson.hpp>
#include <exml/exml.h> #include <exml/exml.hpp>
#include <ewol/object/Object.h> #include <ewol/object/Object.hpp>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
#include <ewol/event/Time.h> #include <ewol/event/Time.hpp>
#include <eproperty/Value.h> #include <eproperty/Value.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
#include <ege/physics/Engine.h> #include <ege/physics/Engine.hpp>
namespace ege { namespace ege {
class Element; class Element;

View File

@ -5,17 +5,17 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <vector> #include <vector>
#include <ewol/debug.h> #include <ewol/debug.hpp>
#include <ege/Camera.h> #include <ege/Camera.hpp>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <ewol/openGL/openGL.h> #include <ewol/openGL/openGL.hpp>
#include <ewol/resource/Manager.h> #include <ewol/resource/Manager.hpp>
#include <ege/ElementGame.h> #include <ege/ElementGame.hpp>
#include <ewol/Dimension.h> #include <ewol/Dimension.hpp>
class btBroadphaseInterface; class btBroadphaseInterface;
class btCollisionShape; class btCollisionShape;
@ -27,7 +27,7 @@ class btDefaultCollisionConfiguration;
class btDynamicsWorld; class btDynamicsWorld;
#include <LinearMath/btScalar.h> #include <LinearMath/btScalar.h>
class btVector3; class btVector3;
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
namespace ege { namespace ege {
enum gameStatus { enum gameStatus {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/Light.h> #include <ege/Light.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
ege::Light::Light() : ege::Light::Light() :
m_direction(0,0,0), m_direction(0,0,0),

View File

@ -5,10 +5,10 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Vector4D.h> #include <etk/math/Vector4D.hpp>
#include <gale/resource/Program.h> #include <gale/resource/Program.hpp>
namespace ege { namespace ege {
class Light { class Light {

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <gale/resource/Manager.h> #include <gale/resource/Manager.hpp>
#include <ege/Material.h> #include <ege/Material.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
ege::MaterialGlId::MaterialGlId() : ege::MaterialGlId::MaterialGlId() :
m_GL_ambientFactor(0), m_GL_ambientFactor(0),

View File

@ -5,11 +5,11 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Vector4D.h> #include <etk/math/Vector4D.hpp>
#include <gale/resource/Program.h> #include <gale/resource/Program.hpp>
#include <ewol/resource/Image.h> #include <ewol/resource/Image.hpp>
namespace ege { namespace ege {
/** /**

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/Particule.h> #include <ege/Particule.hpp>
#include <ege/ParticuleEngine.h> #include <ege/ParticuleEngine.hpp>
ege::Particule::Particule(ege::ParticuleEngine* _particuleEngine, const char* _particuleType) : ege::Particule::Particule(ege::ParticuleEngine* _particuleEngine, const char* _particuleType) :
m_particuleEngine(_particuleEngine), m_particuleEngine(_particuleEngine),

View File

@ -9,9 +9,9 @@ namespace ege {
class ParticuleEngine; class ParticuleEngine;
}; };
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
namespace ege { namespace ege {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/ParticuleEngine.h> #include <ege/ParticuleEngine.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/Particule.h> #include <ege/Particule.hpp>
ege::ParticuleEngine::ParticuleEngine(ege::Environement* _env) : ege::ParticuleEngine::ParticuleEngine(ege::Environement* _env) :
m_env(_env) { m_env(_env) {

View File

@ -8,9 +8,9 @@ namespace ege {
class Environement; class Environement;
class Particule; class Particule;
}; };
#include <etk/types.h> #include <etk/types.hpp>
#include <vector> #include <vector>
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
namespace ege { namespace ege {
class ParticuleEngine { class ParticuleEngine {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/ParticuleSimple.h> #include <ege/ParticuleSimple.hpp>
ege::ParticuleSimple::ParticuleSimple(ege::ParticuleEngine* _particuleEngine, const char* _particuleType) : ege::ParticuleSimple::ParticuleSimple(ege::ParticuleEngine* _particuleEngine, const char* _particuleType) :
Particule(_particuleEngine, _particuleType) { Particule(_particuleEngine, _particuleType) {

View File

@ -9,12 +9,12 @@ namespace ege {
class ParticuleSimple; class ParticuleSimple;
}; };
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector2D.h> #include <etk/math/Vector2D.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Vector4D.h> #include <etk/math/Vector4D.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/Particule.h> #include <ege/Particule.hpp>
namespace ege { namespace ege {

View File

@ -3,10 +3,10 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/Ray.h> #include <ege/Ray.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/elements/Element.h> #include <ege/elements/Element.hpp>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h> #include <BulletDynamics/Dynamics/btDynamicsWorld.h>
#include <BulletCollision/CollisionDispatch/btCollisionWorld.h> #include <BulletCollision/CollisionDispatch/btCollisionWorld.h>

View File

@ -5,13 +5,13 @@
*/ */
#pragma once #pragma once
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
namespace ege { namespace ege {
class Ray; class Ray;
class Element; class Element;
}; };
#include <ege/physics/Engine.h> #include <ege/physics/Engine.hpp>
#include <ememory/memory.h> #include <ememory/memory.hpp>
namespace ege { namespace ege {
class Ray { class Ray {

View File

@ -5,10 +5,10 @@
*/ */
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
ege::Camera::Camera() : ege::Camera::Camera() :
m_aspectRatio(0.5), m_aspectRatio(0.5),

View File

@ -6,12 +6,12 @@
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Vector2D.h> #include <etk/math/Vector2D.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <ege/Ray.h> #include <ege/Ray.hpp>
#include <ewol/resource/Colored3DObject.h> #include <ewol/resource/Colored3DObject.hpp>
namespace ege { namespace ege {

View File

@ -5,9 +5,9 @@
*/ */
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
void ege::camera::View::update() { void ege::camera::View::update() {
//m_matrix = etk::matLookAt(m_eye, m_target, m_up); //m_matrix = etk::matLookAt(m_eye, m_target, m_up);

View File

@ -5,7 +5,7 @@
*/ */
#pragma once #pragma once
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
namespace ege { namespace ege {
namespace camera { namespace camera {

View File

@ -4,7 +4,7 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
int32_t ege::getLogId() { int32_t ege::getLogId() {
static int32_t g_val = elog::registerInstance("ege"); static int32_t g_val = elog::registerInstance("ege");

View File

@ -5,7 +5,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace ege { namespace ege {
int32_t getLogId(); int32_t getLogId();

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/elements/Element.h> #include <ege/elements/Element.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <BulletDynamics/Dynamics/btRigidBody.h> #include <BulletDynamics/Dynamics/btRigidBody.h>
#include <LinearMath/btDefaultMotionState.h> #include <LinearMath/btDefaultMotionState.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h> #include <BulletDynamics/Dynamics/btDynamicsWorld.h>
@ -21,7 +21,7 @@
#include <btBulletDynamicsCommon.h> #include <btBulletDynamicsCommon.h>
#include <BulletCollision/CollisionDispatch/btCollisionObject.h> #include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <ege/CollisionShapeCreator.h> #include <ege/CollisionShapeCreator.hpp>
const std::string& ege::Element::getType() const { const std::string& ege::Element::getType() const {

View File

@ -5,18 +5,18 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <vector> #include <vector>
#include <ewol/debug.h> #include <ewol/debug.hpp>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <ewol/resource/Colored3DObject.h> #include <ewol/resource/Colored3DObject.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
#include <ewol/compositing/Text.h> #include <ewol/compositing/Text.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#define INDEX_RIGHT_AXIS (0) #define INDEX_RIGHT_AXIS (0)
#define INDEX_FORWARD_AXIS (1) #define INDEX_FORWARD_AXIS (1)

View File

@ -5,8 +5,8 @@
*/ */
#include <ege/elements/ElementBase.h> #include <ege/elements/ElementBase.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
ege::ElementBase::ElementBase(const ememory::SharedPtr<ege::Environement>& _env) : ege::ElementBase::ElementBase(const ememory::SharedPtr<ege::Environement>& _env) :
ege::Element(_env), ege::Element(_env),

View File

@ -5,7 +5,7 @@
*/ */
#pragma once #pragma once
#include <ege/elements/Element.h> #include <ege/elements/Element.hpp>
namespace ege { namespace ege {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <BulletDynamics/Dynamics/btRigidBody.h> #include <BulletDynamics/Dynamics/btRigidBody.h>
#include <LinearMath/btDefaultMotionState.h> #include <LinearMath/btDefaultMotionState.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h> #include <BulletDynamics/Dynamics/btDynamicsWorld.h>
@ -21,7 +21,7 @@
#include <btBulletDynamicsCommon.h> #include <btBulletDynamicsCommon.h>
#include <BulletCollision/CollisionDispatch/btCollisionObject.h> #include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <ege/CollisionShapeCreator.h> #include <ege/CollisionShapeCreator.hpp>
const std::string& ege::ElementPhysic::getType() const { const std::string& ege::ElementPhysic::getType() const {
static const std::string nameType("----"); static const std::string nameType("----");

View File

@ -5,19 +5,19 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <vector> #include <vector>
#include <ewol/debug.h> #include <ewol/debug.hpp>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <ewol/resource/Colored3DObject.h> #include <ewol/resource/Colored3DObject.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
#include <ewol/compositing/Text.h> #include <ewol/compositing/Text.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/elements/Element.h> #include <ege/elements/Element.hpp>
#include <LinearMath/btDefaultMotionState.h> #include <LinearMath/btDefaultMotionState.h>

View File

@ -4,12 +4,12 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/physics/Engine.h> #include <ege/physics/Engine.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <BulletDynamics/Dynamics/btRigidBody.h> #include <BulletDynamics/Dynamics/btRigidBody.h>
#include <LinearMath/btDefaultMotionState.h> #include <LinearMath/btDefaultMotionState.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h> #include <BulletDynamics/Dynamics/btDynamicsWorld.h>
@ -23,7 +23,7 @@
#include <btBulletDynamicsCommon.h> #include <btBulletDynamicsCommon.h>
#include <BulletCollision/CollisionDispatch/btCollisionObject.h> #include <BulletCollision/CollisionDispatch/btCollisionObject.h>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
// unique callback function : // unique callback function :

View File

@ -10,16 +10,16 @@ namespace ege {
class Engine; class Engine;
}; };
}; };
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <vector> #include <vector>
#include <ewol/debug.h> #include <ewol/debug.hpp>
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <gale/resource/Manager.h> #include <gale/resource/Manager.hpp>
#include <gale/Dimension.h> #include <gale/Dimension.hpp>
class btBroadphaseInterface; class btBroadphaseInterface;

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsBox.h> #include <ege/physicsShape/PhysicsBox.hpp>
bool ege::PhysicsBox::parse(const char* _line) { bool ege::PhysicsBox::parse(const char* _line) {

View File

@ -6,8 +6,8 @@
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
namespace ege { namespace ege {
class PhysicsBox : public ege::PhysicsShape { class PhysicsBox : public ege::PhysicsShape {

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsCapsule.h> #include <ege/physicsShape/PhysicsCapsule.hpp>

View File

@ -6,8 +6,8 @@
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
namespace ege { namespace ege {

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsCone.h> #include <ege/physicsShape/PhysicsCone.hpp>

View File

@ -5,8 +5,8 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
namespace ege { namespace ege {
class PhysicsCone : public ege::PhysicsShape { class PhysicsCone : public ege::PhysicsShape {

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsConvexHull.h> #include <ege/physicsShape/PhysicsConvexHull.hpp>

View File

@ -5,8 +5,8 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
namespace ege { namespace ege {
class PhysicsConvexHull : public ege::PhysicsShape { class PhysicsConvexHull : public ege::PhysicsShape {

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsCylinder.h> #include <ege/physicsShape/PhysicsCylinder.hpp>
bool ege::PhysicsCylinder::parse(const char* _line) { bool ege::PhysicsCylinder::parse(const char* _line) {

View File

@ -6,8 +6,8 @@
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
namespace ege { namespace ege {

View File

@ -3,14 +3,14 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
#include <ege/physicsShape/PhysicsBox.h> #include <ege/physicsShape/PhysicsBox.hpp>
#include <ege/physicsShape/PhysicsCapsule.h> #include <ege/physicsShape/PhysicsCapsule.hpp>
#include <ege/physicsShape/PhysicsCone.h> #include <ege/physicsShape/PhysicsCone.hpp>
#include <ege/physicsShape/PhysicsConvexHull.h> #include <ege/physicsShape/PhysicsConvexHull.hpp>
#include <ege/physicsShape/PhysicsCylinder.h> #include <ege/physicsShape/PhysicsCylinder.hpp>
#include <ege/physicsShape/PhysicsSphere.h> #include <ege/physicsShape/PhysicsSphere.hpp>
ememory::SharedPtr<ege::PhysicsShape> ege::PhysicsShape::create(const std::string& _name) { ememory::SharedPtr<ege::PhysicsShape> ege::PhysicsShape::create(const std::string& _name) {

View File

@ -5,11 +5,10 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/types.h> #include <etk/math/Vector4D.hpp>
#include <etk/math/Vector4D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Vector3D.h> #include <ememory/memory.hpp>
#include <ememory/memory.h>
namespace ege { namespace ege {

View File

@ -3,8 +3,8 @@
* @copyright 2011, Edouard DUPIN, all right reserved * @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/physicsShape/PhysicsSphere.h> #include <ege/physicsShape/PhysicsSphere.hpp>

View File

@ -6,8 +6,8 @@
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
namespace ege { namespace ege {

View File

@ -4,14 +4,14 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
#include <gale/resource/Manager.h> #include <gale/resource/Manager.hpp>
#include <gale/renderer/openGL/openGL-include.h> #include <gale/renderer/openGL/openGL-include.hpp>
#include <etk/os/FSNode.h> #include <etk/os/FSNode.hpp>
#include <ege/resource/tools/viewBox.h> #include <ege/resource/tools/viewBox.hpp>
#include <ege/resource/tools/isoSphere.h> #include <ege/resource/tools/isoSphere.hpp>
#include <ege/resource/tools/icoSphere.h> #include <ege/resource/tools/icoSphere.hpp>
ege::resource::Mesh::Mesh() : ege::resource::Mesh::Mesh() :
m_normalMode(normalModeNone), m_normalMode(normalModeNone),

View File

@ -5,19 +5,19 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/Hash.h> #include <etk/Hash.hpp>
#include <gale/resource/Resource.h> #include <gale/resource/Resource.hpp>
#include <ewol/resource/Image.h> #include <ewol/resource/Image.hpp>
#include <gale/resource/Shader.h> #include <gale/resource/Shader.hpp>
#include <gale/resource/Program.h> #include <gale/resource/Program.hpp>
#include <gale/resource/VirtualBufferObject.h> #include <gale/resource/VirtualBufferObject.hpp>
#include <ege/Light.h> #include <ege/Light.hpp>
#include <ege/Material.h> #include <ege/Material.hpp>
#include <ege/resource/tools/Face.h> #include <ege/resource/tools/Face.hpp>
#include <ege/resource/tools/FaceIndexing.h> #include <ege/resource/tools/FaceIndexing.hpp>
#include <ege/physicsShape/PhysicsShape.h> #include <ege/physicsShape/PhysicsShape.hpp>
// VBO table property: // VBO table property:
#define MESH_VBO_VERTICES (0) #define MESH_VBO_VERTICES (0)
#define MESH_VBO_TEXTURE (1) #define MESH_VBO_TEXTURE (1)

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
ememory::SharedPtr<ege::resource::Mesh> ege::resource::Mesh::createCube(float _size, const std::string& _materialName, const etk::Color<float>& _color) { ememory::SharedPtr<ege::resource::Mesh> ege::resource::Mesh::createCube(float _size, const std::string& _materialName, const etk::Color<float>& _color) {
EGE_ERROR(" create a cube _size=" << _size << " _materialName=" << _materialName << " _color=" << _color); EGE_ERROR(" create a cube _size=" << _size << " _materialName=" << _materialName << " _color=" << _color);

View File

@ -4,9 +4,9 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
#include <etk/os/FSNode.h> #include <etk/os/FSNode.hpp>

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
ememory::SharedPtr<ege::resource::Mesh> ege::resource::Mesh::createGrid(int32_t _lineCount, const vec3& _position, float _size, const std::string& _materialName) { ememory::SharedPtr<ege::resource::Mesh> ege::resource::Mesh::createGrid(int32_t _lineCount, const vec3& _position, float _size, const std::string& _materialName) {
ememory::SharedPtr<ege::resource::Mesh> out = ege::resource::Mesh::create("---", "DATA:color3.prog"); ememory::SharedPtr<ege::resource::Mesh> out = ege::resource::Mesh::create("---", "DATA:color3.prog");

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
bool ege::resource::Mesh::loadOBJ(const std::string& _fileName) { bool ege::resource::Mesh::loadOBJ(const std::string& _fileName) {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/ParticuleMesh.h> #include <ege/resource/ParticuleMesh.hpp>
#include <gale/resource/Manager.h> #include <gale/resource/Manager.hpp>
#include <gale/renderer/openGL/openGL-include.h> #include <gale/renderer/openGL/openGL-include.hpp>
ege::resource::ParticuleMesh::ParticuleMesh() { ege::resource::ParticuleMesh::ParticuleMesh() {
addResourceType("ege::resource::ParticuleMesh"); addResourceType("ege::resource::ParticuleMesh");

View File

@ -5,7 +5,7 @@
*/ */
#pragma once #pragma once
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
namespace ege { namespace ege {
namespace resource { namespace resource {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/tools/icoSphere.h> #include <ege/resource/tools/icoSphere.hpp>
#include <math.h> #include <math.h>
// return index of point in the middle of p1 and p2 // return index of point in the middle of p1 and p2

View File

@ -5,10 +5,10 @@
*/ */
#pragma once #pragma once
#include <ege/resource/tools/Face.h> #include <ege/resource/tools/Face.hpp>
#include <ege/resource/tools/FaceIndexing.h> #include <ege/resource/tools/FaceIndexing.hpp>
#include <etk/Hash.h> #include <etk/Hash.hpp>
#include <ege/Material.h> #include <ege/Material.hpp>
namespace ege { namespace ege {
namespace icoSphere { namespace icoSphere {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/tools/isoSphere.h> #include <ege/resource/tools/isoSphere.hpp>
void ege::isoSphere::create(etk::Hash<ememory::SharedPtr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV, void ege::isoSphere::create(etk::Hash<ememory::SharedPtr<ege::Material>>& _materials, etk::Hash<FaceIndexing>& _listFaces, std::vector<vec3>& _listVertex, std::vector<vec2>& _listUV,
const std::string& _materialName, int32_t _recursionLevel) { const std::string& _materialName, int32_t _recursionLevel) {

View File

@ -5,10 +5,10 @@
*/ */
#pragma once #pragma once
#include <ege/resource/tools/Face.h> #include <ege/resource/tools/Face.hpp>
#include <ege/resource/tools/FaceIndexing.h> #include <ege/resource/tools/FaceIndexing.hpp>
#include <etk/Hash.h> #include <etk/Hash.hpp>
#include <ege/Material.h> #include <ege/Material.hpp>
namespace ege { namespace ege {
namespace isoSphere { namespace isoSphere {

View File

@ -4,8 +4,8 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/resource/tools/viewBox.h> #include <ege/resource/tools/viewBox.hpp>

View File

@ -5,10 +5,10 @@
*/ */
#pragma once #pragma once
#include <ege/resource/tools/Face.h> #include <ege/resource/tools/Face.hpp>
#include <ege/resource/tools/FaceIndexing.h> #include <ege/resource/tools/FaceIndexing.hpp>
#include <etk/Hash.h> #include <etk/Hash.hpp>
#include <ege/Material.h> #include <ege/Material.hpp>
namespace ege { namespace ege {
namespace viewBox { namespace viewBox {

View File

@ -4,10 +4,10 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/widget/Mesh.h> #include <ege/widget/Mesh.hpp>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.hpp>
#include <gale/resource/Manager.h> #include <gale/resource/Manager.hpp>
#include <ege/debug.h> #include <ege/debug.hpp>
ege::widget::Mesh::Mesh(): ege::widget::Mesh::Mesh():
signalPressed(this, "pressed", ""), signalPressed(this, "pressed", ""),

View File

@ -5,9 +5,9 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <ege/resource/Mesh.h> #include <ege/resource/Mesh.hpp>
namespace ege { namespace ege {
namespace widget { namespace widget {

View File

@ -4,14 +4,14 @@
* @license APACHE v2.0 (see license file) * @license APACHE v2.0 (see license file)
*/ */
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ege/widget/Scene.h> #include <ege/widget/Scene.hpp>
#include <math.h> #include <math.h>
#include <ege/debug.h> #include <ege/debug.hpp>
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <BulletDynamics/Dynamics/btRigidBody.h> #include <BulletDynamics/Dynamics/btRigidBody.h>
#include <LinearMath/btDefaultMotionState.h> #include <LinearMath/btDefaultMotionState.h>
#include <BulletDynamics/Dynamics/btDynamicsWorld.h> #include <BulletDynamics/Dynamics/btDynamicsWorld.h>

View File

@ -5,17 +5,17 @@
*/ */
#pragma once #pragma once
#include <etk/types.h> #include <etk/types.hpp>
#include <etk/math/Vector3D.h> #include <etk/math/Vector3D.hpp>
#include <etk/math/Matrix4.h> #include <etk/math/Matrix4.hpp>
#include <vector> #include <vector>
#include <ewol/debug.h> #include <ewol/debug.hpp>
#include <ege/camera/Camera.h> #include <ege/camera/Camera.hpp>
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <gale/renderer/openGL/openGL.h> #include <gale/renderer/openGL/openGL.hpp>
#include <gale/resource/Manager.h> #include <gale/resource/Manager.hpp>
#include <ege/elements/Element.h> #include <ege/elements/Element.hpp>
#include <gale/Dimension.h> #include <gale/Dimension.hpp>
class btBroadphaseInterface; class btBroadphaseInterface;
class btCollisionShape; class btCollisionShape;
@ -27,8 +27,8 @@ class btDefaultCollisionConfiguration;
class btDynamicsWorld; class btDynamicsWorld;
#include <LinearMath/btScalar.h> #include <LinearMath/btScalar.h>
class btVector3; class btVector3;
#include <ewol/widget/Widget.h> #include <ewol/widget/Widget.hpp>
#include <esignal/Signal.h> #include <esignal/Signal.hpp>
namespace ege { namespace ege {
namespace widget { namespace widget {

View File

@ -71,40 +71,40 @@ def create(target, module_name):
'-Wmissing-field-initializers', '-Wmissing-field-initializers',
'-Wall']) '-Wall'])
my_module.add_header_file([ my_module.add_header_file([
'ege/debug.h', 'ege/debug.hpp',
'ege/AudioElement.h', 'ege/AudioElement.hpp',
'ege/AudioEngine.h', 'ege/AudioEngine.hpp',
'ege/camera/Camera.h', 'ege/camera/Camera.hpp',
'ege/camera/View.h', 'ege/camera/View.hpp',
'ege/camera/FPS.h', 'ege/camera/FPS.hpp',
'ege/CollisionShapeCreator.h', 'ege/CollisionShapeCreator.hpp',
'ege/physics/Engine.h', 'ege/physics/Engine.hpp',
'ege/elements/Element.h', 'ege/elements/Element.hpp',
'ege/elements/ElementBase.h', 'ege/elements/ElementBase.hpp',
'ege/elements/ElementPhysic.h', 'ege/elements/ElementPhysic.hpp',
'ege/Particule.h', 'ege/Particule.hpp',
'ege/ParticuleEngine.h', 'ege/ParticuleEngine.hpp',
'ege/ParticuleSimple.h', 'ege/ParticuleSimple.hpp',
'ege/widget/Mesh.h', 'ege/widget/Mesh.hpp',
'ege/widget/Scene.h', 'ege/widget/Scene.hpp',
'ege/Environement.h', 'ege/Environement.hpp',
'ege/resource/Mesh.h', 'ege/resource/Mesh.hpp',
'ege/resource/ParticuleMesh.h', 'ege/resource/ParticuleMesh.hpp',
'ege/resource/tools/icoSphere.h', 'ege/resource/tools/icoSphere.hpp',
'ege/resource/tools/isoSphere.h', 'ege/resource/tools/isoSphere.hpp',
'ege/resource/tools/viewBox.h', 'ege/resource/tools/viewBox.hpp',
'ege/resource/tools/Face.h', 'ege/resource/tools/Face.hpp',
'ege/resource/tools/FaceIndexing.h', 'ege/resource/tools/FaceIndexing.hpp',
'ege/Light.h', 'ege/Light.hpp',
'ege/Material.h', 'ege/Material.hpp',
'ege/physicsShape/PhysicsShape.h', 'ege/physicsShape/PhysicsShape.hpp',
'ege/physicsShape/PhysicsBox.h', 'ege/physicsShape/PhysicsBox.hpp',
'ege/physicsShape/PhysicsCapsule.h', 'ege/physicsShape/PhysicsCapsule.hpp',
'ege/physicsShape/PhysicsCone.h', 'ege/physicsShape/PhysicsCone.hpp',
'ege/physicsShape/PhysicsConvexHull.h', 'ege/physicsShape/PhysicsConvexHull.hpp',
'ege/physicsShape/PhysicsCylinder.h', 'ege/physicsShape/PhysicsCylinder.hpp',
'ege/physicsShape/PhysicsSphere.h', 'ege/physicsShape/PhysicsSphere.hpp',
'ege/Ray.h', 'ege/Ray.hpp',
]) ])
my_module.add_path(tools.get_current_path(__file__)) my_module.add_path(tools.get_current_path(__file__))
return my_module return my_module

View File

@ -6,16 +6,16 @@
* @license APACHE-2 (see license file) * @license APACHE-2 (see license file)
*/ */
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/widget/Label.h> #include <ewol/widget/Label.hpp>
#include <ewol/object/Manager.h> #include <ewol/object/Manager.hpp>
#include <ege/widget/Scene.h> #include <ege/widget/Scene.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <etk/tool.h> #include <etk/tool.hpp>
#include <ege/elements/ElementBase.h> #include <ege/elements/ElementBase.hpp>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
appl::Windows::Windows() { appl::Windows::Windows() {
addObjectType("appl::Windows"); addObjectType("appl::Windows");

View File

@ -7,9 +7,9 @@
*/ */
#pragma once #pragma once
#include <ewol/widget/Windows.h> #include <ewol/widget/Windows.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
namespace appl { namespace appl {
class Windows : public ewol::widget::Windows { class Windows : public ewol::widget::Windows {

View File

@ -7,7 +7,7 @@
*/ */
#include <appl/debug.h> #include <appl/debug.hpp>
int32_t appl::getLogId() { int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("GP-spaceShip"); static int32_t g_val = elog::registerInstance("GP-spaceShip");

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace appl { namespace appl {
int32_t getLogId(); int32_t getLogId();

View File

@ -7,15 +7,15 @@
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <gale/context/commandLine.h> #include <gale/context/commandLine.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/object/Object.h> #include <ewol/object/Object.hpp>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.h> #include <ewol/context/Context.hpp>
class MainApplication : public ewol::context::Application { class MainApplication : public ewol::context::Application {

View File

@ -6,19 +6,19 @@
* @license APACHE-2 (see license file) * @license APACHE-2 (see license file)
*/ */
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/widget/Label.h> #include <ewol/widget/Label.hpp>
#include <ewol/widget/Sizer.h> #include <ewol/widget/Sizer.hpp>
#include <ewol/object/Manager.h> #include <ewol/object/Manager.hpp>
#include <ege/widget/Scene.h> #include <ege/widget/Scene.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <etk/tool.h> #include <etk/tool.hpp>
#include <ege/elements/ElementBase.h> #include <ege/elements/ElementBase.hpp>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
#include <ege/physicsShape/PhysicsBox.h> #include <ege/physicsShape/PhysicsBox.hpp>
#include <ege/physicsShape/PhysicsSphere.h> #include <ege/physicsShape/PhysicsSphere.hpp>
appl::Windows::Windows() { appl::Windows::Windows() {
addObjectType("appl::Windows"); addObjectType("appl::Windows");

View File

@ -7,10 +7,10 @@
*/ */
#pragma once #pragma once
#include <ewol/widget/Windows.h> #include <ewol/widget/Windows.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <ewol/resource/Colored3DObject.h> #include <ewol/resource/Colored3DObject.hpp>
namespace appl { namespace appl {
class Windows : public ewol::widget::Windows { class Windows : public ewol::widget::Windows {

View File

@ -7,7 +7,7 @@
*/ */
#include <appl/debug.h> #include <appl/debug.hpp>
int32_t appl::getLogId() { int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("GP-spaceShip"); static int32_t g_val = elog::registerInstance("GP-spaceShip");

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace appl { namespace appl {
int32_t getLogId(); int32_t getLogId();

View File

@ -7,15 +7,15 @@
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <gale/context/commandLine.h> #include <gale/context/commandLine.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/object/Object.h> #include <ewol/object/Object.hpp>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.h> #include <ewol/context/Context.hpp>
class MainApplication : public ewol::context::Application { class MainApplication : public ewol::context::Application {

View File

@ -6,19 +6,19 @@
* @license APACHE-2 (see license file) * @license APACHE-2 (see license file)
*/ */
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/widget/Label.h> #include <ewol/widget/Label.hpp>
#include <ewol/widget/Sizer.h> #include <ewol/widget/Sizer.hpp>
#include <ewol/object/Manager.h> #include <ewol/object/Manager.hpp>
#include <ege/widget/Scene.h> #include <ege/widget/Scene.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <etk/tool.h> #include <etk/tool.hpp>
#include <ege/elements/ElementBase.h> #include <ege/elements/ElementBase.hpp>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
#include <ege/physicsShape/PhysicsBox.h> #include <ege/physicsShape/PhysicsBox.hpp>
#include <ege/physicsShape/PhysicsSphere.h> #include <ege/physicsShape/PhysicsSphere.hpp>
appl::Windows::Windows() { appl::Windows::Windows() {
addObjectType("appl::Windows"); addObjectType("appl::Windows");

View File

@ -7,10 +7,10 @@
*/ */
#pragma once #pragma once
#include <ewol/widget/Windows.h> #include <ewol/widget/Windows.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <ewol/resource/Colored3DObject.h> #include <ewol/resource/Colored3DObject.hpp>
namespace appl { namespace appl {
class Windows : public ewol::widget::Windows { class Windows : public ewol::widget::Windows {

View File

@ -7,7 +7,7 @@
*/ */
#include <appl/debug.h> #include <appl/debug.hpp>
int32_t appl::getLogId() { int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("GP-spaceShip"); static int32_t g_val = elog::registerInstance("GP-spaceShip");

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace appl { namespace appl {
int32_t getLogId(); int32_t getLogId();

View File

@ -7,15 +7,15 @@
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <gale/context/commandLine.h> #include <gale/context/commandLine.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/object/Object.h> #include <ewol/object/Object.hpp>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.h> #include <ewol/context/Context.hpp>
class MainApplication : public ewol::context::Application { class MainApplication : public ewol::context::Application {

View File

@ -6,16 +6,16 @@
* @license APACHE-2 (see license file) * @license APACHE-2 (see license file)
*/ */
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/widget/Label.h> #include <ewol/widget/Label.hpp>
#include <ewol/object/Manager.h> #include <ewol/object/Manager.hpp>
#include <ege/widget/Scene.h> #include <ege/widget/Scene.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <etk/tool.h> #include <etk/tool.hpp>
#include <ege/elements/ElementBase.h> #include <ege/elements/ElementBase.hpp>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
appl::Windows::Windows() { appl::Windows::Windows() {
addObjectType("appl::Windows"); addObjectType("appl::Windows");

View File

@ -7,9 +7,9 @@
*/ */
#pragma once #pragma once
#include <ewol/widget/Windows.h> #include <ewol/widget/Windows.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
namespace appl { namespace appl {
class Windows : public ewol::widget::Windows { class Windows : public ewol::widget::Windows {

View File

@ -7,7 +7,7 @@
*/ */
#include <appl/debug.h> #include <appl/debug.hpp>
int32_t appl::getLogId() { int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("GP-spaceShip"); static int32_t g_val = elog::registerInstance("GP-spaceShip");

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace appl { namespace appl {
int32_t getLogId(); int32_t getLogId();

View File

@ -7,15 +7,15 @@
*/ */
#include <etk/types.h> #include <etk/types.hpp>
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <gale/context/commandLine.h> #include <gale/context/commandLine.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/object/Object.h> #include <ewol/object/Object.hpp>
#include <ewol/widget/Manager.h> #include <ewol/widget/Manager.hpp>
#include <ewol/context/Context.h> #include <ewol/context/Context.hpp>
class MainApplication : public ewol::context::Application { class MainApplication : public ewol::context::Application {

View File

@ -6,18 +6,18 @@
* @license APACHE-2 (see license file) * @license APACHE-2 (see license file)
*/ */
#include <ewol/ewol.h> #include <ewol/ewol.hpp>
#include <appl/debug.h> #include <appl/debug.hpp>
#include <appl/Windows.h> #include <appl/Windows.hpp>
#include <ewol/widget/Label.h> #include <ewol/widget/Label.hpp>
#include <ewol/object/Manager.h> #include <ewol/object/Manager.hpp>
#include <ege/widget/Scene.h> #include <ege/widget/Scene.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <etk/tool.h> #include <etk/tool.hpp>
#include <ege/elements/ElementBase.h> #include <ege/elements/ElementBase.hpp>
#include <ege/elements/ElementPhysic.h> #include <ege/elements/ElementPhysic.hpp>
#include <ege/physicsShape/PhysicsBox.h> #include <ege/physicsShape/PhysicsBox.hpp>
#include <ege/physicsShape/PhysicsSphere.h> #include <ege/physicsShape/PhysicsSphere.hpp>
appl::Windows::Windows() : appl::Windows::Windows() :
m_angleTetha(0), m_angleTetha(0),

View File

@ -7,10 +7,10 @@
*/ */
#pragma once #pragma once
#include <ewol/widget/Windows.h> #include <ewol/widget/Windows.hpp>
#include <ege/Environement.h> #include <ege/Environement.hpp>
#include <ege/camera/View.h> #include <ege/camera/View.hpp>
#include <ewol/resource/Colored3DObject.h> #include <ewol/resource/Colored3DObject.hpp>
namespace appl { namespace appl {
class Windows : public ewol::widget::Windows { class Windows : public ewol::widget::Windows {

View File

@ -7,7 +7,7 @@
*/ */
#include <appl/debug.h> #include <appl/debug.hpp>
int32_t appl::getLogId() { int32_t appl::getLogId() {
static int32_t g_val = elog::registerInstance("GP-spaceShip"); static int32_t g_val = elog::registerInstance("GP-spaceShip");

View File

@ -7,7 +7,7 @@
*/ */
#pragma once #pragma once
#include <elog/log.h> #include <elog/log.hpp>
namespace appl { namespace appl {
int32_t getLogId(); int32_t getLogId();

Some files were not shown because too many files have changed in this diff Show More