(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "../stdafx.h"
|
||||
|
||||
#include <squirrel.h>
|
||||
#include "squirrel.hpp"
|
||||
#include "squirrel_helper.hpp"
|
||||
|
||||
#include "script_info.hpp"
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#include "../fileio_func.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <squirrel.h>
|
||||
#include "../script/squirrel.hpp"
|
||||
#include "script_scanner.hpp"
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user