2011-12-13 21:23:17 +00:00
|
|
|
#pragma once
|
|
|
|
|
2009-04-15 14:03:31 +00:00
|
|
|
/*
|
|
|
|
* CBitmapHandler.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
2009-04-16 11:14:13 +00:00
|
|
|
*/
|
|
|
|
|
2013-07-06 16:10:20 +00:00
|
|
|
struct SDL_Surface;
|
2009-09-27 11:37:15 +00:00
|
|
|
|
2009-04-16 11:14:13 +00:00
|
|
|
namespace BitmapHandler
|
|
|
|
{
|
2012-08-01 12:02:54 +00:00
|
|
|
SDL_Surface * loadH3PCX(ui8 * data, size_t size);
|
2011-07-18 15:21:16 +00:00
|
|
|
//Load file from specific LOD
|
2012-08-01 12:02:54 +00:00
|
|
|
SDL_Surface * loadBitmapFromDir(std::string path, std::string fname, bool setKey=true);
|
2011-07-18 15:21:16 +00:00
|
|
|
//Load file from any LODs
|
2009-08-17 08:50:31 +00:00
|
|
|
SDL_Surface * loadBitmap(std::string fname, bool setKey=true);
|
2012-09-15 19:16:16 +00:00
|
|
|
}
|