mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +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:
@@ -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"
|
||||
|
@@ -14,6 +14,7 @@
|
||||
#include "BitmapHandler.h"
|
||||
|
||||
#include "../lib/filesystem/Filesystem.h"
|
||||
#include "../lib/vcmi_endian.h"
|
||||
|
||||
#include <QBitmap>
|
||||
#include <QImage>
|
||||
|
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user