diff options
author | belugas <belugas@openttd.org> | 2007-07-19 01:47:32 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-07-19 01:47:32 +0000 |
commit | 7a656fde4e8a1c3048a4a744b751a64f43d222c3 (patch) | |
tree | 12887853994cf0ae8b0655c638b1d28aa4163f8a /src/newgrf_callbacks.h | |
parent | f7f6ad362e39c3c4861505e24e5fa7dba69ea41d (diff) | |
download | openttd-7a656fde4e8a1c3048a4a744b751a64f43d222c3.tar.xz |
(svn r10622) -Feature: Introduction of the CBID_INDUSTRY_AVAILABLE's handling, in fund industry window.
In order to stay as much consistent with the specs, the fund window will perform (if required) the callback every game-day. TTDPatch performs the same call every second, but after discussions with Csaboka, we agreed that it was not required to be that intensive. So a game-day is plenty enough.
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r-- | src/newgrf_callbacks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h index d255c9a51..33f005c2b 100644 --- a/src/newgrf_callbacks.h +++ b/src/newgrf_callbacks.h @@ -75,7 +75,7 @@ enum CallbackID { CBID_HOUSE_DESTRUCTION = 0x21, /** Called to determine if the given industry type is available */ - CBID_INDUSTRY_AVAILABLE = 0x22, // not implemented + CBID_INDUSTRY_AVAILABLE = 0x22, /** This callback is called from vehicle purchase lists. It returns a value to be * used as a custom string ID in the 0xD000 range. */ |