Commit Graph

18302 Commits

Author SHA1 Message Date
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