1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

mapeditor: use vcmi_endian.h

There is no need to redefine this functions, let's use shared
implementation
This commit is contained in:
Konstantin 2023-02-03 00:39:44 +03:00
parent 88ef83db53
commit 4feab69867
3 changed files with 2 additions and 4 deletions

View File

@ -15,6 +15,7 @@
#include "BitmapHandler.h"
#include "../lib/vcmi_endian.h"
#include "../lib/filesystem/Filesystem.h"
#include "../lib/filesystem/ISimpleResourceLoader.h"
#include "../lib/JsonNode.h"

View File

@ -14,6 +14,7 @@
#include "BitmapHandler.h"
#include "../lib/filesystem/Filesystem.h"
#include "../lib/vcmi_endian.h"
#include <QBitmap>
#include <QImage>

View File

@ -8,10 +8,6 @@
*
*/
#pragma once
//code is copied from vcmiclient/CBitmapHandler.h with minimal changes
#define read_le_u16(p) (* reinterpret_cast<const ui16 *>(p))
#define read_le_u32(p) (* reinterpret_cast<const ui32 *>(p))
#include <QImage>