1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Clean up.

This commit is contained in:
O01eg
2014-04-20 12:40:15 +04:00
parent 463073ebfa
commit ad84ae64b0
7 changed files with 2 additions and 109 deletions

View File

@@ -11,31 +11,13 @@
#include "StdInc.h"
#include "IGameCallback.h"
/*#include "CGameState.h"
#include "mapping/CMap.h"
#include "CObjectHandler.h"*/
#include "CHeroHandler.h" // for CHeroHandler
/*#include "StartInfo.h"
#include "CArtHandler.h"*/
#include "CSpellHandler.h" // for CSpell
/*#include "VCMI_Lib.h"
#include "CTownHandler.h"
#include "BattleState.h"*/
#include "NetPacks.h"
/*#include "CBuildingHandler.h"
#include "GameConstants.h"
#include "CModHandler.h"
#include "CDefObjInfoHandler.h"*/
#include "CBonusTypeHandler.h" // for CBonusTypeHandler
#include "Connection.h" // for SAVEGAME_MAGIC
//TODO make clean
/*#define ERROR_SILENT_RET_VAL_IF(cond, txt, retVal) do {if(cond){return retVal;}} while(0)
#define ERROR_VERBOSE_OR_NOT_RET_VAL_IF(cond, verbose, txt, retVal) do {if(cond){if(verbose)logGlobal->errorStream() << BOOST_CURRENT_FUNCTION << ": " << txt; return retVal;}} while(0)
#define ERROR_RET_IF(cond, txt) do {if(cond){logGlobal->errorStream() << BOOST_CURRENT_FUNCTION << ": " << txt; return;}} while(0)
#define ERROR_RET_VAL_IF(cond, txt, retVal) do {if(cond){logGlobal->errorStream() << BOOST_CURRENT_FUNCTION << ": " << txt; return retVal;}} while(0)*/
void CPrivilagedInfoCallback::getFreeTiles (std::vector<int3> &tiles) const
{
std::vector<int> floors;