Moved GameOptions.h into the precompiled header. Shaves almost 20 seconds off my build times.

This commit is contained in:
wrenczes@gmail.com
2011-04-20 07:50:00 +00:00
parent a44bd2ffd5
commit fc0a59a14e
23 changed files with 5 additions and 20 deletions

View File

@@ -9,7 +9,6 @@
#include "CardDisplay.h"
#include "Subtypes.h"
#include "CardGui.h"
#include "GameOptions.h"
#include "Token.h"
#include "Counters.h"
#include "WEvent.h"

View File

@@ -9,6 +9,7 @@
#include "Player.h"
class GameApp;
class DeckStats;
using namespace std;

View File

@@ -15,7 +15,6 @@
#include "WResourceManager.h"
#include "GameState.h"
#include "GameOptions.h"
#include "MTGDeck.h"
#include "MTGCard.h"

View File

@@ -11,7 +11,6 @@
#include "SimpleMenu.h"
#include "WResourceManager.h"
#include "CardGui.h"
#include "GameOptions.h"
#include "PriceList.h"
#include "PlayerData.h"
#include "DeckDataWrapper.h"

View File

@@ -9,7 +9,6 @@
#include <string>
#include "GameApp.h"
#include "GameStateOptions.h"
#include "GameOptions.h"
#include "WFilter.h"
#include "WDataSrc.h"
#include "WGui.h"

View File

@@ -19,6 +19,8 @@
#include "JFileSystem.h"
#include "JLogger.h"
#include "GameOptions.h"
#include <boost/shared_ptr.hpp>
#endif //PRECOMPILEDHEADER_H

View File

@@ -8,7 +8,6 @@ The Action Stack contains all information for Game Events that can be interrupte
#include "CardSelectorSingleton.h"
#include "Damage.h"
#include "GameObserver.h"
#include "GameOptions.h"
#include "ManaCost.h"
#include "MTGAbility.h"
#include "Subtypes.h"

View File

@@ -2,7 +2,6 @@
#include "Credits.h"
#include "GameApp.h"
#include "GameOptions.h"
#include "PlayerData.h"
#include "DeckStats.h"
#include "Translate.h"

View File

@@ -1,7 +1,6 @@
#include "PrecompiledHeader.h"
#include "GameObserver.h"
#include "GameOptions.h"
#include "CardGui.h"
#include "Damage.h"
#include "Rules.h"

View File

@@ -9,7 +9,6 @@
#include "MTGDeck.h"
#include "Translate.h"
#include "OptionItem.h"
#include "GameOptions.h"
#include "DeckDataWrapper.h"
enum ENUM_AWARDS_STATE

View File

@@ -2,7 +2,6 @@
#include "DeckMenu.h"
#include "GameStateDuel.h"
#include "GameOptions.h"
#include "utils.h"
#include "AIPlayer.h"
#include "AIMomirPlayer.h"

View File

@@ -10,7 +10,6 @@
#include "GameStateMenu.h"
#include "DeckManager.h"
#include "MenuItem.h"
#include "GameOptions.h"
#include "GameApp.h"
#include "MTGCard.h"
#include "Translate.h"

View File

@@ -5,7 +5,6 @@
#include "OptionItem.h"
#include "SimpleMenu.h"
#include "SimplePad.h"
#include "GameOptions.h"
#include "Translate.h"
namespace

View File

@@ -9,7 +9,6 @@
#include "MTGDeck.h"
#include "MTGPack.h"
#include "Translate.h"
#include "GameOptions.h"
#include "TestSuiteAI.h"
#include <hge/hgedistort.h>

View File

@@ -7,7 +7,6 @@
#include "MTGDeck.h"
#include "Translate.h"
#include "OptionItem.h"
#include "GameOptions.h"
TransitionBase::TransitionBase(GameApp* parent, GameState* _from, GameState* _to, float duration) :
GameState(parent)

View File

@@ -2,7 +2,6 @@
#include "MTGGameZones.h"
#include "Player.h"
#include "GameOptions.h"
#include "WEvent.h"
#include "MTGDeck.h"
#include "Subtypes.h"

View File

@@ -4,7 +4,6 @@
#include "MTGRules.h"
#include "Translate.h"
#include "Subtypes.h"
#include "GameOptions.h"
#include "Credits.h"
MTGEventBonus::MTGEventBonus(int _id) :

View File

@@ -1,7 +1,6 @@
#include "PrecompiledHeader.h"
#include "MenuItem.h"
#include "GameOptions.h"
#include "Translate.h"
MenuItem::MenuItem(int id, WFont *font, string text, float x, float y, JQuad * _off, JQuad * _on, const char * particle,

View File

@@ -1,6 +1,5 @@
#include "PrecompiledHeader.h"
#include "GameOptions.h"
#include "PlayerData.h"
#include <stdio.h>

View File

@@ -1,6 +1,8 @@
#include "PrecompiledHeader.h"
#include "PriceList.h"
#include "utils.h"
#include "MTGCard.h"
int PriceList::randomKey = 0;

View File

@@ -1,7 +1,6 @@
#include "PrecompiledHeader.h"
#include "Translate.h"
#include "GameOptions.h"
Translator * Translator::mInstance = NULL;

View File

@@ -2,7 +2,6 @@
#include "utils.h"
#include <JFileSystem.h>
#include "GameOptions.h"
#include "WResourceManager.h"
#include "WCachedResource.h"
#include <hge/hgeparticle.h>

View File

@@ -1,6 +1,5 @@
#include "PrecompiledHeader.h"
#include "GameOptions.h"
#include "WResourceManagerImpl.h"
#include "StyleManager.h"