Changeset - r3359:6cb415a9356a
[Not reviewed]
master
0 6 0
celestar - 18 years ago 2006-03-29 19:03:47
celestar@openttd.org
(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
6 files changed with 8 insertions and 4 deletions:
0 comments (0 inline, 0 general)
ai/default/default.c
Show inline comments
 
@@ -22,6 +22,7 @@
 
#include "../../airport.h"
 
#include "../../depot.h"
 
#include "../../variables.h"
 
#include "../../bridge.h"
 
#include "default.h"
 

	
 
// remove some day perhaps?
ai/trolly/build.c
Show inline comments
 
@@ -12,6 +12,7 @@
 
#include "../../engine.h"
 
#include "../../station.h"
 
#include "../../variables.h"
 
#include "../../bridge.h"
 
#include "../ai.h"
 

	
 
// Build HQ
ai/trolly/pathfinder.c
Show inline comments
 
@@ -11,7 +11,7 @@
 
#include "trolly.h"
 
#include "../../depot.h"
 
#include "../../tunnel_map.h"
 
#include "../../variables.h"
 
#include "../../bridge.h"
 
#include "../ai.h"
 

	
 
#define TEST_STATION_NO_DIR 0xFF
bridge.h
Show inline comments
 
@@ -5,6 +5,10 @@
 
#ifndef BRIDGE_H
 
#define BRIDGE_H
 

	
 
enum {
 
	MAX_BRIDGES = 13
 
};
 

	
 
/** Struct containing information about a single bridge type
 
 */
 
typedef struct Bridge {
town_cmd.c
Show inline comments
 
@@ -24,6 +24,7 @@
 
#include "gui.h"
 
#include "unmovable_map.h"
 
#include "variables.h"
 
#include "bridge.h"
 

	
 
enum {
 
	/* Max towns: 64000 (8 * 8000) */
variables.h
Show inline comments
 
@@ -414,9 +414,6 @@ extern const byte _airport_size_y[];
 
VARDEF char _screenshot_name[128];
 
VARDEF byte _vehicle_design_names;
 

	
 
/* tunnelbridge */
 
#define MAX_BRIDGES 13
 

	
 
/* Forking stuff */
 
VARDEF bool _dedicated_forks;
 

	
0 comments (0 inline, 0 general)