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:
parent
88ef83db53
commit
4feab69867
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user