Add legacy interface

This commit is contained in:
JackCarterSmith 2022-09-22 22:09:23 +02:00
parent a9d6c82b69
commit e07d861535
Signed by: JackCarterSmith
GPG Key ID: 832E52F4E23F8F24
3 changed files with 57 additions and 3 deletions

31
src/LegacyExplorer.cpp Normal file
View 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
View 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_ */

View File

@ -12,9 +12,6 @@
#include <fstream>
#include <vector>
#include <boost/filesystem.hpp>
#include <RSPModel.h>
#include <RSPTerrain.h>
#include <RSPTexture.h>
#include <RDI_Datatypes.h>
#include "DatEntry.h"
#include "data_struct.h"