summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
AgeCommit message (Collapse)Author
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-01-26(svn r15280) -Cleanup: ancient and vastly out of date comment...peter1138
2009-01-20(svn r15172) -Feature: Allow a grf to customize house name via callback ↵belugas
0x14D, during Tile Inquiry process
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-21(svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in ↵frosch
'newgrf_callbacks.h'.
2008-04-19(svn r12798) -Feature: Add some support for NewGRF station animation. ↵peter1138
(Thanks to mart3p for samples and fixes)
2008-03-28(svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type ↵glx
display for industries)
2008-03-10(svn r12352) -Fix: Some callback-results were treated as 8 bit, when they ↵frosch
were 15 bit, and vice versa. Var 0x7E procedure-results are always 15 bit. Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit. Non-varaction2-calculated callback-results are also affected by the 8bit masking.
2008-01-14(svn r11851) -Codechange: A few magic numbers removal, plus a little code stylebelugas
2007-10-28(svn r11353) -Codechange: add support for newgrf callback 32glx
2007-10-25(svn r11341) -Codechange: add missing callback ID enums, add stub for house ↵glx
property 20 and reorder unimplemented action 0 properties
2007-09-28(svn r11181) -Codechange: add support for newgrf callback 14A (Belugas)glx
2007-09-27(svn r11177) -Codechange: add support for newgrf callbacks 14B and 14Cglx
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-22(svn r11144) -Codechange: add support for newgrf callbacks 29 and 35glx
2007-09-18(svn r11127) -Fix: truncate the result of 8 bits callbacks.rubidium
2007-09-14(svn r11107) -Feature: some tool so one can still build tunnels under rails ↵rubidium
(and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-07-25(svn r10690) -Codechange: use the enum that describes all callback IDs in ↵rubidium
favor of "just" using an untyped integer.
2007-07-19(svn r10622) -Feature: Introduction of the CBID_INDUSTRY_AVAILABLE's ↵belugas
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.
2007-07-11(svn r10508) -Codechange: allow customizable animation schemes for industries.rubidium
2007-07-11(svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) ↵belugas
as implemented.
2007-07-09(svn r10493) -Codechange: update some callback ID enums to reflect their ↵rubidium
changed usage, add a few and update the comments.
2007-07-09(svn r10490) -Codechange: add support for industries on non-flat surfaces.rubidium
2007-07-09(svn r10486) -Fix: do not draw foundations when the "should I draw ↵rubidium
foundations" callbacks says to do so.
2007-07-09(svn r10485) -Codechange: add a callback mechanism to determine whether ↵rubidium
building an industry is allowed at a given location.
2007-07-08(svn r10483) -Codechange: add support for callbacks to manipulate the ↵rubidium
building chance of farm fields and chopping chance for lumber mills.
2007-07-08(svn r10477) -Codechange: add some callbacks to customise the acceptance of ↵rubidium
industries.
2007-07-08(svn r10476) -Fix: some newgrf callbacks were already implemented even ↵rubidium
though the comment said they were not.
2007-07-05(svn r10443) -Fix: randomizing triggers should be called with callback type ↵peter1138
set to 1
2007-04-18(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing ↵peter1138
of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
2007-04-03(svn r9549) -Codechange: Add definition of callbacks and callback masks for ↵belugas
both industries and industry tiles
2007-03-22(svn r9411) -Codechange: Add support for loading of newcargo data.peter1138
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
2007-03-15(svn r9215) -Documentation : correct Doxygen of commentsbelugas
2007-03-06(svn r9029) -Fix (r7326): Only call the gradual loading amount callback if ↵maedhros
the bit for it is set in the vehicle's callbackmask.
2007-01-17(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle ↵peter1138
colour map selection.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.