Refactoring of #includes and forward declarations in object/
parent
918f677ae8
commit
c0461add5f
|
@ -15,38 +15,16 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/auto/auto.h"
|
||||
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "graphics/common/cloud.h"
|
||||
#include "graphics/common/planet.h"
|
||||
#include "graphics/common/blitz.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "common/modfile.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/list.h"
|
||||
#include "ui/label.h"
|
||||
#include "ui/gauge.h"
|
||||
#include "ui/window.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "sound/sound.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ class CCloud;
|
|||
class CPlanet;
|
||||
class CBlitz;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
class CInterface;
|
||||
class CRobotMain;
|
||||
class CDisplayText;
|
||||
|
|
|
@ -15,35 +15,21 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/language.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/auto/autobase.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/cloud.h"
|
||||
#include "graphics/common/planet.h"
|
||||
#include "graphics/common/blitz.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "physics/physics.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autobase.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,16 +20,8 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
enum AutoBaseParam
|
||||
{
|
||||
|
|
|
@ -15,32 +15,17 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoconvert.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/geometry.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,31 +15,19 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoderrick.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "math/geometry.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
|
||||
|
||||
|
||||
|
||||
const float DERRICK_DELAY = 10.0f; // duration of the extraction
|
||||
|
|
|
@ -20,16 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,33 +15,15 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "graphics/common/pyro.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autodestroyer.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -19,18 +19,9 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
#include "common/misc.h"
|
||||
#include "object/auto/auto.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
enum AutoDestroyerPhase
|
||||
{
|
||||
|
|
|
@ -15,27 +15,15 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "graphics/common/pyro.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoegg.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "common/iman.h"
|
||||
#include "script/cmdtoken.h"
|
||||
|
||||
|
||||
|
||||
|
||||
// Object's constructor.
|
||||
|
|
|
@ -19,18 +19,7 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
#include "object/object.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
enum AutoEggPhase
|
||||
|
|
|
@ -15,33 +15,18 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "math/geometry.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/auto/autoenergy.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/gauge.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "sound/sound.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoenergy.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,37 +15,20 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "math/geometry.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/restext.h"
|
||||
#include "object/auto/autofactory.h"
|
||||
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autofactory.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,14 +22,6 @@
|
|||
#include "object/auto/auto.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
enum AutoFactoryPhase
|
||||
{
|
||||
|
|
|
@ -15,25 +15,13 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoflag.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
|
||||
|
||||
|
||||
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,27 +15,13 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autohuston.h"
|
||||
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,18 +20,9 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
#include "graphics/common/particule.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
struct HustonLens
|
||||
{
|
||||
|
|
|
@ -15,30 +15,15 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "object/auto/autoinfo.h"
|
||||
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/list.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoinfo.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,29 +15,8 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/list.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autojostle.h"
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,27 +15,12 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "sound/sound.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autokid.h"
|
||||
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/water.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,34 +15,18 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/const.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "object/auto/autolabo.h"
|
||||
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "sound/sound.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autolabo.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,27 +15,13 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/automush.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "script/cmdtoken.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,25 +15,14 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autonest.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,33 +15,17 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autonuclear.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/geometry.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
|
||||
|
||||
|
||||
const float NUCLEAR_DELAY = 30.0f; // duration of the generation
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,34 +15,18 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autopara.h"
|
||||
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/geometry.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
|
||||
|
||||
|
||||
|
||||
// Object's constructor.
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,32 +15,15 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoportico.h"
|
||||
|
||||
|
||||
#include "object/robotmain.h"
|
||||
|
||||
|
||||
|
||||
|
||||
const int PARAM_DEPOSE = 2; // run=2 -> deposits the spaceship
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,31 +15,15 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/gauge.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoradar.h"
|
||||
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/geometry.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/gauge.h"
|
||||
|
||||
|
||||
// Object's constructor.
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,34 +15,15 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/window.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autorepair.h"
|
||||
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "physics/physics.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
|
||||
|
||||
// Object's constructor.
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,38 +15,22 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "math/const.h"
|
||||
#include "math/geometry.h"
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "object/auto/autoresearch.h"
|
||||
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/gauge.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoresearch.h"
|
||||
|
||||
|
||||
|
||||
#define SEARCH_TIME 30.0f // duration of a research
|
||||
const float SEARCH_TIME = 30.0f; // duration of a research
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,24 +15,13 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "object/auto/autoroot.h"
|
||||
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoroot.h"
|
||||
#include "math/geometry.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,41 +15,21 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autosafe.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/window.h"
|
||||
|
||||
|
||||
const float OPEN_DELAY = 8.0f; // duration of opening
|
||||
|
||||
|
||||
|
||||
|
||||
// Object's constructor.
|
||||
|
||||
CAutoSafe::CAutoSafe(CInstanceManager* iMan, CObject* object)
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,30 +15,17 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/auto/autostation.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/gauge.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autostation.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,35 +15,18 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/const.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/button.h"
|
||||
#include "ui/gauge.h"
|
||||
#include "ui/window.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autotower.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "math/geometry.h"
|
||||
#include "physics/physics.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "ui/interface.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "ui/window.h"
|
||||
#include "ui/gauge.h"
|
||||
|
||||
|
||||
const float TOWER_SCOPE = 200.0f; // range of beam
|
||||
|
|
|
@ -20,15 +20,6 @@
|
|||
|
||||
|
||||
#include "object/auto/auto.h"
|
||||
#include "common/misc.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
// * along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "object/brain.h"
|
||||
|
||||
#include "CBot/CBotDll.h"
|
||||
#include "common/struct.h"
|
||||
|
@ -65,7 +65,6 @@
|
|||
#include "sound/sound.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/brain.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "common/misc.h"
|
||||
#include "common/event.h"
|
||||
#include "object/object.h"
|
||||
|
|
|
@ -17,26 +17,16 @@
|
|||
// mainmovie.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "common/global.h"
|
||||
#include "common/event.h"
|
||||
#include "common/iman.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/object.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionhuman.h"
|
||||
#include "ui/interface.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
|
||||
#include "object/mainmovie.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "common/iman.h"
|
||||
#include "object/motion/motionhuman.h"
|
||||
#include "object/robotmain.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
|
||||
|
||||
#include "common/event.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEvent;
|
||||
|
@ -29,7 +30,6 @@ class CInterface;
|
|||
class CRobotMain;
|
||||
class CCamera;
|
||||
class CSound;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,31 +17,13 @@
|
|||
// motion.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/const.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "script/cmdtoken.h"
|
||||
#include "object/motion/motion.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "script/cmdtoken.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,11 +22,10 @@
|
|||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/object.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CD3DEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
|
|
|
@ -17,29 +17,14 @@
|
|||
// motionant.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionant.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
|
||||
|
|
|
@ -22,15 +22,6 @@
|
|||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
enum MotionAntAction
|
||||
{
|
||||
|
|
|
@ -17,29 +17,13 @@
|
|||
// motionbee.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionbee.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
|
||||
|
|
|
@ -22,16 +22,6 @@
|
|||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
enum MotionBeeAction
|
||||
{
|
||||
|
|
|
@ -17,31 +17,16 @@
|
|||
// motionhuman.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "object/motion/motionhuman.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionhuman.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -19,20 +19,9 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
#include "common/misc.h"
|
||||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
enum MotionHumanAction
|
||||
{
|
||||
|
|
|
@ -17,29 +17,13 @@
|
|||
// motionmother.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionmother.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
|
||||
|
|
|
@ -22,16 +22,6 @@
|
|||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
class CMotionMother : public CMotion
|
||||
{
|
||||
|
|
|
@ -17,29 +17,14 @@
|
|||
// motionspider.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionspider.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
|
||||
|
|
|
@ -22,16 +22,6 @@
|
|||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
enum MotionSpiderAction
|
||||
{
|
||||
|
|
|
@ -17,29 +17,15 @@
|
|||
// motiontoto.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "object/motion/motiontoto.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "common/modfile.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motiontoto.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -19,20 +19,9 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "object/object.h"
|
||||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
|
||||
|
||||
enum MotionTotoAction
|
||||
{
|
||||
|
|
|
@ -17,29 +17,17 @@
|
|||
// motionvehicle.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "object/motion/motionvehicle.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionvehicle.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,16 +22,6 @@
|
|||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
class CMotionVehicle : public CMotion
|
||||
{
|
||||
|
|
|
@ -17,28 +17,16 @@
|
|||
// motionworm.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "object/motion/motionworm.h"
|
||||
|
||||
#include "common/modfile.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "common/modfile.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionworm.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,16 +22,6 @@
|
|||
#include "object/motion/motion.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
class CCamera;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
class CMotionWorm : public CMotion
|
||||
{
|
||||
|
|
|
@ -17,30 +17,12 @@
|
|||
// task.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "object/task/task.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "object/object.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
class CInstanceManager;
|
||||
class CD3DEngine;
|
||||
class CEngine;
|
||||
class CLight;
|
||||
class CParticule;
|
||||
class CTerrain;
|
||||
|
|
|
@ -17,24 +17,13 @@
|
|||
// taskadvance.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskadvance.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,15 +20,9 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
class CTaskAdvance : public CTask
|
||||
{
|
||||
|
|
|
@ -17,33 +17,20 @@
|
|||
// taskbuild.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/task/taskbuild.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/light.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionhuman.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "physics/physics.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskbuild.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -21,12 +21,7 @@
|
|||
|
||||
#include "object/task/task.h"
|
||||
#include "object/object.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,26 +17,14 @@
|
|||
// taskfire.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskfire.h"
|
||||
|
||||
#include "graphics/common/particule.h"
|
||||
#include "math/geometry.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
const float ENERGY_FIRE = (0.25f/2.5f); // energy consumed/shot
|
||||
|
|
|
@ -22,12 +22,6 @@
|
|||
#include "object/task/task.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
class CTaskFire : public CTask
|
||||
{
|
||||
|
|
|
@ -17,27 +17,15 @@
|
|||
// taskfireant.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionant.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskfireant.h"
|
||||
|
||||
#include "graphics/common/particule.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/motion/motionant.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,14 +20,7 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,30 +17,16 @@
|
|||
// taskflag.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "object/task/taskflag.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "graphics/common/pyro.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionhuman.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskflag.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -19,14 +19,8 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "object/object.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,24 +17,16 @@
|
|||
// taskgoto.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "object/task/taskgoto.h"
|
||||
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "graphics/common/water.h"
|
||||
#include "object/object.h"
|
||||
#include "math/geometry.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskgoto.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,14 +20,7 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,21 +17,12 @@
|
|||
// taskgungoal.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "object/object.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskgungoal.h"
|
||||
|
||||
#include "object/object.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,12 +22,6 @@
|
|||
#include "object/task/task.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
class CTaskGunGoal : public CTask
|
||||
{
|
||||
|
|
|
@ -17,25 +17,14 @@
|
|||
// taskinfo.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/task/taskinfo.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/auto/auto.h"
|
||||
#include "object/auto/autoinfo.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskinfo.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -22,13 +22,6 @@
|
|||
#include "object/task/task.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
|
||||
|
||||
|
||||
class CTaskInfo : public CTask
|
||||
{
|
||||
|
|
|
@ -17,37 +17,26 @@
|
|||
// taskmanager.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/task/taskmanager.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "common/event.h"
|
||||
#include "object/object.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskwait.h"
|
||||
#include "object/task/taskadvance.h"
|
||||
#include "object/task/taskturn.h"
|
||||
#include "object/task/taskgoto.h"
|
||||
#include "object/task/tasktake.h"
|
||||
#include "object/task/taskmanip.h"
|
||||
#include "object/task/taskflag.h"
|
||||
#include "object/task/taskbuild.h"
|
||||
#include "object/task/tasksearch.h"
|
||||
#include "object/task/taskterraform.h"
|
||||
#include "object/task/taskpen.h"
|
||||
#include "object/task/taskrecover.h"
|
||||
#include "object/task/taskshield.h"
|
||||
#include "object/task/taskinfo.h"
|
||||
#include "object/task/taskfire.h"
|
||||
#include "object/task/taskfireant.h"
|
||||
#include "object/task/taskgungoal.h"
|
||||
#include "object/task/taskspiderexplo.h"
|
||||
#include "object/task/taskreset.h"
|
||||
#include "object/task/taskmanager.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -27,10 +27,6 @@
|
|||
#include "object/task/taskflag.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTask;
|
||||
|
||||
|
||||
|
||||
class CTaskManager
|
||||
{
|
||||
|
|
|
@ -17,28 +17,16 @@
|
|||
// taskmanip.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "math/old/d3dmath.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "object/task/taskmanip.h"
|
||||
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "graphics/common/pyro.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "sound/sound.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/robotmain.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskmanip.h"
|
||||
#include "physics/physics.h"
|
||||
|
||||
|
||||
//?const float MARGIN_FRONT = 2.0f;
|
||||
|
|
|
@ -20,15 +20,8 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
#include "object/object.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,29 +17,14 @@
|
|||
// taskpen.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/geometry.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "sound/sound.h"
|
||||
#include "object/motion/motion.h"
|
||||
#include "object/motion/motionant.h"
|
||||
#include "object/motion/motionspider.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskpen.h"
|
||||
|
||||
#include "graphics/common/particule.h"
|
||||
#include "math/geometry.h"
|
||||
#include "object/object.h"
|
||||
|
||||
|
||||
|
||||
// Object's constructor.
|
||||
|
|
|
@ -20,14 +20,7 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,27 +17,15 @@
|
|||
// taskrecover.cpp
|
||||
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <d3d.h>
|
||||
|
||||
#include "common/struct.h"
|
||||
#include "math/func.h"
|
||||
#include "object/task/taskrecover.h"
|
||||
|
||||
#include "math/geometry.h"
|
||||
#include "math/old/math3d.h"
|
||||
#include "common/event.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/iman.h"
|
||||
#include "graphics/common/particule.h"
|
||||
#include "graphics/common/terrain.h"
|
||||
#include "object/object.h"
|
||||
#include "physics/physics.h"
|
||||
#include "object/brain.h"
|
||||
#include "graphics/common/camera.h"
|
||||
#include "sound/sound.h"
|
||||
#include "ui/displaytext.h"
|
||||
#include "object/task/task.h"
|
||||
#include "object/task/taskrecover.h"
|
||||
|
||||
|
||||
const float ENERGY_RECOVER = 0.25f; // energy consumed by recovery
|
||||
|
|
|
@ -20,14 +20,7 @@
|
|||
|
||||
|
||||
#include "object/task/task.h"
|
||||
#include "graphics/d3d/d3dengine.h"
|
||||
|
||||
|
||||
class CInstanceManager;
|
||||
class CTerrain;
|
||||
class CBrain;
|
||||
class CPhysics;
|
||||
class CObject;
|
||||
#include "math/vector.h"
|
||||
|
||||
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue