#pragma once /* * 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 * */ struct SDL_Surface; namespace BitmapHandler { SDL_Surface * loadH3PCX(ui8 * data, size_t size); //Load file from specific LOD SDL_Surface * loadBitmapFromDir(std::string path, std::string fname, bool setKey=true); //Load file from any LODs SDL_Surface * loadBitmap(std::string fname, bool setKey=true); }