frosch
8a2342a5e6
(svn r23156) -Change: [NewGRF] Clamp height in aircraft variable 44.
2011-11-08 17:29:21 +00:00
frosch
dd3e6d3e44
(svn r23155) -Change: [NewGRF v8] Use heightlevel units in var 8A of callback 28.
2011-11-08 17:29:11 +00:00
frosch
8f4c6d42f9
(svn r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info variables. (rubidium)
2011-11-08 17:29:01 +00:00
frosch
5aaecae6e2
(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.
2011-11-08 17:28:52 +00:00
frosch
0f28b20a73
(svn r23152) -Change: [NewGRF v8] Snow line height table uses values between 0x00 and 0xFF independent of number of height levels.
2011-11-08 17:28:42 +00:00
frosch
7d4568361c
(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 instead.
2011-11-08 17:28:05 +00:00
frosch
8dcbd673cf
(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 instead.
2011-11-08 17:27:55 +00:00
frosch
c2cf26b451
(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage.
2011-11-08 17:27:46 +00:00
frosch
52774235eb
(svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness.
2011-11-08 17:27:13 +00:00
frosch
30874b5e81
(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean callbacks, and check the results for validity.
2011-11-08 17:26:49 +00:00
frosch
b98c7763de
(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18.
2011-11-08 17:26:13 +00:00
frosch
b374b92bfb
(svn r23145) -Change: [NewGRF v8] Determine the 'first' refittable cargo of vehicles using the cargo ordering from the cargo translation table.
2011-11-08 17:25:51 +00:00
frosch
48f75a6a8d
(svn r23144) -Change: [NewGRF v8] Consider the 'default cargotype' properties as indices into the cargo translation table.
2011-11-08 17:25:42 +00:00
frosch
449d679230
(svn r23143) -Change: [NewGRF v8] Return the translated cargobit in vehicle var 42.
2011-11-08 17:25:32 +00:00
frosch
d8f8909f85
(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks returning D0xx texts.
2011-11-08 17:24:43 +00:00
frosch
cd029465e1
(svn r23141) -Change: [NewGRF v8] Invert result bit 10 of callbacks 149 and 157 to make them consistent with other slope check callbacks. (michi_cc)
2011-11-08 17:24:31 +00:00
frosch
56e5144f71
(svn r23140) -Add: ErrorUnknownCallbackResult()
2011-11-08 17:24:15 +00:00
frosch
ae11548b4e
(svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks.
2011-11-08 17:24:01 +00:00
frosch
1ad7239247
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
2011-11-08 17:23:30 +00:00
frosch
f97fa89f1a
(svn r23137) -Change: [NewGRF v8] New result format for callback 16.
2011-11-08 17:22:49 +00:00
frosch
e08a227b53
(svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??.
2011-11-08 17:22:19 +00:00
yexo
7a3e362763
(svn r23135) -Fix (r23133): always compile before commit
2011-11-08 15:53:32 +00:00
yexo
baf11cf401
(svn r23134) -Add [FS#3799]: [NoAI] AICargoList_StationAccepting
2011-11-08 15:44:53 +00:00
yexo
b1d49f72dc
(svn r23133) -Fix [FS#4823]: AIOrder didn't handle implicit orders correctly in all cases
2011-11-08 15:43:34 +00:00
yexo
80e5d13f25
(svn r23132) -Fix: when any keys on te on-screen keyboard were pressed the text cursor disappeared
2011-11-08 15:10:39 +00:00
yexo
dc1fd2dbe6
(svn r23131) -Fix (r16165): AIOrder::IsCurrentOrderPartOfOrderList return false for valid vehicles and crashed for invalid ones
2011-11-08 15:00:55 +00:00
yexo
d5539f76d3
(svn r23130) -Change [FS#4825]: open the query string window centered as it (almost) always requires your attention
2011-11-08 12:16:17 +00:00
michi_cc
fe574b7e0c
(svn r23129) -Add: [NewGRF] Property for the rail type name.
2011-11-07 19:35:02 +00:00
translators
58b75963dd
(svn r23128) -Update from WebTranslator v3.0:
...
vietnamese - 14 changes by nglekhoi
2011-11-07 18:45:07 +00:00
michi_cc
a58b975fd0
(svn r23127) -Fix [FS#4819] (r23086): Don't crash when refitting default vehicles.
2011-11-06 22:14:55 +00:00
translators
09c10af480
(svn r23126) -Update from WebTranslator v3.0:
...
belarusian - 17 changes by Wowanxm
norwegian_bokmal - 24 changes by eloekset
polish - 17 changes by nouwak
spanish - 17 changes by Terkhen
vietnamese - 17 changes by nglekhoi
welsh - 18 changes by kazzie
2011-11-06 18:45:35 +00:00
frosch
f6ff2a3c15
(svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88)
2011-11-06 15:54:55 +00:00
michi_cc
1b66101bd3
(svn r23124) -Change: [NewGRF] Interpret the result of the refit cost callback as a signed value.
2011-11-06 15:33:23 +00:00
rubidium
1f823f89a1
(svn r23123) -Fix [FS#4790] (r22792): variable was initialised at the wrong moment making things with the cursor go wrong
2011-11-06 09:37:26 +00:00
michi_cc
18d1345d1c
(svn r23122) -Fix (23120): Silence GCC warning.
2011-11-05 22:41:04 +00:00
translators
6292bc3ce4
(svn r23121) -Update from WebTranslator v3.0:
...
italian - 18 changes by lorenzodv
norwegian_bokmal - 90 changes by eloekset
norwegian_nynorsk - 1 changes by eloekset
serbian - 17 changes by etran
tamil - 15 changes by aswn
2011-11-05 18:45:34 +00:00
michi_cc
a22b4f1f91
(svn r23120) -Feature: [NoAI] Support for refit orders.
2011-11-05 15:31:21 +00:00
michi_cc
6a2735d24e
(svn r23119) -Fix: [Win32] Don't show a crash/assertion message box for a GUI-less video driver.
2011-11-04 23:47:00 +00:00
rubidium
65d0d19b16
(svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining operations for the current tick
2011-11-04 23:20:14 +00:00
yexo
02913f40b0
(svn r23117) -Fix: [NoAI] calling require() to include a file gave you 100.000 opcodes for free
2011-11-04 23:14:23 +00:00
michi_cc
3e016e4254
(svn r23116) -Fix (r23114): Ambient sound effect callback was called for unsupported tile types.
2011-11-04 22:59:23 +00:00
rubidium
c8857d4679
(svn r23115) -Fix [FS#4813]: allow accessing the server's client info as well in the admin network (dihedral)
2011-11-04 22:32:21 +00:00
michi_cc
707b0f48e6
(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.
2011-11-04 21:05:08 +00:00
translators
a471a20491
(svn r23113) -Update from WebTranslator v3.0:
...
dutch - 17 changes by habell
english_US - 17 changes by Rubidium
finnish - 17 changes by jpx_
french - 17 changes by glx
german - 17 changes by planetmaker
lithuanian - 7 changes by Stabilitronas
2011-11-04 18:45:28 +00:00
michi_cc
a3e6e113fe
(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting.
2011-11-04 15:04:29 +00:00
michi_cc
ad2fdd8d6f
(svn r23111) -Fix: Keep subtype when automatically choosing the cargo for auto-refitting.
2011-11-04 15:04:24 +00:00
rubidium
9782b7bb0a
(svn r23110) -Codechange: let the flying altitude return ints are well
2011-11-04 13:40:59 +00:00
michi_cc
81f583de47
(svn r23109) -Fix: Subtract auto-refit costs from the vehicle profit.
2011-11-04 13:21:24 +00:00
rubidium
2a2c102b0b
(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables
2011-11-04 11:52:19 +00:00
rubidium
459c9523e8
(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well
2011-11-04 11:36:10 +00:00
rubidium
19eabdba2c
(svn r23106) -Codechange: pass int* to GetTileSlope and friends
2011-11-04 11:30:37 +00:00
rubidium
643c54d288
(svn r23105) -Fix (r23104): Kenobi visited me ;)
2011-11-04 11:29:11 +00:00
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
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