1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 11:22:45 +01:00
openrw/rwengine/include/loaders/LoaderDFF.hpp
2014-01-26 03:45:55 +00:00

29 lines
453 B
C++

#pragma once
#ifndef _LOADERDFF_HPP_
#define _LOADERDFF_HPP_
#define GLEW_STATIC
#include <GL/glew.h>
#include <loaders/rwbinarystream.h>
#include <vector>
#include <string>
#include <memory>
class Model;
class GameData;
class LoaderDFF
{
private:
template<class T> T readStructure(char *data, size_t &dataI);
RW::BSSectionHeader readHeader(char *data, size_t &dataI);
public:
Model* loadFromMemory(char *data, GameData* gameData);
};
#endif