Moved a few more common shared includes into the precompiled header.
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#ifndef PRECOMPILEDHEADER_H
|
#ifndef PRECOMPILEDHEADER_H
|
||||||
#define PRECOMPILEDHEADER_H
|
#define PRECOMPILEDHEADER_H
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <map>
|
#include <map>
|
||||||
@@ -13,4 +15,6 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#include "JGE.h"
|
||||||
|
|
||||||
#endif //PRECOMPILEDHEADER_H
|
#endif //PRECOMPILEDHEADER_H
|
||||||
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
#include "CardPrimitive.h"
|
#include "CardPrimitive.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "MTGDeck.h"
|
#include "MTGDeck.h"
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "Counters.h"
|
#include "Counters.h"
|
||||||
#include <JGE.h>
|
|
||||||
|
|
||||||
ExtraCost::ExtraCost(const std::string& inCostRenderString, TargetChooser *_tc)
|
ExtraCost::ExtraCost(const std::string& inCostRenderString, TargetChooser *_tc)
|
||||||
: tc(_tc), source(NULL), target(NULL), mCostRenderString(inCostRenderString)
|
: tc(_tc), source(NULL), target(NULL), mCostRenderString(inCostRenderString)
|
||||||
|
|||||||
@@ -7,11 +7,6 @@
|
|||||||
#include "OptionItem.h"
|
#include "OptionItem.h"
|
||||||
#include "StyleManager.h"
|
#include "StyleManager.h"
|
||||||
|
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <JGE.h>
|
|
||||||
|
|
||||||
const string Options::optionNames[] = {
|
const string Options::optionNames[] = {
|
||||||
//Global options
|
//Global options
|
||||||
"Profile",
|
"Profile",
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <JGE.h>
|
|
||||||
|
|
||||||
#include "DeckManager.h"
|
#include "DeckManager.h"
|
||||||
#include "GameStateDuel.h"
|
#include "GameStateDuel.h"
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
#include "SimpleMenu.h"
|
#include "SimpleMenu.h"
|
||||||
#include "GameApp.h"
|
#include "GameApp.h"
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
GameStateStory::GameStateStory(GameApp* parent): GameState(parent) {
|
GameStateStory::GameStateStory(GameApp* parent): GameState(parent) {
|
||||||
flow = NULL;
|
flow = NULL;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
#include "Logger.h"
|
#include "Logger.h"
|
||||||
#ifdef DOLOG
|
#ifdef DOLOG
|
||||||
|
|
||||||
#include <fstream>
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#if defined (WIN32)
|
#if defined (WIN32)
|
||||||
|
|||||||
@@ -5,9 +5,6 @@
|
|||||||
|
|
||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include "MTGDeck.h"
|
#include "MTGDeck.h"
|
||||||
#include "MTGCard.h"
|
#include "MTGCard.h"
|
||||||
#include "CardPrimitive.h"
|
#include "CardPrimitive.h"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "CardDescriptor.h"
|
#include "CardDescriptor.h"
|
||||||
#include "Counters.h"
|
#include "Counters.h"
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
#include <algorithm>
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
MTGCardInstance MTGCardInstance::AnyCard = MTGCardInstance();
|
MTGCardInstance MTGCardInstance::AnyCard = MTGCardInstance();
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
#include "MTGDeck.h"
|
#include "MTGDeck.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
@@ -13,7 +10,6 @@
|
|||||||
#include "MTGPack.h"
|
#include "MTGPack.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#include <JGE.h>
|
|
||||||
|
|
||||||
#if defined (WIN32) || defined (LINUX)
|
#if defined (WIN32) || defined (LINUX)
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|||||||
@@ -1,15 +1,12 @@
|
|||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include "OptionItem.h"
|
#include "OptionItem.h"
|
||||||
#include <JGE.h>
|
|
||||||
#include "PlayerData.h"
|
#include "PlayerData.h"
|
||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
#include "TranslateKeys.h"
|
#include "TranslateKeys.h"
|
||||||
#include "StyleManager.h"
|
#include "StyleManager.h"
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
//OptionItem
|
//OptionItem
|
||||||
OptionItem::OptionItem( int _id, string _displayValue): WGuiItem(_displayValue) {
|
OptionItem::OptionItem( int _id, string _displayValue): WGuiItem(_displayValue) {
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#include "PlayerData.h"
|
#include "PlayerData.h"
|
||||||
#include "MTGDeck.h"
|
#include "MTGDeck.h"
|
||||||
#include "WFont.h"
|
#include "WFont.h"
|
||||||
#include <JGE.h>
|
|
||||||
#include <JFileSystem.h>
|
#include <JFileSystem.h>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
#include <JGE.h>
|
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
Subtypes * Subtypes::subtypesList = NEW Subtypes();
|
Subtypes * Subtypes::subtypesList = NEW Subtypes();
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include "GameOptions.h"
|
#include "GameOptions.h"
|
||||||
#include <JGE.h>
|
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
Translator * Translator::mInstance = NULL;
|
Translator * Translator::mInstance = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include <fstream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <JGE.h>
|
|
||||||
#include <JFileSystem.h>
|
#include <JFileSystem.h>
|
||||||
#include "GameOptions.h"
|
#include "GameOptions.h"
|
||||||
#include "WResourceManager.h"
|
#include "WResourceManager.h"
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include "PriceList.h"
|
#include "PriceList.h"
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
//WSyncable
|
//WSyncable
|
||||||
bool WSyncable::Hook(WSyncable* s){
|
bool WSyncable::Hook(WSyncable* s){
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
#include "OptionItem.h"
|
#include "OptionItem.h"
|
||||||
#include "PlayerData.h"
|
#include "PlayerData.h"
|
||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include <algorithm>
|
|
||||||
|
|
||||||
|
|
||||||
//WCFilterFactory
|
//WCFilterFactory
|
||||||
WCFilterFactory* WCFilterFactory::me = NULL;
|
WCFilterFactory* WCFilterFactory::me = NULL;
|
||||||
|
|||||||
@@ -5,8 +5,6 @@
|
|||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include "Subtypes.h"
|
#include "Subtypes.h"
|
||||||
#include "TranslateKeys.h"
|
#include "TranslateKeys.h"
|
||||||
#include <sstream>
|
|
||||||
#include <algorithm>
|
|
||||||
#include <hge/hgedistort.h>
|
#include <hge/hgedistort.h>
|
||||||
|
|
||||||
//WGuiBase
|
//WGuiBase
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
#include "PrecompiledHeader.h"
|
#include "PrecompiledHeader.h"
|
||||||
|
|
||||||
#include <fstream>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <JGE.h>
|
|
||||||
#include <JFileSystem.h>
|
#include <JFileSystem.h>
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user