1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-06 00:57:19 +02:00
openrw/framework2/include/renderwure/loaders/TextureLoader.hpp

23 lines
365 B
C++
Raw Normal View History

2013-07-02 08:06:03 +02:00
#pragma once
#ifndef _TEXTURELOADER_HPP_
#define _TEXTURELOADER_HPP_
2013-07-02 08:06:03 +02:00
#define GLEW_STATIC
#include <GL/glew.h>
2013-09-08 21:14:48 +02:00
#include <renderwure/loaders/rwbinarystream.h>
2013-07-02 08:06:03 +02:00
#include <string>
#include <map>
2013-09-11 20:23:31 +02:00
class GTAData;
2013-07-02 08:06:03 +02:00
class TextureLoader
{
public:
2013-09-11 20:23:31 +02:00
bool loadFromFile(std::string filename, GTAData* gameData);
bool loadFromMemory(char *data, GTAData* gameData);
2013-07-02 08:06:03 +02:00
};
2013-09-08 21:14:48 +02:00
#endif