Commit Graph

12133 Commits

Author SHA1 Message Date
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
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
translators 3e5a758390 (svn r23048) -Update from WebTranslator v3.0:
basque - 29 changes by HerrBasque
japanese - 72 changes by nex259
2011-10-21 17:45:09 +00:00
truebrain a4809b0b98 (svn r23047) -Documentation: silly typo in comment 2011-10-21 14:53:21 +00:00
yexo 46321ac310 (svn r23045) -Change: copy 6 registers to newgrf textstack after cb23 instead of 4 2011-10-20 19:02:13 +00:00
yexo cbbea5f521 (svn r23044) -Codechange: reorder parameter order so we can make use of the default=0 more often 2011-10-20 16:53:34 +00:00
yexo ffa47a563b (svn r23043) -Fix: allow the use of cases only for those cases where strgen allows them and reset the case_index properly after {DATE} and {DATE_LONG} codes 2011-10-20 16:52:57 +00:00
yexo 42e40a2ab0 (svn r23042) -Codechange: make case_index an explicit parameter of GetStringWithArgs instead of hiding it in the stringid parameter 2011-10-20 16:51:54 +00:00
yexo ac58a850fd (svn r23041) -Codechange: rename slightly unclear parameter name 2011-10-20 16:50:57 +00:00
yexo d8a80adf0e (svn r23040) -Add: [NewGRF] allow use of newgrf textstack during callback 23 2011-10-20 16:49:30 +00:00
peter1138 e3b99e3415 (svn r23039) -Fix: Replace e^ and w^ with ê and ŵ respectively. 2011-10-20 06:41:47 +00:00
peter1138 f0ef9a09ff (svn r23038) -Fix: Check that the selected font size is valid the font face in use and choose the nearest size to that selected if not. Font metrics should then just work. 2011-10-18 17:57:42 +00:00
translators 7f90fcb5e6 (svn r23037) -Update from WebTranslator v3.0:
italian - 3 changes by Snail_
2011-10-18 17:45:07 +00:00
yexo 743050a9e0 (svn r23036) -Fix (r22970): swapped parameters resulted in wrong vehicle names 2011-10-17 20:28:56 +00:00
rubidium 99ed5eb7c5 (svn r23035) -Fix (r23034): compile failure 2011-10-16 19:59:07 +00:00
rubidium 0656660f22 (svn r23034) -Fix: make sure the custom playlists are 0 terminated 2011-10-16 19:56:47 +00:00
rubidium f04746a9ff (svn r23033) -Fix [FS#4776]: the last custom playlist items went lost when the files in the .obm are not contiguous 2011-10-16 19:53:02 +00:00
planetmaker a78f38fdc0 (svn r23032) -Fix (r14224, r22419): Palette conversion windows to DOS for light house / stadium animated colour was mixed up 2011-10-16 11:48:11 +00:00
rubidium de27205e6c (svn r23031) -Fix [FS#4804]: for the admin "bots" there was no distinction between bankruptcy and manual removal of companies even though the API suggested that 2011-10-15 20:42:32 +00:00
rubidium 16e1314f58 (svn r23030) -Fix [FS#4796]: always show a chat message and send an admin packet when a new company is made 2011-10-15 16:45:18 +00:00
yexo 47aaf41d40 (svn r23029) -Fix: [NewGRF] support for cases in strings was broken 2011-10-14 16:51:30 +00:00
yexo 1312c35bb6 (svn r23028) -Fix: when using a gender choice list there was still a value popped twice from the newgrf textstack 2011-10-14 10:54:51 +00:00
yexo bac8ce6b41 (svn r23027) -Fix: in some cases NewGRF string arguments were popped twice from the newgrf textstack 2011-10-12 19:25:52 +00:00
translators 560b527f6f (svn r23026) -Update from WebTranslator v3.0:
esperanto - 4 changes by Ailanto
latvian - 53 changes by Parastais
2011-10-12 17:45:11 +00:00
peter1138 2cfd47a09b (svn r23025) -Codechange: Support resized company colour icon in company key window. 2011-10-12 07:22:26 +00:00
peter1138 635ccea95d (svn r23024) -Codechange: Vertically centre text within a dropdown control. 2011-10-11 19:05:54 +00:00
translators 50477b61b2 (svn r23023) -Update from WebTranslator v3.0:
maltese - 42 changes by rkaptu
welsh - 8 changes by kazzie
2011-10-11 17:45:09 +00:00
peter1138 279c651a4d (svn r23022) -Codechange: Support resized checkbox and square icons in company colour selection window. 2011-10-11 17:32:17 +00:00
peter1138 b958fa26ae (svn r23021) -Codechange: Support resized square and warning icons in NewGRF selection window. 2011-10-11 16:58:44 +00:00
peter1138 b0b93cd4a7 (svn r23020) -Codechange: Vertically centre caption text if the caption height is taller than the text. 2011-10-11 13:22:31 +00:00
peter1138 e11c39b60b (svn r23019) -Codechange: Support resized company colour icon in dropdown lists that use it. 2011-10-11 13:18:52 +00:00
peter1138 30d9de9db5 (svn r23018) -Fix (r14004): Pass bottom of dropdown item rather than bottom of dropdown window. 2011-10-11 13:13:20 +00:00
peter1138 50d1541270 (svn r23017) -Codechange: Add support for resized scrollbars. 2011-10-11 08:07:47 +00:00
peter1138 719f6618d7 (svn r23016) -Change: Disable palette animation for pixels with alpha, as the alpha and previous colour information will be lost when the palette is animated. 2011-10-11 07:13:36 +00:00
translators a90e577485 (svn r23015) -Update from WebTranslator v3.0:
persian - 2 changes by Peymanpn
brazilian_portuguese - 3 changes by Rubidium
slovak - 29 changes by klingacik
welsh - 25 changes by kazzie
2011-10-10 17:45:19 +00:00
translators 66c5a63e6b (svn r23014) -Update from WebTranslator v3.0:
welsh - 3 changes by kazzie
2011-10-09 17:45:07 +00:00
frosch 88f8457b83 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 2011-10-09 11:27:54 +00:00
planetmaker 7de0b33086 (svn r23012) -Fix [FS#4798]: AI backlog was to short to fully display the backtrace of some AI crashes (Kogut) 2011-10-07 18:49:02 +00:00
planetmaker 74f6813a55 (svn r23011) -Fix [FS#4791]: When the last used server is deleted from the list also clear the last used server if it is the same (monoid) 2011-10-07 08:17:47 +00:00
planetmaker 765588f699 (svn r23010) -Add [FS#4797]: Support company colour for the airports' jetways (zeroeight) 2011-10-07 07:56:30 +00:00
peter1138 8a41530585 (svn r23009) -Change: Improve appearance of antialiased text with shadow. 2011-10-07 07:48:59 +00:00
frosch ca1df3ddab (svn r23008) -Add: Palette detection and conversion for the M part of 32bpp sprites. 2011-10-06 19:17:49 +00:00
translators 7762bceadb (svn r23007) -Update from WebTranslator v3.0:
welsh - 52 changes by kazzie
2011-10-06 17:45:06 +00:00
translators 32c5e8b9e5 (svn r23006) -Update from WebTranslator v3.0:
latvian - 4 changes by Parastais
persian - 20 changes by Peymanpn
portuguese - 1 changes by JayCity
2011-10-05 17:45:14 +00:00
planetmaker 824f17215e (svn r23005) -Fix (r23004): Of course there's still the 16-sprite version for shore tiles... we should continue to handle it. 2011-10-05 17:39:12 +00:00
planetmaker 162b98faa5 (svn r23004) -Feature [FS#4795]: Allow to use offsets for all types of action5 except sea shores 2011-10-05 17:07:43 +00:00
michi_cc 8c4c616cfe (svn r23003) -Fix (r22999): Missing semicolon. 2011-10-04 22:12:43 +00:00
michi_cc 19f351c589 (svn r23002) -Add: Extend palette information in the NewGRF GUI with the 32 bpp state. 2011-10-04 21:35:57 +00:00
michi_cc 71bd681d87 (svn r23001) -Feature: [NewGRF] Automatically switch to a 32 bpp blitter on NewGRF indication. 2011-10-04 21:35:52 +00:00
michi_cc c575b5bbd7 (svn r23000) -Feature: Base graphics sets can now specify a preferred blitter which OpenTTD uses to decide which blitter to load. 2011-10-04 21:35:47 +00:00
michi_cc 6dbb050a32 (svn r22999) -Codechange: Allow changing the blitter during the running game. 2011-10-04 21:35:40 +00:00
michi_cc 12e28de818 (svn r22998) -Add [FS#2521]: [NewGRF] Act2 var 0x62 to get curvature/position difference to the n-th vehicle in vehicle chain. 2011-10-04 21:35:35 +00:00
michi_cc 3cb1dcf31c (svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2. 2011-10-04 21:35:29 +00:00
yexo 655cee276c (svn r22996) -Fix: make sure temporary storage is cleared before test and exec runs for DoCommands so NewGRF callbacks can't change the result between the runs 2011-10-04 20:36:40 +00:00
yexo 534bff1d19 (svn r22994) -Fix [FS#4775]: tile was cleared before the object-placement callback was run, resulting in possible differences in test and exec run 2011-10-04 20:18:12 +00:00
translators a4fb905335 (svn r22990) -Update from WebTranslator v3.0:
latvian - 38 changes by Parastais
malay - 32 changes by rionix88
2011-10-04 17:45:11 +00:00
truebrain 9528befe52 (svn r22989) -Fix: AIController uses protected members of AIObject, so make them friends (instead of doing it implicit via AIInstance). This fixes all compile errors with clang-2.9 2011-10-04 15:21:07 +00:00
rubidium f5caf07ee1 (svn r22988) -Fix: don't return ERR_UNKNOWN when the vehicle would become too long 2011-10-03 20:21:56 +00:00
translators 83e8f8bdd3 (svn r22987) -Update from WebTranslator v3.0:
latvian - 54 changes by Parastais
welsh - 122 changes by kazzie
2011-10-03 17:45:15 +00:00
frosch d071eefc54 (svn r22985) -Feature: Display autoreplace status in group GUI. 2011-10-03 17:26:37 +00:00
frosch 23a2f23eb3 (svn r22984) -Feature: Display profit icons for groups in the group GUI. 2011-10-03 17:25:44 +00:00
frosch d6e6e8a9d4 (svn r22983) -Feature: Display the number of vehicles in the group GUI also for the ALL and DEFAULT groups. 2011-10-03 17:25:03 +00:00
frosch 1a12008fcf (svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead. 2011-10-03 17:24:31 +00:00
frosch dd74536bef (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 2011-10-03 17:23:41 +00:00
frosch 5be8f73204 (svn r22980) -Add: GroupStatistics for DEFAULT_GROUP. 2011-10-03 17:22:56 +00:00