Add legacy interface
This commit is contained in:
parent
a9d6c82b69
commit
e07d861535
31
src/LegacyExplorer.cpp
Normal file
31
src/LegacyExplorer.cpp
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/**
|
||||||
|
* @file LegacyExplorer.cpp
|
||||||
|
* @date 22/09/2022
|
||||||
|
* @author JackCarterSmith
|
||||||
|
* @copyright GPL-v3.0
|
||||||
|
* @brief Main game resources interface.
|
||||||
|
*
|
||||||
|
* Complete class would take legacy RDat files tree and extract levels, objects,
|
||||||
|
* textures, animations, etc. adapted datas for OpenGL/Direct3D application.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <RSPModel.h>
|
||||||
|
#include <RSPTerrain.h>
|
||||||
|
#include <RSPTexture.h>
|
||||||
|
#include "RDat.h"
|
||||||
|
#include "LegacyExplorer.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace RDI {
|
||||||
|
|
||||||
|
LegacyExplorer::LegacyExplorer( RDat& pRDat ) {
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
LegacyExplorer::~LegacyExplorer() {
|
||||||
|
// TODO Auto-generated destructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
26
src/LegacyExplorer.h
Normal file
26
src/LegacyExplorer.h
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
/**
|
||||||
|
* @file LegacyExplorer.h
|
||||||
|
* @date 22/09/2022
|
||||||
|
* @author JackCarterSmith
|
||||||
|
* @copyright GPL-v3.0
|
||||||
|
* @brief Main game resources interface.
|
||||||
|
*
|
||||||
|
* Complete class would take legacy RDat files tree and extract levels, objects,
|
||||||
|
* textures, animations, etc. adapted datas for OpenGL/Direct3D application.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef LEGACYEXPLORER_H_
|
||||||
|
#define LEGACYEXPLORER_H_
|
||||||
|
|
||||||
|
namespace RDI {
|
||||||
|
|
||||||
|
class LegacyExplorer final {
|
||||||
|
public:
|
||||||
|
LegacyExplorer( RDat& pRDat );
|
||||||
|
~LegacyExplorer();
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* LEGACYEXPLORER_H_ */
|
@ -12,9 +12,6 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include <RSPModel.h>
|
|
||||||
#include <RSPTerrain.h>
|
|
||||||
#include <RSPTexture.h>
|
|
||||||
#include <RDI_Datatypes.h>
|
#include <RDI_Datatypes.h>
|
||||||
#include "DatEntry.h"
|
#include "DatEntry.h"
|
||||||
#include "data_struct.h"
|
#include "data_struct.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user