CBitmapHandler.h 580 B

1234567891011121314151617181920212223
  1. #pragma once
  2. struct SDL_Surface;
  3. /*
  4. * CBitmapHandler.h, part of VCMI engine
  5. *
  6. * Authors: listed in file AUTHORS in main folder
  7. *
  8. * License: GNU General Public License v2.0 or later
  9. * Full text of license available in license.txt file, in main folder
  10. *
  11. */
  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. }