1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 11:22:45 +01:00
openrw/framework/gtadata.h
2013-06-30 22:21:23 +01:00

40 lines
620 B
C++

#ifndef _GTADATA_H_
#define _GTADATA_H_
#include "gtfwpre.h"
#include <string>
/**
* Handles loading and management of the Game's DAT
*/
class GTAData
{
std::string datpath;
std::string splash;
public:
GTAData(const std::string& path);
/**
* Returns the current platform
*/
std::string getPlatformString()
{
return "PC";
}
/**
* Loads the data contained in the given file
*/
void loadIDE(const std::string& name);
/**
* Handles the parsing of a COL file.
*/
void loadCOL(const size_t zone, const std::string& name);
void loadIPL(const std::string& name);
void load();
};
#endif