CBitmapHandler.h 578 B

12345678910111213141516171819202122
  1. #pragma once
  2. /*
  3. * CBitmapHandler.h, part of VCMI engine
  4. *
  5. * Authors: listed in file AUTHORS in main folder
  6. *
  7. * License: GNU General Public License v2.0 or later
  8. * Full text of license available in license.txt file, in main folder
  9. *
  10. */
  11. struct SDL_Surface;
  12. namespace BitmapHandler
  13. {
  14. SDL_Surface * loadH3PCX(ui8 * data, size_t size);
  15. //Load file from specific LOD
  16. SDL_Surface * loadBitmapFromDir(std::string path, std::string fname, bool setKey=true);
  17. //Load file from any LODs
  18. SDL_Surface * loadBitmap(std::string fname, bool setKey=true);
  19. }