1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Split some map object files into smaller files. Reduced includes usage.

This commit is contained in:
Ivan Savenko
2023-06-02 21:47:37 +03:00
parent b04b11b9d1
commit d6a357fd17
116 changed files with 1864 additions and 1593 deletions

View File

@ -9,7 +9,6 @@
*/
#pragma once
#include "CObjectHandler.h"
#include "CArmedInstance.h"
#include "../ResourceSet.h"
@ -17,6 +16,10 @@ VCMI_LIB_NAMESPACE_BEGIN
class CMap;
// This one teleport-specific, but has to be available everywhere in callbacks and netpacks
// For now it's will be there till teleports code refactored and moved into own file
using TTeleportExitsList = std::vector<std::pair<ObjectInstanceID, int3>>;
/// Legacy class, use CRewardableObject instead
class DLL_LINKAGE CTeamVisited: public CGObjectInstance
{