1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 20:49:11 +00:00

(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header

This commit is contained in:
rubidium
2010-01-15 16:41:15 +00:00
parent f380a7239d
commit 82fc28f77f
295 changed files with 308 additions and 351 deletions

View File

@@ -13,6 +13,7 @@
#define ARRAY_HPP
#include "fixedsizearray.hpp"
#include "str.hpp"
/** Flexible array with size limit. Implemented as fixed size
* array of fixed size arrays */

View File

@@ -14,6 +14,7 @@
#include "../core/alloc_func.hpp"
#include "../core/mem_func.hpp"
#include <new>
/** Base class for simple binary blobs.
* Item is byte.

View File

@@ -12,13 +12,16 @@
#ifndef DBG_HELPERS_H
#define DBG_HELPERS_H
#include <new>
#include <map>
#include <stack>
#include "blob.hpp"
#include "str.hpp"
#include "../direction_type.h"
#include "../signal_type.h"
#include "../tile_type.h"
#include "../track_type.h"
/** Helper template class that provides C array length and item type */
template <typename T> struct ArrayT;

View File

@@ -12,6 +12,7 @@
#ifndef FIXEDSIZEARRAY_HPP
#define FIXEDSIZEARRAY_HPP
#include "../core/alloc_func.hpp"
/** fixed size array
* Upon construction it preallocates fixed size block of memory

View File

@@ -14,6 +14,7 @@
#include <errno.h>
#include <stdarg.h>
#include "blob.hpp"
#include "../string_func.h"
/** Blob based case sensitive ANSI/UTF-8 string */