Commit Graph

23 Commits

Author SHA1 Message Date
glx aa020847af (svn r11144) -Codechange: add support for newgrf callbacks 29 and 35 2007-09-22 23:40:35 +00:00
rubidium 262836a24f (svn r11127) -Fix: truncate the result of 8 bits callbacks. 2007-09-18 20:41:59 +00:00
rubidium fef64185b8 (svn r11107) -Feature: some tool so one can still build tunnels under rails (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-09-14 22:27:40 +00:00
rubidium 9e3ee0e689 (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. 2007-07-25 19:06:29 +00:00
belugas 7a656fde4e (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.
2007-07-19 01:47:32 +00:00
rubidium 79d04412b0 (svn r10508) -Codechange: allow customizable animation schemes for industries. 2007-07-11 15:03:29 +00:00
belugas 8b17441704 (svn r10503) -Codechange: Mark Callback CBID_INDUSTRY_FUND_MORE_TEXT (cb38) as implemented. 2007-07-11 00:36:03 +00:00
rubidium b876be0064 (svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments. 2007-07-09 19:38:12 +00:00
rubidium 25511e0e26 (svn r10490) -Codechange: add support for industries on non-flat surfaces. 2007-07-09 18:53:43 +00:00
rubidium 6cf2aad165 (svn r10486) -Fix: do not draw foundations when the "should I draw foundations" callbacks says to do so. 2007-07-09 13:59:07 +00:00
rubidium bb8923c336 (svn r10485) -Codechange: add a callback mechanism to determine whether building an industry is allowed at a given location. 2007-07-09 13:21:49 +00:00
rubidium 70d6fdeca0 (svn r10483) -Codechange: add support for callbacks to manipulate the building chance of farm fields and chopping chance for lumber mills. 2007-07-08 19:54:51 +00:00
rubidium 283a06e4a1 (svn r10477) -Codechange: add some callbacks to customise the acceptance of industries. 2007-07-08 17:40:04 +00:00
rubidium fd2d677849 (svn r10476) -Fix: some newgrf callbacks were already implemented even though the comment said they were not. 2007-07-08 14:23:15 +00:00
peter1138 b507907176 (svn r10443) -Fix: randomizing triggers should be called with callback type set to 1 2007-07-05 06:35:09 +00:00
peter1138 41cf2fa69b (svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable. 2007-04-18 18:37:40 +00:00
belugas b1e0fdfd2a (svn r9549) -Codechange: Add definition of callbacks and callback masks for both industries and industry tiles 2007-04-03 00:01:18 +00:00
peter1138 4d81a464e2 (svn r9411) -Codechange: Add support for loading of newcargo data. 2007-03-22 23:19:40 +00:00
maedhros 73ff939ddb (svn r9315) -Merge: The newhouses branch. With this merge comes almost 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-19 11:27:30 +00:00
belugas 78b4c42f17 (svn r9215) -Documentation : correct Doxygen of comments 2007-03-15 17:42:32 +00:00
maedhros 60703d3691 (svn r9029) -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask. 2007-03-06 19:12:56 +00:00
peter1138 004f1b061f (svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map
selection.
2007-01-17 22:19:12 +00:00
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- 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.
2007-01-02 19:19:48 +00:00
Renamed from newgrf_callbacks.h (Browse further)