(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...

This commit is contained in:
celestar
2006-03-29 19:03:47 +00:00
parent cb76f96aad
commit 8310a46351
6 changed files with 8 additions and 4 deletions
+1
View File
@@ -22,6 +22,7 @@
#include "../../airport.h"
#include "../../depot.h"
#include "../../variables.h"
#include "../../bridge.h"
#include "default.h"
// remove some day perhaps?
+1
View File
@@ -12,6 +12,7 @@
#include "../../engine.h"
#include "../../station.h"
#include "../../variables.h"
#include "../../bridge.h"
#include "../ai.h"
// Build HQ
+1 -1
View File
@@ -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
+4
View File
@@ -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 {
+1
View File
@@ -24,6 +24,7 @@
#include "gui.h"
#include "unmovable_map.h"
#include "variables.h"
#include "bridge.h"
enum {
/* Max towns: 64000 (8 * 8000) */
-3
View File
@@ -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;