1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-14 02:33:51 +02:00

[programming challenge, SSN] * missing PCH files

This commit is contained in:
mateuszb 2012-05-23 21:34:02 +00:00
parent cc9823bd73
commit 62ec5ecc76
2 changed files with 49 additions and 0 deletions

1
Odpalarka/StdInc.cpp Normal file
View File

@ -0,0 +1 @@
#include "StdInc.h"

48
Odpalarka/StdInc.h Normal file
View File

@ -0,0 +1,48 @@
#pragma once
#include "../Global.h"
#include <cassert>
#include <boost/lexical_cast.hpp>
#include <boost/format.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/type_traits.hpp>
//#include "../lib/AI_Base.h"
#include "../CCallback.h"
#include "../lib/CObjectHandler.h"
#include <boost/foreach.hpp>
#include "../lib/CThreadHelper.h"
#include <boost/thread/tss.hpp>
#include "../lib/VCMI_Lib.h"
#include "../lib/CBuildingHandler.h"
#include "../lib/CCreatureHandler.h"
#include "../lib/CTownHandler.h"
#include "../lib/CSpellHandler.h"
#include "../lib/CObjectHandler.h"
#include "../lib/Connection.h"
#include "../lib/CGameState.h"
#include "../lib/map.h"
#include "../lib/NetPacks.h"
#include "../lib/CondSh.h"
//#include "../lib/CStopWatch.h"
#include <fstream>
#include <queue>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <boost/program_options.hpp>
using boost::format;
using boost::str;
namespace range=boost::range;
extern CLogger &aiLogger;
#define INDENT AILogger::Tab ___dummy_ind
#define PNLOG(txt) {int i = logger.lvl; while(i--) aiLogger << "\t"; aiLogger << txt << "\n";}
#define BNLOG(txt, formattingEls) {int i = logger.lvl; while(i--) aiLogger << "\t"; aiLogger << (boost::format(txt) % formattingEls) << "\n";}
//#define LOG_ENTRY PNLOG("Entered " __FUNCTION__)
#define LOG_ENTRY