mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-22 15:11:54 +00:00
(svn r4154) -Moved MAX_BRIDGES in bridge.h and made it an enum. This makes two drops ...
This commit is contained in:
parent
cb76f96aad
commit
8310a46351
@ -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
|
||||
|
4
bridge.h
4
bridge.h
@ -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…
Reference in New Issue
Block a user