Commit Graph

18459 Commits

Author SHA1 Message Date
rubidium
f01b3e2721 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 2011-11-04 11:09:06 +00:00
rubidium
a72544d5e1 (svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x) 2011-11-04 10:32:26 +00:00
rubidium
798f5a8608 (svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT 2011-11-04 10:31:46 +00:00
rubidium
a8c4efcff4 (svn r23101) -Codechange: remove pointless multiplications by TILE_HEIGHT from the station/object building code 2011-11-04 10:31:13 +00:00
rubidium
1dc685aeea (svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code 2011-11-04 10:30:10 +00:00
rubidium
0b6dbaf664 (svn r23099) -Codechange: remove pointless multiplications by TILE_HEIGHT for the water/river code 2011-11-04 10:29:26 +00:00
rubidium
f0f17a77ba (svn r23098) -Codechange: remove pointless multiplications by TILE_HEIGHT from the tunnel code 2011-11-04 10:28:31 +00:00
rubidium
d0689c2924 (svn r23097) -Codechange: remove pointless multiplications by TILE_HEIGHT from the bridge code 2011-11-04 10:28:20 +00:00
rubidium
69162621d8 (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
b167c0a396 (svn r23095) -Codechange: remove useless divisions/multiplications by TILE_HEIGHT for the AI API code 2011-11-04 10:25:33 +00:00
rubidium
ecbc56a677 (svn r23094) -Codechange: add a default NULL to GetFoundationSlope and use it 2011-11-04 10:23:48 +00:00
rubidium
2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 2011-11-04 10:22:27 +00:00
rubidium
a36551dbb4 (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
7757a2ed40 (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
47203dbeb5 (svn r23090) -Codechange: use map accessors instead of directly accessing the map (mhl) 2011-11-04 06:05:11 +00:00
michi_cc
3f853e7a56 (svn r23089) -Add: Allow specifying refits for go-to station orders. 2011-11-04 00:38:59 +00:00
michi_cc
5ee765b2b2 (svn r23088) -Change: Extend the train order GUI with space for a forth button. 2011-11-04 00:38:56 +00:00
michi_cc
f200ffa90c (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
b9841bba81 (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
2886bb1df3 (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
47c5d30b5d (svn r23084) -Codechange: get rid of a redundant variable 2011-11-03 22:49:03 +00:00
yexo
e98be8ed24 (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
07cb2fd9a8 (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
0ded3f5904 (svn r23081) -Update from WebTranslator v3.0:
maltese - 1 changes by kelinu
2011-11-02 18:45:03 +00:00
frosch
bbc3409942 (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
e802dc66b9 (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
a95e7982f0 (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
1d1c9f44a1 (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
be5fffd133 (svn r23076) -Codechange: Separate code for NewGRF and default refit masks more strictly. 2011-11-01 00:26:22 +00:00
frosch
acc3c75951 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 2011-11-01 00:23:41 +00:00
frosch
72cd855978 (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 2011-11-01 00:21:08 +00:00
frosch
c366e0d45f (svn r23073) -Update: Add another generated file to .hgignore. 2011-11-01 00:19:38 +00:00
michi_cc
e094d7db62 (svn r23072) -Feature: [NewGRF] House callback 0x148. 2011-10-31 22:31:40 +00:00
michi_cc
f66cd97776 (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
e7f7a749e8 (svn r23070) -Add: [NewGRF] House variable 0x64. 2011-10-31 22:31:31 +00:00
translators
6d32787dfc (svn r23069) -Update from WebTranslator v3.0:
tamil - 54 changes by aswn
2011-10-31 18:45:05 +00:00
michi_cc
a6713244df (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
c6b2145da6 (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
a561dadb49 (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
433f74edd9 (svn r23065) -Add: -q option to read a savegame, write some general info and exit 2011-10-30 13:47:45 +00:00
yexo
bd6d490987 (svn r23064) -Fix (r23062): incrementing hexadecimal numbers is hard... 2011-10-29 21:00:11 +00:00
yexo
307ca24427 (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
8732e328c4 (svn r23062) -Update from WebTranslator v3.0:
tamil - 236 changes by aswn
2011-10-29 17:45:04 +00:00
translators
42f3aa66ad (svn r23060) -Update from WebTranslator v3.0:
tamil - 124 changes by aswn
2011-10-28 17:45:03 +00:00
yexo
481b1191ef (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
a9a095c4b0 (svn r23058) -Update from WebTranslator v3.0:
tamil - 1 changes by aswn
2011-10-27 17:45:04 +00:00
frosch
8b8d4e32b8 (svn r23057) -Fix: [NoAI] AIOrder::GetOrderCount() did not hide implicit orders. 2011-10-25 19:21:36 +00:00
rubidium
c3427b0e56 (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
cadaa0a8b6 (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
3eddb9c23f (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