Files
@ r9464:ce84e83c962a
Branch filter:
Location: cpp/openttd-patchpack/source/src/newgrf_generic.h - annotation
r9464:ce84e83c962a
1.6 KiB
text/x-c
(svn r13384) -Update: WebTranslator2 update to 2008-06-05 08:15:43
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan - 9 fixed by arnaullv (9)
croatian - 13 fixed by knovak (13)
czech - 33 fixed by Hadez (33)
danish - 47 fixed by ThomasA (47)
dutch - 9 fixed by habell (9)
estonian - 42 fixed, 5 changed by kristjans (47)
finnish - 5 fixed, 1 changed by kerba (6)
french - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic - 75 fixed by scrooge (75)
italian - 9 fixed, 12 changed by lorenzodv (21)
korean - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian - 97 fixed, 302 changed by CrystyB (399)
russian - 12 fixed by Smoky555 (12)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (6), daishan (7)
turkish - 39 fixed, 1 changed by jnmbk (40)
ukrainian - 10 fixed by mad (10)
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan - 9 fixed by arnaullv (9)
croatian - 13 fixed by knovak (13)
czech - 33 fixed by Hadez (33)
danish - 47 fixed by ThomasA (47)
dutch - 9 fixed by habell (9)
estonian - 42 fixed, 5 changed by kristjans (47)
finnish - 5 fixed, 1 changed by kerba (6)
french - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic - 75 fixed by scrooge (75)
italian - 9 fixed, 12 changed by lorenzodv (21)
korean - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian - 97 fixed, 302 changed by CrystyB (399)
russian - 12 fixed by Smoky555 (12)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (6), daishan (7)
turkish - 39 fixed, 1 changed by jnmbk (40)
ukrainian - 10 fixed by mad (10)
r8544:31b3976529d7 r8544:31b3976529d7 r9111:983de9c5a848 r9111:983de9c5a848 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 r8544:31b3976529d7 | /* $Id$ */
/** @file newgrf_generic.h Functions related to generic callbacks. */
#ifndef NEWGRF_GENERIC_H
#define NEWGRF_GENERIC_H
enum AIConstructionEvent {
AICE_TRAIN_CHECK_RAIL_ENGINE = 0x00, ///< Check if we should build an engine
AICE_TRAIN_CHECK_ELRAIL_ENGINE = 0x01,
AICE_TRAIN_CHECK_MONORAIL_ENGINE = 0x02,
AICE_TRAIN_CHECK_MAGLEV_ENGINE = 0x03,
AICE_TRAIN_GET_RAIL_WAGON = 0x08,
AICE_TRAIN_GET_ELRAIL_WAGON = 0x09,
AICE_TRAIN_GET_MONORAIL_WAGON = 0x0A,
AICE_TRAIN_GET_MAGLEV_WAGON = 0x0B,
AICE_TRAIN_GET_RAILTYPE = 0x0F,
AICE_ROAD_CHECK_ENGINE = 0x00, ///< Check if we should build an engine
AICE_ROAD_GET_FIRST_ENGINE = 0x01, ///< Unused, we check all
AICE_ROAD_GET_NUMBER_ENGINES = 0x02, ///< Unused, we check all
AICE_SHIP_CHECK_ENGINE = 0x00, ///< Check if we should build an engine
AICE_SHIP_GET_FIRST_ENGINE = 0x01, ///< Unused, we check all
AICE_SHIP_GET_NUMBER_ENGINES = 0x02, ///< Unused, we check all
AICE_AIRCRAFT_CHECK_ENGINE = 0x00, ///< Check if we should build an engine
AICE_STATION_GET_STATION_ID = 0x00, ///< Get a station ID to build
};
void ResetGenericCallbacks();
void AddGenericCallback(uint8 feature, const struct GRFFile *file, const struct SpriteGroup *group);
uint16 GetAiPurchaseCallbackResult(uint8 feature, CargoID cargo_type, uint8 default_selection, IndustryType src_industry, IndustryType dst_industry, uint8 distance, AIConstructionEvent event, uint8 count, uint8 station_size, const struct GRFFile **file);
#endif /* NEWGRF_GENERIC_H */
|