mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
Fix compilation problems
This commit is contained in:
parent
149790ad2d
commit
8e953c223e
@ -1,7 +1,6 @@
|
||||
#ifndef ANIMATION_H
|
||||
#define ANIMATION_H
|
||||
|
||||
#include "../lib/vcmi_endian.h"
|
||||
#include "../lib/JsonNode.h"
|
||||
#include "../lib/GameConstants.h"
|
||||
#include <QRgb>
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "../lib/filesystem/Filesystem.h"
|
||||
#include "BitmapHandler.h"
|
||||
#include "../lib/vcmi_endian.h"
|
||||
|
||||
#include <QBitmap>
|
||||
#include <QImage>
|
||||
|
@ -7,6 +7,9 @@
|
||||
|
||||
#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
|
||||
|
@ -38,7 +38,6 @@ void CGameInfo::setFromLib()
|
||||
skillh = VLC->skillh;
|
||||
objtypeh = VLC->objtypeh;
|
||||
battleFieldHandler = VLC->battlefieldsHandler;
|
||||
obstacleHandler = VLC->obstacleHandler;
|
||||
}
|
||||
|
||||
const ArtifactService * CGameInfo::artifacts() const
|
||||
@ -86,11 +85,6 @@ const SkillService * CGameInfo::skills() const
|
||||
return globalServices->skills();
|
||||
}
|
||||
|
||||
const ObstacleService * CGameInfo::obstacles() const
|
||||
{
|
||||
return globalServices->obstacles();
|
||||
}
|
||||
|
||||
void CGameInfo::updateEntity(Metatype metatype, int32_t index, const JsonNode & data)
|
||||
{
|
||||
logGlobal->error("CGameInfo::updateEntity call is not expected.");
|
||||
|
@ -63,7 +63,6 @@ public:
|
||||
const spells::Service * spells() const override;
|
||||
const SkillService * skills() const override;
|
||||
const BattleFieldService * battlefields() const override;
|
||||
const ObstacleService * obstacles() const override;
|
||||
|
||||
void updateEntity(Metatype metatype, int32_t index, const JsonNode & data) override;
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "BitmapHandler.h"
|
||||
#include "../lib/CGameState.h"
|
||||
#include "../lib/JsonNode.h"
|
||||
#include "../lib/vcmi_endian.h"
|
||||
#include "../lib/CStopWatch.h"
|
||||
#include "../lib/mapObjects/CObjectClassesHandler.h"
|
||||
#include "../lib/mapObjects/CObjectHandler.h"
|
||||
|
Loading…
Reference in New Issue
Block a user