From c0461add5f966b29de987cb04455c88377b5c5bb Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Wed, 20 Jun 2012 17:00:16 +0200 Subject: Refactoring of #includes and forward declarations in object/ --- src/object/auto/autoresearch.cpp | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'src/object/auto/autoresearch.cpp') diff --git a/src/object/auto/autoresearch.cpp b/src/object/auto/autoresearch.cpp index 07c64c1..abf228c 100644 --- a/src/object/auto/autoresearch.cpp +++ b/src/object/auto/autoresearch.cpp @@ -15,38 +15,22 @@ // * along with this program. If not, see http://www.gnu.org/licenses/. -#include #include -#include -#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 -- cgit v1.2.3-1-g7c22