(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers

This commit is contained in:
rubidium
2010-08-26 22:01:16 +00:00
parent 08a41c6ee5
commit 30f2afac9b
135 changed files with 43 additions and 264 deletions

View File

@@ -11,8 +11,6 @@
#include "../stdafx.h"
#include <squirrel.h>
#include "squirrel.hpp"
#include "squirrel_helper.hpp"
#include "script_info.hpp"

View File

@@ -14,7 +14,6 @@
#include "../fileio_func.h"
#include <sys/stat.h>
#include <squirrel.h>
#include "../script/squirrel.hpp"
#include "script_scanner.hpp"

View File

@@ -9,11 +9,9 @@
/** @file squirrel.cpp the implementation of the Squirrel class. It handles all Squirrel-stuff and gives a nice API back to work with. */
#include <squirrel.h>
#include <stdarg.h>
#include "../stdafx.h"
#include "../debug.h"
#include "squirrel.hpp"
#include "squirrel_std.hpp"
#include "../fileio_func.h"
#include <sqstdaux.h>

View File

@@ -12,6 +12,8 @@
#ifndef SQUIRREL_HPP
#define SQUIRREL_HPP
#include <squirrel.h>
class Squirrel {
private:
typedef void (SQPrintFunc)(bool error_msg, const SQChar *message);

View File

@@ -12,6 +12,8 @@
#ifndef SQUIRREL_CLASS_HPP
#define SQUIRREL_CLASS_HPP
#include "squirrel_helper.hpp"
/**
* The template to define classes in Squirrel. It takes care of the creation
* and calling of such classes, to make the AI Layer cleaner while having a

View File

@@ -12,7 +12,7 @@
#ifndef SQUIRREL_HELPER_HPP
#define SQUIRREL_HELPER_HPP
#include <squirrel.h>
#include "squirrel.hpp"
#include "../core/math_func.hpp"
#include "../core/smallvec_type.hpp"
#include "../economy_type.h"

View File

@@ -13,7 +13,6 @@
#include <sqstdmath.h>
#include "../stdafx.h"
#include "../debug.h"
#include "squirrel.hpp"
#include "squirrel_std.hpp"
#include "../core/alloc_func.hpp"
#include "../core/math_func.hpp"

View File

@@ -12,6 +12,8 @@
#ifndef SQUIRREL_STD_HPP
#define SQUIRREL_STD_HPP
#include "squirrel.hpp"
#if defined(__APPLE__)
/* Which idiotic system makes 'require' a macro? :s Oh well.... */
#undef require