mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Removed redundant include dirs for framework2
This commit is contained in:
parent
7c13efdc92
commit
5dc40cb07b
@ -1,5 +1,5 @@
|
|||||||
#include <renderwure/BinaryStream.hpp>
|
#include <BinaryStream.hpp>
|
||||||
#include <renderwure/TextureArchive.hpp>
|
#include <TextureArchive.hpp>
|
||||||
|
|
||||||
#include <SFML/Graphics.hpp>
|
#include <SFML/Graphics.hpp>
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <renderwure/BinaryStream.hpp>
|
#include <BinaryStream.hpp>
|
||||||
#include <renderwure/loaders/LoaderCOL.hpp>
|
#include <loaders/LoaderCOL.hpp>
|
||||||
#include <renderwure/loaders/LoaderIFP.hpp>
|
#include <loaders/LoaderIFP.hpp>
|
||||||
#include <renderwure/loaders/rwbinarystream.h>
|
#include <loaders/rwbinarystream.h>
|
||||||
|
|
||||||
using RW::BSSectionHeader;
|
using RW::BSSectionHeader;
|
||||||
using RW::BSFrameList;
|
using RW::BSFrameList;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef _TEXTUREARCHIVE_HPP_
|
#ifndef _TEXTUREARCHIVE_HPP_
|
||||||
#define _TEXTUREARCHIVE_HPP_
|
#define _TEXTUREARCHIVE_HPP_
|
||||||
|
|
||||||
#include <renderwure/BinaryStream.hpp>
|
#include <BinaryStream.hpp>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
#define _AIGRAPH_HPP_
|
#define _AIGRAPH_HPP_
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <glm/gtc/quaternion.hpp>
|
#include <glm/gtc/quaternion.hpp>
|
||||||
#include <renderwure/data/PathData.hpp>
|
#include <data/PathData.hpp>
|
||||||
|
|
||||||
struct GTAInstance;
|
struct GTAInstance;
|
||||||
struct GTAAINode;
|
struct GTAAINode;
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef _GTADEFAULTAICONTROLLER_HPP_
|
#ifndef _GTADEFAULTAICONTROLLER_HPP_
|
||||||
#define _GTADEFAULTAICONTROLLER_HPP_
|
#define _GTADEFAULTAICONTROLLER_HPP_
|
||||||
#include "renderwure/ai/GTAAIController.hpp"
|
#include "ai/GTAAIController.hpp"
|
||||||
#include <random>
|
#include <random>
|
||||||
|
|
||||||
struct GTAAINode;
|
struct GTAAINode;
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef _GTAPLAYERAICONTROLLER_HPP_
|
#ifndef _GTAPLAYERAICONTROLLER_HPP_
|
||||||
#define _GTAPLAYERAICONTROLLER_HPP_
|
#define _GTAPLAYERAICONTROLLER_HPP_
|
||||||
#include "renderwure/ai/GTAAIController.hpp"
|
#include "ai/GTAAIController.hpp"
|
||||||
|
|
||||||
class GTAPlayerAIController : public GTAAIController
|
class GTAPlayerAIController : public GTAAIController
|
||||||
{
|
{
|
@ -2,15 +2,15 @@
|
|||||||
#ifndef _GTADATA_HPP_
|
#ifndef _GTADATA_HPP_
|
||||||
#define _GTADATA_HPP_
|
#define _GTADATA_HPP_
|
||||||
|
|
||||||
#include <renderwure/engine/GTATypes.hpp>
|
#include <engine/GTATypes.hpp>
|
||||||
#include <renderwure/loaders/LoaderIMG.hpp>
|
#include <loaders/LoaderIMG.hpp>
|
||||||
#include <renderwure/loaders/TextureLoader.hpp>
|
#include <loaders/TextureLoader.hpp>
|
||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/loaders/LoaderIDE.hpp>
|
#include <loaders/LoaderIDE.hpp>
|
||||||
#include <renderwure/loaders/LoaderIFP.hpp>
|
#include <loaders/LoaderIFP.hpp>
|
||||||
#include <renderwure/loaders/WeatherLoader.hpp>
|
#include <loaders/WeatherLoader.hpp>
|
||||||
#include <renderwure/objects/VehicleInfo.hpp>
|
#include <objects/VehicleInfo.hpp>
|
||||||
#include <renderwure/data/CollisionModel.hpp>
|
#include <data/CollisionModel.hpp>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
@ -2,11 +2,11 @@
|
|||||||
#ifndef _GTAENGINE_HPP_
|
#ifndef _GTAENGINE_HPP_
|
||||||
#define _GTAENGINE_HPP_
|
#define _GTAENGINE_HPP_
|
||||||
|
|
||||||
#include <renderwure/engine/GTAData.hpp>
|
#include <engine/GTAData.hpp>
|
||||||
#include <renderwure/render/GTARenderer.hpp>
|
#include <render/GTARenderer.hpp>
|
||||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
#include <loaders/LoaderIPL.hpp>
|
||||||
#include <renderwure/ai/GTAAINode.hpp>
|
#include <ai/GTAAINode.hpp>
|
||||||
#include <renderwure/ai/AIGraph.hpp>
|
#include <ai/AIGraph.hpp>
|
||||||
|
|
||||||
class GTAObject;
|
class GTAObject;
|
||||||
class GTACharacter;
|
class GTACharacter;
|
@ -2,9 +2,9 @@
|
|||||||
#ifndef _GTAOBJECT_HPP_
|
#ifndef _GTAOBJECT_HPP_
|
||||||
#define _GTAOBJECT_HPP_
|
#define _GTAOBJECT_HPP_
|
||||||
|
|
||||||
#include <renderwure/engine/GTATypes.hpp>
|
#include <engine/GTATypes.hpp>
|
||||||
#include <renderwure/loaders/LoaderIDE.hpp>
|
#include <loaders/LoaderIDE.hpp>
|
||||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
#include <loaders/LoaderIPL.hpp>
|
||||||
#include <glm/gtc/quaternion.hpp>
|
#include <glm/gtc/quaternion.hpp>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include <renderwure/data/CollisionModel.hpp>
|
#include <data/CollisionModel.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class LoaderCOL
|
* @class LoaderCOL
|
@ -5,7 +5,7 @@
|
|||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
#include <renderwure/loaders/rwbinarystream.h>
|
#include <loaders/rwbinarystream.h>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
@ -6,8 +6,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include <renderwure/data/ObjectData.hpp>
|
#include <data/ObjectData.hpp>
|
||||||
#include <renderwure/data/PathData.hpp>
|
#include <data/PathData.hpp>
|
||||||
|
|
||||||
class LoaderIDE
|
class LoaderIDE
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef _LOADERIPL_HPP_
|
#ifndef _LOADERIPL_HPP_
|
||||||
#define _LOADERIPL_HPP_
|
#define _LOADERIPL_HPP_
|
||||||
#include <renderwure/data/InstanceData.hpp>
|
#include <data/InstanceData.hpp>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
@ -5,7 +5,7 @@
|
|||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
#include <renderwure/loaders/rwbinarystream.h>
|
#include <loaders/rwbinarystream.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
@ -2,7 +2,7 @@
|
|||||||
#ifndef _WEATHERLOADER_HPP_
|
#ifndef _WEATHERLOADER_HPP_
|
||||||
#define _WEATHERLOADER_HPP_
|
#define _WEATHERLOADER_HPP_
|
||||||
|
|
||||||
#include <renderwure/engine/GTATypes.hpp>
|
#include <engine/GTATypes.hpp>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef _GTACHARACTER_HPP_
|
#ifndef _GTACHARACTER_HPP_
|
||||||
#define _GTACHARACTER_HPP_
|
#define _GTACHARACTER_HPP_
|
||||||
#include <renderwure/engine/GTAObject.hpp>
|
#include <engine/GTAObject.hpp>
|
||||||
#include <bullet/BulletDynamics/Character/btKinematicCharacterController.h>
|
#include <bullet/BulletDynamics/Character/btKinematicCharacterController.h>
|
||||||
#include <bullet/btBulletCollisionCommon.h>
|
#include <bullet/btBulletCollisionCommon.h>
|
||||||
#include <BulletCollision/CollisionDispatch/btGhostObject.h>
|
#include <BulletCollision/CollisionDispatch/btGhostObject.h>
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef _GTAINSTANCE_HPP_
|
#ifndef _GTAINSTANCE_HPP_
|
||||||
#define _GTAINSTANCE_HPP_
|
#define _GTAINSTANCE_HPP_
|
||||||
#include <renderwure/engine/GTAObject.hpp>
|
#include <engine/GTAObject.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @struct GTAInstance
|
* @struct GTAInstance
|
@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#ifndef _GTAVEHICLE_HPP_
|
#ifndef _GTAVEHICLE_HPP_
|
||||||
#define _GTAVEHICLE_HPP_
|
#define _GTAVEHICLE_HPP_
|
||||||
#include <renderwure/engine/GTAObject.hpp>
|
#include <engine/GTAObject.hpp>
|
||||||
#include <bullet/btBulletDynamicsCommon.h>
|
#include <bullet/btBulletDynamicsCommon.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <renderwure/objects/VehicleInfo.hpp>
|
#include <objects/VehicleInfo.hpp>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class GTAVehicle
|
* @class GTAVehicle
|
@ -6,7 +6,7 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <renderwure/render/ViewCamera.hpp>
|
#include <render/ViewCamera.hpp>
|
||||||
|
|
||||||
class Model;
|
class Model;
|
||||||
class GTAEngine;
|
class GTAEngine;
|
@ -7,7 +7,7 @@
|
|||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
#include <renderwure/loaders/rwbinarystream.h>
|
#include <loaders/rwbinarystream.h>
|
||||||
|
|
||||||
class Model
|
class Model
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/BinaryStream.hpp>
|
#include <BinaryStream.hpp>
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/TextureArchive.hpp>
|
#include <TextureArchive.hpp>
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "renderwure/ai/AIGraph.hpp"
|
#include "ai/AIGraph.hpp"
|
||||||
#include "renderwure/objects/GTAInstance.hpp"
|
#include "objects/GTAInstance.hpp"
|
||||||
#include "renderwure/ai/GTAAINode.hpp"
|
#include "ai/GTAAINode.hpp"
|
||||||
|
|
||||||
void AIGraph::createPathNodes(const glm::vec3& position, const glm::quat& rotation, PathData& path)
|
void AIGraph::createPathNodes(const glm::vec3& position, const glm::quat& rotation, PathData& path)
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "renderwure/ai/GTAAIController.hpp"
|
#include <ai/GTAAIController.hpp>
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
|
|
||||||
GTAAIController::GTAAIController(GTACharacter* character)
|
GTAAIController::GTAAIController(GTACharacter* character)
|
||||||
: character(character)
|
: character(character)
|
||||||
|
@ -1 +1 @@
|
|||||||
#include "renderwure/ai/GTAAINode.hpp"
|
#include "ai/GTAAINode.hpp"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "renderwure/ai/GTADefaultAIController.hpp"
|
#include "ai/GTADefaultAIController.hpp"
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/engine/Animator.hpp>
|
#include <engine/Animator.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
|
|
||||||
void GTADefaultAIController::update(float dt)
|
void GTADefaultAIController::update(float dt)
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "renderwure/ai/GTAPlayerAIController.hpp"
|
#include "ai/GTAPlayerAIController.hpp"
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <glm/gtc/matrix_transform.hpp>
|
#include <glm/gtc/matrix_transform.hpp>
|
||||||
|
|
||||||
GTAPlayerAIController::GTAPlayerAIController(GTACharacter* character)
|
GTAPlayerAIController::GTAPlayerAIController(GTACharacter* character)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <renderwure/engine/Animator.hpp>
|
#include <engine/Animator.hpp>
|
||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/loaders/LoaderIFP.hpp>
|
#include <loaders/LoaderIFP.hpp>
|
||||||
#include <renderwure/render/Model.hpp>
|
#include <render/Model.hpp>
|
||||||
|
|
||||||
Animator::Animator()
|
Animator::Animator()
|
||||||
: animation(nullptr), model(nullptr), time(0.f), serverTime(0.f), lastServerTime(0.f), repeat(true)
|
: animation(nullptr), model(nullptr), time(0.f), serverTime(0.f), lastServerTime(0.f), repeat(true)
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include <renderwure/engine/GTAData.hpp>
|
#include <engine/GTAData.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
#include <loaders/LoaderIPL.hpp>
|
||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/loaders/LoaderIDE.hpp>
|
#include <loaders/LoaderIDE.hpp>
|
||||||
#include <renderwure/render/TextureAtlas.hpp>
|
#include <render/TextureAtlas.hpp>
|
||||||
#include <renderwure/loaders/LoaderCOL.hpp>
|
#include <loaders/LoaderCOL.hpp>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
#include <loaders/LoaderIPL.hpp>
|
||||||
#include <renderwure/loaders/LoaderIDE.hpp>
|
#include <loaders/LoaderIDE.hpp>
|
||||||
#include <renderwure/ai/GTADefaultAIController.hpp>
|
#include <ai/GTADefaultAIController.hpp>
|
||||||
#include <BulletCollision/CollisionDispatch/btGhostObject.h>
|
#include <BulletCollision/CollisionDispatch/btGhostObject.h>
|
||||||
#include <renderwure/render/Model.hpp>
|
#include <render/Model.hpp>
|
||||||
|
|
||||||
// 3 isn't enough to cause a factory.
|
// 3 isn't enough to cause a factory.
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/objects/GTAInstance.hpp>
|
#include <objects/GTAInstance.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
|
|
||||||
GTAEngine::GTAEngine(const std::string& path)
|
GTAEngine::GTAEngine(const std::string& path)
|
||||||
: gameTime(0.f), gameData(path), renderer(this), randomEngine(rand())
|
: gameTime(0.f), gameData(path), renderer(this), randomEngine(rand())
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <renderwure/engine/GTAObject.hpp>
|
#include <engine/GTAObject.hpp>
|
||||||
#include <renderwure/loaders/LoaderIFP.hpp>
|
#include <loaders/LoaderIFP.hpp>
|
||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
|
|
||||||
void GTAObject::setPosition(const glm::vec3& pos)
|
void GTAObject::setPosition(const glm::vec3& pos)
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "renderwure/loaders/LoaderCOL.hpp"
|
#include "loaders/LoaderCOL.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/engine/GTAData.hpp>
|
#include <engine/GTAData.hpp>
|
||||||
#include <renderwure/render/Model.hpp>
|
#include <render/Model.hpp>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/loaders/LoaderIDE.hpp>
|
#include <loaders/LoaderIDE.hpp>
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/loaders/LoaderIFP.hpp>
|
#include <loaders/LoaderIFP.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/loaders/LoaderIMG.hpp>
|
#include <loaders/LoaderIMG.hpp>
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
#include <loaders/LoaderIPL.hpp>
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <renderwure/loaders/TextureLoader.hpp>
|
#include <loaders/TextureLoader.hpp>
|
||||||
#include <renderwure/engine/GTAData.hpp>
|
#include <engine/GTAData.hpp>
|
||||||
#include <renderwure/render/TextureAtlas.hpp>
|
#include <render/TextureAtlas.hpp>
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/loaders/WeatherLoader.hpp>
|
#include <loaders/WeatherLoader.hpp>
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/ai/GTAAIController.hpp>
|
#include <ai/GTAAIController.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/engine/Animator.hpp>
|
#include <engine/Animator.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
#include <boost/concept_check.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
|
|
||||||
GTACharacter::GTACharacter(GTAEngine* engine, const glm::vec3& pos, const glm::quat& rot, Model* model, std::shared_ptr<CharacterData> data)
|
GTACharacter::GTACharacter(GTAEngine* engine, const glm::vec3& pos, const glm::quat& rot, Model* model, std::shared_ptr<CharacterData> data)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include <renderwure/objects/GTAInstance.hpp>
|
#include <objects/GTAInstance.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/data/CollisionModel.hpp>
|
#include <data/CollisionModel.hpp>
|
||||||
|
|
||||||
GTAInstance::GTAInstance(
|
GTAInstance::GTAInstance(
|
||||||
GTAEngine* engine,
|
GTAEngine* engine,
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
|
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <renderwure/data/CollisionModel.hpp>
|
#include <data/CollisionModel.hpp>
|
||||||
|
|
||||||
GTAVehicle::GTAVehicle(GTAEngine* engine, const glm::vec3& pos, const glm::quat& rot, Model* model, std::shared_ptr<CarData> data, const VehicleInfo& info, const glm::vec3& prim, const glm::vec3& sec)
|
GTAVehicle::GTAVehicle(GTAEngine* engine, const glm::vec3& pos, const glm::quat& rot, Model* model, std::shared_ptr<CarData> data, const VehicleInfo& info, const glm::vec3& prim, const glm::vec3& sec)
|
||||||
: GTAObject(engine, pos, rot, model),
|
: GTAObject(engine, pos, rot, model),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "renderwure/render/DebugDraw.hpp"
|
#include "render/DebugDraw.hpp"
|
||||||
|
|
||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#include <renderwure/render/GTARenderer.hpp>
|
#include <render/GTARenderer.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/engine/Animator.hpp>
|
#include <engine/Animator.hpp>
|
||||||
#include <renderwure/render/TextureAtlas.hpp>
|
#include <render/TextureAtlas.hpp>
|
||||||
#include <renderwure/render/Model.hpp>
|
#include <render/Model.hpp>
|
||||||
|
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/objects/GTAInstance.hpp>
|
#include <objects/GTAInstance.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
#include <renderwure/ai/GTAAIController.hpp>
|
#include <ai/GTAAIController.hpp>
|
||||||
|
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "renderwure/render/Model.hpp"
|
#include "render/Model.hpp"
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
Model::Geometry::Geometry()
|
Model::Geometry::Geometry()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <renderwure/render/TextureAtlas.hpp>
|
#include <render/TextureAtlas.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
TextureAtlas::TextureAtlas(size_t w, size_t h)
|
TextureAtlas::TextureAtlas(size_t w, size_t h)
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/render/DebugDraw.hpp>
|
#include <render/DebugDraw.hpp>
|
||||||
#include <renderwure/ai/GTAAIController.hpp>
|
#include <ai/GTAAIController.hpp>
|
||||||
#include <renderwure/ai/GTAPlayerAIController.hpp>
|
#include <ai/GTAPlayerAIController.hpp>
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
|
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include <glm/gtc/matrix_transform.hpp>
|
#include <glm/gtc/matrix_transform.hpp>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
#include <renderwure/render/TextureAtlas.hpp>
|
#include <render/TextureAtlas.hpp>
|
||||||
|
|
||||||
/*BOOST_AUTO_TEST_SUITE(TextureAtlasTests)
|
/*BOOST_AUTO_TEST_SUITE(TextureAtlasTests)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define _TESTGLOBABLS_HPP_
|
#define _TESTGLOBABLS_HPP_
|
||||||
|
|
||||||
#include <SFML/Window.hpp>
|
#include <SFML/Window.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
|
|
||||||
// Many tests require OpenGL be functional, seems like a reasonable solution.
|
// Many tests require OpenGL be functional, seems like a reasonable solution.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
#include "test_globals.hpp"
|
#include "test_globals.hpp"
|
||||||
#include <renderwure/objects/GTAInstance.hpp>
|
#include <objects/GTAInstance.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE(ObjectUnitTests)
|
BOOST_AUTO_TEST_SUITE(ObjectUnitTests)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE(WorldTests)
|
BOOST_AUTO_TEST_SUITE(WorldTests)
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#define GLEW_STATIC
|
#define GLEW_STATIC
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|
||||||
#include <renderwure/engine/GTAEngine.hpp>
|
#include <engine/GTAEngine.hpp>
|
||||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
#include <loaders/LoaderDFF.hpp>
|
||||||
#include <renderwure/render/DebugDraw.hpp>
|
#include <render/DebugDraw.hpp>
|
||||||
#include <renderwure/ai/GTAAIController.hpp>
|
#include <ai/GTAAIController.hpp>
|
||||||
#include <renderwure/ai/GTAPlayerAIController.hpp>
|
#include <ai/GTAPlayerAIController.hpp>
|
||||||
#include <renderwure/objects/GTACharacter.hpp>
|
#include <objects/GTACharacter.hpp>
|
||||||
#include <renderwure/objects/GTAVehicle.hpp>
|
#include <objects/GTAVehicle.hpp>
|
||||||
|
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
#include <glm/gtc/matrix_transform.hpp>
|
#include <glm/gtc/matrix_transform.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user