1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/mapeditor/BitmapHandler.h
2022-09-04 18:52:24 +04:00

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);
}