mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-18 17:40:48 +02:00
19 lines
345 B
C++
19 lines
345 B
C++
//
|
|
// BitmapHandler.hpp
|
|
// vcmieditor
|
|
//
|
|
// Created by nordsoft on 29.08.2022.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#define read_le_u16(p) (* reinterpret_cast<const ui16 *>(p))
|
|
#define read_le_u32(p) (* reinterpret_cast<const ui32 *>(p))
|
|
|
|
namespace BitmapHandler
|
|
{
|
|
//Load file from /DATA or /SPRITES
|
|
QImage loadBitmap(std::string fname, bool setKey=true);
|
|
}
|
|
|