Changeset - r8142:8414f11ec81b
[Not reviewed]
master
0 12 0
rubidium - 16 years ago 2007-12-26 23:04:26
rubidium@openttd.org
(svn r11704) -Codechange: remove another bunch of useless includes.
12 files changed with 12 insertions and 12 deletions:
0 comments (0 inline, 0 general)
src/blitter/null.cpp
Show inline comments
 
/* $Id$ */
 

	
 
/** @file null.cpp A blitter that doesn't blit. */
 

	
 
#include "../stdafx.h"
 
#include "../variables.h"
 
#include "null.hpp"
 

	
 
static FBlitter_Null iFBlitter_Null;
 

	
 
Sprite *Blitter_Null::Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator)
 
{
src/cargo_type.h
Show inline comments
 
/* $Id$ */
 
/** @file openttd.h */
 

	
 
/** @file cargo_type.h Types related to cargos... */
 

	
 
#ifndef CARGO_TYPE_H
 
#define CARGO_TYPE_H
 

	
 
typedef byte CargoID;
 

	
src/core/random_func.cpp
Show inline comments
 
/* $Id$ */
 

	
 
/** @file random_func.cpp */
 

	
 
#include "../stdafx.h"
 
#include "../variables.h"
 
#include "random_func.hpp"
 
#include "bitmath_func.hpp"
 

	
 
uint32 _random_seeds[2][2];
 

	
 
uint32 InteractiveRandom()
 
{
 
	const uint32 s = _random_seeds[1][0];
 
	const uint32 t = _random_seeds[1][1];
 

	
 
	_random_seeds[1][0] = s + ROR(t ^ 0x1234567F, 7) + 1;
src/core/random_func.hpp
Show inline comments
 
@@ -97,7 +97,9 @@ static inline bool Chance16(const uint a
 
static inline bool Chance16R(const uint a, const uint b, uint32 &r)
 
{
 
	r = Random();
 
	return Chance16I(a, b, r);
 
}
 

	
 
extern uint32 _random_seeds[2][2];
 

	
 
#endif /* RANDOM_FUNC_HPP */
src/functions.h
Show inline comments
 
@@ -4,13 +4,12 @@
 

	
 
#ifndef FUNCTIONS_H
 
#define FUNCTIONS_H
 

	
 
#include "core/random_func.hpp"
 
#include "command_type.h"
 
#include "openttd.h"
 
#include "tile_cmd.h"
 

	
 
/* clear_land.cpp */
 
void DrawHillyLandTile(const TileInfo *ti);
 
void DrawClearLandTile(const TileInfo *ti, byte set);
 
void DrawClearLandFence(const TileInfo *ti);
src/genworld.cpp
Show inline comments
 
@@ -17,12 +17,13 @@
 
#include "debug.h"
 
#include "settings.h"
 
#include "heightmap.h"
 
#include "viewport.h"
 
#include "map_func.h"
 
#include "date_func.h"
 
#include "core/random_func.hpp"
 

	
 
void GenerateClearTile();
 
void GenerateIndustries();
 
void GenerateUnmovables();
 
bool GenerateTowns();
 
void GenerateTrees();
src/newgrf_config.h
Show inline comments
 
@@ -2,13 +2,13 @@
 

	
 
/** @file newgrf_config.h */
 

	
 
#ifndef NEWGRF_CONFIG_H
 
#define NEWGRF_CONFIG_H
 

	
 
#include "openttd.h"
 
#include "strings_type.h"
 

	
 
/* GRF config bit flags */
 
enum GCF_Flags {
 
	GCF_SYSTEM,    ///< GRF file is an openttd-internal system grf
 
	GCF_UNSAFE,    ///< GRF file is unsafe for static usage
 
	GCF_STATIC,    ///< GRF file is used statically (can be used in any MP game)
src/npf.h
Show inline comments
 
@@ -2,13 +2,12 @@
 

	
 
/** @file npf.h */
 

	
 
#ifndef NPF_H
 
#define NPF_H
 

	
 
#include "openttd.h"
 
#include "aystar.h"
 
#include "station.h"
 
#include "vehicle_type.h"
 
#include "tile_type.h"
 
#include "track_type.h"
 

	
src/pathfind.h
Show inline comments
 
@@ -3,13 +3,12 @@
 
/** @file pathfind.h */
 

	
 
#ifndef PATHFIND_H
 
#define PATHFIND_H
 

	
 
#include "direction_type.h"
 
#include "openttd.h"
 

	
 
enum {
 
	STR_FACTOR  = 2,
 
	DIAG_FACTOR = 3
 
};
 

	
src/spriteloader/png.cpp
Show inline comments
 
@@ -4,13 +4,12 @@
 

	
 
#ifdef WITH_PNG
 

	
 
#include "../stdafx.h"
 
#include "../gfx_func.h"
 
#include "../fileio.h"
 
#include "../variables.h"
 
#include "../debug.h"
 
#include "../core/alloc_func.hpp"
 
#include "../core/endian_func.hpp"
 
#include "png.hpp"
 
#include <png.h>
 

	
src/tunnelbridge_map.h
Show inline comments
 
@@ -5,13 +5,12 @@
 
#ifndef TUNNELBRIDGE_MAP_H
 
#define TUNNELBRIDGE_MAP_H
 

	
 
#include "direction_func.h"
 
#include "core/bitmath_func.hpp"
 
#include "tile_map.h"
 
#include "openttd.h"
 

	
 

	
 
/**
 
 * Tunnel: Get the direction facing out of the tunnel
 
 * Bridge: Get the direction pointing onto the bridge
 
 * @param t The tile to analyze
src/variables.h
Show inline comments
 
@@ -3,13 +3,12 @@
 
/** @file variables.h */
 

	
 
#ifndef VARIABLES_H
 
#define VARIABLES_H
 

	
 
#include "yapf/yapf_settings.h"
 
#include "openttd.h"
 
#include "tile_type.h"
 
#include "strings_type.h"
 
#include "date_type.h"
 

	
 
/* ********* START OF SAVE REGION */
 

	
 
@@ -48,14 +47,12 @@ VARDEF TileIndex _cur_tileloop_tile;
 
VARDEF uint16 _disaster_delay;
 

	
 
/* Determines what station to operate on in the
 
 *  tick handler. */
 
VARDEF uint16 _station_tick_ctr;
 

	
 
VARDEF uint32 _random_seeds[2][2];
 

	
 
/* Iterator through all towns in OnTick_Town */
 
VARDEF uint32 _cur_town_ctr;
 
/* Frequency iterator at the same place */
 
VARDEF uint32 _cur_town_iter;
 

	
 
VARDEF uint _cur_player_tick_index;
0 comments (0 inline, 0 general)