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-06 21:15:13 +04:00

21 lines
364 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))
#include <QImage>
namespace BitmapHandler
{
//Load file from /DATA or /SPRITES
QImage loadBitmap(std::string fname, bool setKey=true);
}