(svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :)

This commit is contained in:
rubidium
2007-06-11 14:23:04 +00:00
parent c186f91cbd
commit 76e25154bd
2 changed files with 92 additions and 5 deletions

View File

@@ -567,8 +567,32 @@ static const AiDefaultBlockData _airportdata_ai_1[] = {
{1, 0, {0, 0}}
};
static const AiDefaultBlockData _airportdata_ai_3[] = {
MKAIR(3, 0, 0),
{1, 0, {0, 0}},
};
static const AiDefaultBlockData _airportdata_ai_4[] = {
MKAIR(4, 0, 0),
{1, 0, {0, 0}},
};
static const AiDefaultBlockData _airportdata_ai_5[] = {
MKAIR(5, 0, 0),
{1, 0, {0, 0}},
};
static const AiDefaultBlockData _airportdata_ai_7[] = {
MKAIR(7, 0, 0),
{1, 0, {0, 0}}
};
static const AiDefaultBlockData * const _airport_default_block_data[] = {
_airportdata_ai_7, // intercontinental airport
_airportdata_ai_4, // international airport
_airportdata_ai_3, // metropolitan airport
_airportdata_ai_0, // city airport
_airportdata_ai_5, // commuter airport
_airportdata_ai_1, // country airport
NULL
};