mirror of
https://github.com/rwengine/openrw.git
synced 2025-01-31 12:01:38 +01:00
Renamed to Renderwüre, fixed HPPness and inclusion protection things, etc
This commit is contained in:
parent
c214f07c2b
commit
fb2eac2ef3
@ -1,5 +1,5 @@
|
||||
#include <renderware/BinaryStream.hpp>
|
||||
#include <renderware/TextureArchive.hpp>
|
||||
#include <renderwure/BinaryStream.hpp>
|
||||
#include <renderwure/TextureArchive.hpp>
|
||||
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <renderware/BinaryStream.hpp>
|
||||
#include <renderwure/BinaryStream.hpp>
|
||||
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "engine/GTAData.h"
|
||||
#include "loaders/LoaderIPL.h"
|
||||
#include <loaders/LoaderDFF.h>
|
||||
#include <renderwure/engine/GTAData.hpp>
|
||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <bits/algorithmfwd.h>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "engine/GTAEngine.h"
|
||||
#include "loaders/LoaderIPL.h"
|
||||
#include <renderwure/engine/GTAEngine.hpp>
|
||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
||||
|
||||
GTAEngine::GTAEngine(const std::string& path)
|
||||
: gameData(path)
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "loaders/LoaderCOL.h"
|
||||
#include <renderwure/loaders/LoaderCOL.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "loaders/LoaderDFF.h"
|
||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "loaders/LoaderIMG.h"
|
||||
#include <renderwure/loaders/LoaderIMG.hpp>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
LoaderIMG::LoaderIMG()
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "loaders/LoaderIPL.h"
|
||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
||||
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <renderware/TextureArchive.hpp>
|
||||
#include <renderwure/TextureArchive.hpp>
|
||||
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "loaders/TextureLoader.h"
|
||||
#include <renderwure/loaders/TextureLoader.hpp>
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef _BINARYSTREAM_HPP_
|
||||
#define _BINARYSTREAM_HPP_
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
@ -38,3 +40,5 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#ifndef _TEXTUREARCHIVE_HPP_
|
||||
#define _TEXTUREARCHIVE_HPP_
|
||||
|
||||
#include <renderware/BinaryStream.hpp>
|
||||
#include <renderwure/BinaryStream.hpp>
|
||||
|
||||
#include <vector>
|
||||
|
||||
@ -44,3 +46,5 @@ public:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
@ -1,11 +1,14 @@
|
||||
#ifndef _GTADATA_H_
|
||||
#define _GTADATA_H_
|
||||
#pragma once
|
||||
#ifndef _GTADATA_HPP_
|
||||
#define _GTADATA_HPP_
|
||||
|
||||
#include <renderwure/loaders/LoaderIMG.hpp>
|
||||
#include <renderwure/loaders/TextureLoader.hpp>
|
||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <loaders/LoaderIMG.h>
|
||||
#include <loaders/TextureLoader.h>
|
||||
#include <loaders/LoaderDFF.h>
|
||||
|
||||
/**
|
||||
* Handles loading and management of the Game's DAT
|
@ -1,10 +1,14 @@
|
||||
#ifndef _GTAENGINE_H_
|
||||
#define _GTAENGINE_H_
|
||||
#include "GTAData.h"
|
||||
#include <loaders/LoaderIPL.h>
|
||||
#include <vector>
|
||||
#pragma once
|
||||
#ifndef _GTAENGINE_HPP_
|
||||
#define _GTAENGINE_HPP_
|
||||
|
||||
#include <renderwure/engine/GTAData.hpp>
|
||||
#include <renderwure/loaders/LoaderIPL.hpp>
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
* @class GTAEngine
|
||||
* Provides a simple interface to the framework's internals
|
@ -1,5 +1,7 @@
|
||||
#ifndef _LOADERCOL_H_
|
||||
#define _LOADERCOL_H_
|
||||
#pragma once
|
||||
#ifndef _LOADERCOL_HPP_
|
||||
#define _LOADERCOL_HPP_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <glm/glm.hpp>
|
@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef _LOADERDFF_HPP_
|
||||
#define _LOADERDFF_HPP_
|
||||
|
||||
#define GLEW_STATIC
|
||||
#include <GL/glew.h>
|
||||
@ -55,3 +57,5 @@ private:
|
||||
public:
|
||||
std::unique_ptr<Model> loadFromMemory(char *data);
|
||||
};
|
||||
|
||||
#endif
|
@ -1,5 +1,6 @@
|
||||
#ifndef LoaderIMG_h__
|
||||
#define LoaderIMG_h__
|
||||
#pragma once
|
||||
#ifndef _LOADERIMG_HPP_
|
||||
#define _LOADERIMG_HPP_
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
@ -1,5 +1,6 @@
|
||||
#ifndef LoaderIPL_h__
|
||||
#define LoaderIPL_h__
|
||||
#pragma once
|
||||
#ifndef _LOADERIPL_HPP_
|
||||
#define _LOADERIPL_HPP_
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef _TEXTURELOADER_HPP_
|
||||
#define _TEXTURELOADER_HPP_
|
||||
|
||||
#define GLEW_STATIC
|
||||
#include <GL/glew.h>
|
||||
@ -17,3 +19,5 @@ public:
|
||||
|
||||
std::map<std::string, GLuint> textures;
|
||||
};
|
||||
|
||||
#endif
|
@ -1,8 +1,8 @@
|
||||
#define GLEW_STATIC
|
||||
#include <GL/glew.h>
|
||||
|
||||
#include <engine/GTAEngine.h>
|
||||
#include <loaders/LoaderDFF.h>
|
||||
#include <renderwure/engine/GTAEngine.hpp>
|
||||
#include <renderwure/loaders/LoaderDFF.hpp>
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user