1
0
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:
nordsoft 2022-09-04 18:52:24 +04:00
parent 149790ad2d
commit 8e953c223e
6 changed files with 3 additions and 10 deletions

View File

@ -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>

View File

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

View File

@ -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

View File

@ -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.");

View File

@ -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;

View File

@ -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"