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

pull/155/head
celestar 18 years ago
parent 969328d8c1
commit c442586676

@ -22,6 +22,7 @@
#include "../../airport.h"
#include "../../depot.h"
#include "../../variables.h"
#include "../../bridge.h"
#include "default.h"
// remove some day perhaps?

@ -12,6 +12,7 @@
#include "../../engine.h"
#include "../../station.h"
#include "../../variables.h"
#include "../../bridge.h"
#include "../ai.h"
// Build HQ

@ -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

@ -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 {

@ -24,6 +24,7 @@
#include "gui.h"
#include "unmovable_map.h"
#include "variables.h"
#include "bridge.h"
enum {
/* Max towns: 64000 (8 * 8000) */

@ -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;

Loading…
Cancel
Save