Commit Graph

18259 Commits

Author SHA1 Message Date
rubidium
1138abad35 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 2011-11-04 11:09:06 +00:00
rubidium
79244bd57f (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 2011-11-04 10:32:26 +00:00
rubidium
1a54b7733c (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 2011-11-04 10:31:46 +00:00
rubidium
25b3869c3b (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 2011-11-04 10:31:13 +00:00
rubidium
5d7acba5d3 (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium
db14361d28 (svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT for the water/river code 2011-11-04 10:29:26 +00:00
rubidium
f923ede158 (svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code 2011-11-04 10:28:31 +00:00
rubidium
fd992c9fd8 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 2011-11-04 10:28:20 +00:00
rubidium
a70fdbcf2f (svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code 2011-11-04 10:25:58 +00:00
rubidium
cceccd58e5 (svn r23095) -Codechange: remove useless divisions/multiplications by TILE_HEIGHT for the AI API code 2011-11-04 10:25:33 +00:00
rubidium
f7297d5c3a (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 2011-11-04 10:23:48 +00:00
rubidium
bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium
5bc8a72377 (svn r23092) -Codechange: create a non-pixel version of some of the Get*PixelZ functions, and let Get*PixelZ wrap around the new function (multiplying the Z by TILE_HEIGHT) just like TileHeight and TilePixelHeight 2011-11-04 10:20:24 +00:00
rubidium
de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
rubidium
ba1ee9304d (svn r23090) -Codechange: use map accessors instead of directly accessing the map (mhl) 2011-11-04 06:05:11 +00:00
michi_cc
a50877bef7 (svn r23089) -Add: Allow specifying refits for go-to station orders. 2011-11-04 00:38:59 +00:00
michi_cc
4f6c3fa594 (svn r23088) -Change: Extend the train order GUI with space for a forth button. 2011-11-04 00:38:56 +00:00
michi_cc
886bd3c4c7 (svn r23087) -Feature: Auto-refitting of vehicles during loading at a station when the vehicle allows it. 2011-11-04 00:38:51 +00:00
michi_cc
ffca761cad (svn r23086) -Feature: [NewGRF] Callback to change refit cost depending on old and new cargo type. 2011-11-04 00:35:05 +00:00
rubidium
15f287d428 (svn r23085) -Fix (r23084): SLE_UINT8 might have been the old type, it's not the same as the length of the variable 2011-11-03 23:06:30 +00:00
rubidium
41223c8bc9 (svn r23084) -Codechange: get rid of a redundant variable 2011-11-03 22:49:03 +00:00
yexo
091d31b84b (svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a savegame, just like it's running when NewGRFs are changed during a game 2011-11-03 12:54:02 +00:00
rubidium
c465c79f09 (svn r23082) -Fix: account for snow line table when determining the snow line for building houses 2011-11-02 22:09:07 +00:00
translators
2e3d32decc (svn r23081) -Update from WebTranslator v3.0:
maltese - 1 changes by kelinu
2011-11-02 18:45:03 +00:00
frosch
6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 2011-11-01 16:51:47 +00:00
frosch
a5ddc39bad (svn r23079) -Fix (r23077): Retain original behaviour in a silly corner case, which saves us making the specs even more convoluted. 2011-11-01 16:18:28 +00:00
yexo
3c789abdf4 (svn r23078) -Fix (r23077): default ships carrying passengers and oil were suddenly only able to carry coal 2011-11-01 12:15:33 +00:00
frosch
abcc90e15c (svn r23077) -Change: [NewGRF] Enforce that the default cargo type of a vehicle is one of the refittable cargos in case of refittable engines. 2011-11-01 00:29:05 +00:00
frosch
86553b5ab5 (svn r23076) -Codechange: Separate code for NewGRF and default refit masks more strictly. 2011-11-01 00:26:22 +00:00
frosch
ad38f27242 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 2011-11-01 00:23:41 +00:00
frosch
e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 2011-11-01 00:21:08 +00:00
frosch
ba49dce954 (svn r23073) -Update: Add another generated file to .hgignore. 2011-11-01 00:19:38 +00:00
michi_cc
f0ffa534de (svn r23072) -Feature: [NewGRF] House callback 0x148. 2011-10-31 22:31:40 +00:00
michi_cc
68370d2bc9 (svn r23071) -Codechange: [NewGRF] Allow passing custom extra data through the generic NewGRF animation helper class. 2011-10-31 22:31:35 +00:00
michi_cc
80766e45ba (svn r23070) -Add: [NewGRF] House variable 0x64. 2011-10-31 22:31:31 +00:00
translators
ec7b2d734a (svn r23069) -Update from WebTranslator v3.0:
tamil - 54 changes by aswn
2011-10-31 18:45:05 +00:00
michi_cc
bc61dc938d (svn r23068) -Add: [NewGRF] Long date of last service for vehicles, also available in the purchase list. 2011-10-31 16:33:59 +00:00
rubidium
f430d497b9 (svn r23067) -Fix [FS#4812]: updating the group statistics got more strict checks, so there was some trouble moving a vehicles and groups from one company to another 2011-10-30 20:24:00 +00:00
translators
c7f5ffda54 (svn r23066) -Update from WebTranslator v3.0:
tamil - 23 changes by aswn
turkish - 13 changes by niw3
welsh - 1 changes by kazzie
2011-10-30 17:45:12 +00:00
yexo
047957487a (svn r23065) -Add: -q option to read a savegame, write some general info and exit 2011-10-30 13:47:45 +00:00
yexo
b82d03b4ee (svn r23064) -Fix (r23062): incrementing hexadecimal numbers is hard... 2011-10-29 21:00:11 +00:00
yexo
bf3565c76e (svn r23063) -Add: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short volume' and 'short weight' respectively 2011-10-29 20:56:58 +00:00
translators
348dd1eb5c (svn r23062) -Update from WebTranslator v3.0:
tamil - 236 changes by aswn
2011-10-29 17:45:04 +00:00
translators
1531961dfd (svn r23060) -Update from WebTranslator v3.0:
tamil - 124 changes by aswn
2011-10-28 17:45:03 +00:00
yexo
878554ffab (svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the minimum start year for that house was set to 1930 2011-10-27 20:28:18 +00:00
translators
81e03bef1a (svn r23058) -Update from WebTranslator v3.0:
tamil - 1 changes by aswn
2011-10-27 17:45:04 +00:00
frosch
47ed2ae999 (svn r23057) -Fix: [NoAI] AIOrder::GetOrderCount() did not hide implicit orders. 2011-10-25 19:21:36 +00:00
rubidium
2c5988870b (svn r23056) -Change: use the currency -> euro conversion rate for currencies that have been replaced with the euro, so when the switch happens the conversion rate at that point is roughly that of the real world conversion rate 2011-10-25 17:07:29 +00:00
frosch
4cbd8791a4 (svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy. 2011-10-21 21:03:40 +00:00
frosch
856db2751a (svn r23049) -Fix [FS#4810]: Use the same forest-check for the vegetation-map colour as for nearby station names. 2011-10-21 19:10:35 +00:00