1
0
forked from 0ad/0ad

# Housekeeping.

ScriptableComplex.inl is now only #included in CPP files that need it
(files that use functions from it directly), which is a total of 5
files, so recompiling after modifying it should be a lot faster.

This was SVN commit r4176.
This commit is contained in:
Matei 2006-07-27 21:20:30 +00:00
parent 1da24b9cee
commit dbe4451da2
7 changed files with 6 additions and 4 deletions

View File

@ -57,6 +57,7 @@
#include "simulation/Scheduler.h"
#include "simulation/Projectile.h"
#include "scripting/ScriptableComplex.inl"
#include "scripting/ScriptingHost.h"
#include "scripting/GameEvents.h"
#include "scripting/ScriptableComplex.h"

View File

@ -1,5 +1,6 @@
#include "precompiled.h"
#include "ScriptableComplex.h"
#include "ScriptableComplex.inl"
#include "lib/allocators.h"

View File

@ -273,9 +273,6 @@ extern void jscomplexproperty_suballoc_detach();
extern void* jscomplexproperty_suballoc();
extern void jscomplexproperty_suballoc_free(IJSComplexProperty* p);
#include "ScriptableComplex.inl"
#endif

View File

@ -29,6 +29,7 @@
#include "graphics/GameView.h"
#include "graphics/Sprite.h"
#include "graphics/UnitManager.h"
#include "scripting/ScriptableComplex.inl"
extern CConsole* g_Console;
extern int g_xres, g_yres;

View File

@ -5,7 +5,7 @@
#include "graphics/ObjectManager.h"
#include "ps/CStr.h"
#include "ps/Player.h"
#include "scripting/ScriptableComplex.inl"
#include "ps/XML/Xeromyces.h"
#include "ps/CLogger.h"

View File

@ -4,6 +4,7 @@
#include "graphics/Terrain.h"
#include "ps/Game.h"
#include "ps/World.h"
#include "Entity.h"
int SPF_RECURSION_DEPTH = 10;

View File

@ -11,6 +11,7 @@
#include "EntityTemplate.h"
#include "EntityTemplateCollection.h"
#include "ps/Player.h"
#include "scripting/ScriptableComplex.inl"
#define LOG_CATEGORY "Techs"