2013-10-23 17:08:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef _READPIC_H_
|
|
|
|
#define _READPIC_H_
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(disable:4786)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
|
|
#include <nel/misc/types_nl.h>
|
|
|
|
#include <nel/misc/rgba.h>
|
|
|
|
|
|
|
|
//============================================================
|
|
|
|
// API.
|
|
|
|
//============================================================
|
|
|
|
|
|
|
|
|
|
|
|
bool PIC_LoadPic(const std::string &Path, std::vector<NLMISC::CBGRA> &tampon, uint &Width, uint &Height);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|