(svn r15172) -Feature: Allow a grf to customize house name via callback 0x14D, during Tile Inquiry process

This commit is contained in:
belugas
2009-01-20 16:06:57 +00:00
parent 61ee8ca42a
commit cef4103137
2 changed files with 18 additions and 2 deletions

View File

@@ -208,6 +208,9 @@ enum CallbackID {
/** Customize the output cargo types of a newly build industry. */
CBID_INDUSTRY_OUTPUT_CARGO_TYPES = 0x14C, // 8 bit callback
/** Called on the Get Tile Description for an house tile. */
CBID_HOUSE_CUSTOM_NAME = 0x14D, // 15 bit callback
};
/**
@@ -251,6 +254,7 @@ enum HouseCallbackMask {
CBM_HOUSE_ACCEPT_CARGO = 8,
CBM_HOUSE_PRODUCE_CARGO = 9,
CBM_HOUSE_DENY_DESTRUCTION = 10,
};
/**