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

29 lines
453 B
C++
Raw Normal View History

2013-07-02 08:06:03 +02:00
#pragma once
#ifndef _LOADERDFF_HPP_
#define _LOADERDFF_HPP_
2013-07-02 08:06:03 +02:00
#define GLEW_STATIC
#include <GL/glew.h>
#include <loaders/rwbinarystream.h>
2013-07-02 08:06:03 +02:00
#include <vector>
#include <string>
#include <memory>
2013-09-25 10:05:18 +02:00
class Model;
2013-08-18 21:31:37 +02:00
2013-12-20 17:02:46 +01:00
class GameData;
2013-07-02 08:06:03 +02:00
class LoaderDFF
{
private:
template<class T> T readStructure(char *data, size_t &dataI);
RW::BSSectionHeader readHeader(char *data, size_t &dataI);
public:
2013-12-20 17:02:46 +01:00
Model* loadFromMemory(char *data, GameData* gameData);
2013-07-02 08:06:03 +02:00
};
#endif