mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r16458) -Codechange: use one enum instead of four
This commit is contained in:
parent
62a2dff61e
commit
1ad410dc00
@ -9,12 +9,14 @@
|
|||||||
#include "map_type.h"
|
#include "map_type.h"
|
||||||
#include "tile_type.h"
|
#include "tile_type.h"
|
||||||
|
|
||||||
enum {MAX_TERMINALS = 10};
|
/** Current limits for airports */
|
||||||
enum {MAX_HELIPADS = 4};
|
enum {
|
||||||
enum {MAX_ELEMENTS = 255};
|
MAX_TERMINALS = 10, ///< maximum number of terminals per airport
|
||||||
enum {MAX_HEADINGS = 22};
|
MAX_HELIPADS = 4, ///< maximum number of helipads per airport
|
||||||
|
MAX_ELEMENTS = 255, ///< maximum number of aircraft positions at airport
|
||||||
|
};
|
||||||
|
|
||||||
/* Airport types */
|
/** Airport types */
|
||||||
enum {
|
enum {
|
||||||
AT_SMALL = 0,
|
AT_SMALL = 0,
|
||||||
AT_LARGE = 1,
|
AT_LARGE = 1,
|
||||||
@ -66,7 +68,8 @@ enum {
|
|||||||
TERM7 = 19,
|
TERM7 = 19,
|
||||||
TERM8 = 20,
|
TERM8 = 20,
|
||||||
HELIPAD3 = 21,
|
HELIPAD3 = 21,
|
||||||
HELIPAD4 = 22
|
HELIPAD4 = 22,
|
||||||
|
MAX_HEADINGS = 22,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Movement Blocks on Airports
|
/* Movement Blocks on Airports
|
||||||
|
Loading…
Reference in New Issue
Block a user