2011-12-14 00:23:17 +03:00
|
|
|
#pragma once
|
|
|
|
|
2009-04-15 17:03:31 +03: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 14:14:13 +03:00
|
|
|
*/
|
|
|
|
|
2013-07-06 19:10:20 +03:00
|
|
|
struct SDL_Surface;
|
2009-09-27 14:37:15 +03:00
|
|
|
|
2009-04-16 14:14:13 +03:00
|
|
|
namespace BitmapHandler
|
|
|
|
{
|
2016-10-16 03:36:03 +02:00
|
|
|
//Load file from /DATA or /SPRITES
|
2009-08-17 11:50:31 +03:00
|
|
|
SDL_Surface * loadBitmap(std::string fname, bool setKey=true);
|
2012-09-15 22:16:16 +03:00
|
|
|
}
|