Commit Graph

16837 Commits

Author SHA1 Message Date
alberth 264acca2fa (svn r21580) -Codechange: Replace callback via pointer by a switch statement. 2010-12-21 16:27:50 +00:00
alberth 5a2bf89caf (svn r21579) -Codechange: Remove _build_air_button_proc and its functions to a switch statement, record the last started action. 2010-12-21 16:26:34 +00:00
planetmaker adc1760b0d (svn r21578) -Fix [FS#2585]: [OSX] A double mouse cursor was shown under certain circumstances (based on patch by matheweis) 2010-12-21 16:05:25 +00:00
planetmaker 30eef98ec0 (svn r21577) -Codechange: [OSX] Deduplicate code by moving the handling of the window class for screen drivers to a common class 2010-12-21 16:02:55 +00:00
planetmaker e38f96d609 (svn r21576) -Codechange: [OSX] Deduplicate code by moving the handling of the view for windowed screen drivers to a common class 2010-12-21 16:00:42 +00:00
planetmaker 26575ab8f8 (svn r21575) -Codechange: [OSX] Use the same class for the window delegate routines in windowed screen drivers 2010-12-21 15:57:55 +00:00
planetmaker 7ab04792c5 (svn r21574) -Codechange: [OSX] Move the variable declaration of the screen drivers to the generic class, deduplicating code 2010-12-21 15:56:02 +00:00
planetmaker 574e0830f1 (svn r21573) -Codechange: [OSX] Unify the naming of variables among different screen drivers a bit 2010-12-21 15:53:20 +00:00
planetmaker 0d3a0bb1c7 (svn r21572) -Codechange: [OSX] One palette is enough, we cannot use two colour depths at once 2010-12-21 15:48:43 +00:00
alberth b633ffaa1d (svn r21571) -Codechange: Having a break after a return is no good. 2010-12-21 15:23:54 +00:00
terkhen 884b44990a (svn r21570) -Add: Allow to select a vehicle and the following chain with a keyboard shortcut. 2010-12-21 14:01:44 +00:00
terkhen ea7c33ca6d (svn r21569) -Add: Don't close the refit window after refitting only a consist part. 2010-12-21 14:00:58 +00:00
terkhen 3e6ebc7158 (svn r21568) -Add: Show the selected consist part at the refit window. 2010-12-21 14:00:14 +00:00
terkhen f8c31319e9 (svn r21567) -Feature: Allow to refit only the selected part of a train consist. 2010-12-21 13:59:16 +00:00
terkhen 96f706fa83 (svn r21566) -Add: Draw current vehicle at the refit window. 2010-12-21 13:58:09 +00:00
terkhen a136200c39 (svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage(). 2010-12-21 13:56:52 +00:00
terkhen 5a124feb6d (svn r21564) -Fix: Avoid drawing road vehicles outside of their given space. 2010-12-21 13:56:07 +00:00
terkhen 759a596e0b (svn r21563) -Codechange: Add function to get the width of a vehicle. 2010-12-21 13:54:57 +00:00
terkhen 8fc48a79da (svn r21562) -Change: Add articulated parts of vehicles in a refit selection to that selection. 2010-12-21 13:53:19 +00:00
terkhen a1ff6859c5 (svn r21561) -Change: Allow to specify the number of vehicles to refit in the refit vehicle command. 2010-12-21 13:52:10 +00:00
terkhen d92f29b822 (svn r21560) -Codechange: Declare DrawVehicleImage in its header. 2010-12-21 13:50:31 +00:00
terkhen 53120a566c (svn r21559) -Add: Disable the refit button until a refit option is selected. 2010-12-21 13:49:42 +00:00
rubidium 0209b1253a (svn r21558) -Codechange: add the graphics set and its version to the screenshot metadata as well 2010-12-21 10:11:11 +00:00
rubidium c874040636 (svn r21557) -Change: close the query windows when changing the language as often the strings are partly translated, which causes trouble in some cases 2010-12-21 10:06:21 +00:00
rubidium ee87c91e05 (svn r21556) -Fix [FS#4320]: argt wasn't updated when argv was updated due to ARG_INDEX, so there was a mismatch between argt's offset and argv's offset causing trouble when getting the gender of a string 2010-12-21 10:04:40 +00:00
rubidium e1d62dc81b (svn r21555) -Fix [FS#4321]: strings for the query window weren't properly terminated to N characters anymore 2010-12-21 09:29:01 +00:00
rubidium d446fd6766 (svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs in the screenshot file 2010-12-20 22:54:15 +00:00
alberth 23e3766bfb (svn r21552) -Codechange: Move short callback functions into the switch. 2010-12-20 19:24:27 +00:00
alberth 896c4acda1 (svn r21551) -Codechange: Record the last started user action, and use that in the callback. 2010-12-20 19:23:07 +00:00
alberth 22273fb8e8 (svn r21550) -Codechange: Move the small static functions into the switch. 2010-12-20 19:21:50 +00:00
alberth 27d4a64020 (svn r21549) -Codechange: Unfold the _build_road_button_proc array into a switch. 2010-12-20 19:20:38 +00:00
alberth 1e07f74b1e (svn r21548) -Codechange: Code style, multi line statements should indent two tabs. 2010-12-20 19:19:23 +00:00
planetmaker 76658083f8 (svn r21547) -Add [FS#4318]: Tooltip describing the the behaviour of the shift key for several actions 2010-12-20 19:17:24 +00:00
translators a623ead9c9 (svn r21546) -Update from WebTranslator v3.0:
czech - 65 changes by SmatZ
indonesian - 22 changes by fanioz
lithuanian - 6 changes by BlinK_
2010-12-20 18:45:13 +00:00
alberth a1cfb14d92 (svn r21545) -Codechange: Replace the callback by another switch. 2010-12-20 13:19:59 +00:00
alberth eb99392966 (svn r21544) -Codechange: Fold the small static click functions into the switch. 2010-12-20 13:17:54 +00:00
alberth 1f9fe3999d (svn r21543) -Codechange: Remove _build_docks_button_proc array. 2010-12-20 13:16:22 +00:00
alberth 50faf52cfc (svn r21542) -Codechange (r14789): Handling a click at a tile once is enough. 2010-12-20 09:34:30 +00:00
smatz 79681051c8 (svn r21541) -Add: {DATE_SHORT} and {DATE_LONG} can now have cases 2010-12-19 20:15:32 +00:00
translators 3b46cf50b9 (svn r21540) -Update from WebTranslator v3.0:
bulgarian - 20 changes by Tvel
czech - 91 changes by SmatZ
finnish - 1 changes by USephiroth
hungarian - 90 changes by IPG
indonesian - 33 changes by fanioz
2010-12-19 18:45:20 +00:00
alberth 8626954fc3 (svn r21539) -Fix [FS#4315]: Show 'plant trees' button lowering of terraform toolbar. 2010-12-19 13:44:09 +00:00
smatz 5a6c9877cb (svn r21538) -Add: {INDUSTRY} can now have cases 2010-12-18 22:50:46 +00:00
planetmaker 3448853b55 (svn r21537) -Cleanup: Add a few sprinkles of coding style 2010-12-18 21:54:09 +00:00
translators 7ff64ba3fa (svn r21536) -Update from WebTranslator v3.0:
czech - 2 changes by SmatZ
indonesian - 15 changes by fanioz, prof
2010-12-18 18:45:10 +00:00
frosch 73252ea570 (svn r21535) -Fix (r11432)[FS#4312]: 2CC recolour sprites were the same for DOS and WIN palette, thus "dark green", "brown", "grey" and "white" were wrong for DOS, and recently for both. 2010-12-18 13:04:05 +00:00
translators 37f6847b56 (svn r21534) -Update from WebTranslator v3.0:
czech - 29 changes by SmatZ
danish - 2 changes by silentStatic
dutch - 75 changes by habell
english_US - 8 changes by Rubidium
finnish - 80 changes by USephiroth, jpx_
french - 14 changes by glx
german - 34 changes by planetmaker
indonesian - 22 changes by fanioz
italian - 64 changes by lorenzodv
russian - 22 changes by Lone_Wolf, MajestiC
serbian - 90 changes by etran
slovenian - 87 changes by ntadej
spanish - 7 changes by Terkhen
2010-12-17 18:45:43 +00:00
rubidium 29fc9b1d48 (svn r21533) -Codechange: replace some magic numbers with less magic constants 2010-12-16 23:24:30 +00:00
translators 01f924daad (svn r21532) -Update from WebTranslator v3.0:
croatian - 65 changes by VoyagerOne
czech - 128 changes by SmatZ, marek995
english_US - 84 changes by Rubidium
french - 71 changes by glx
frisian - 13 changes by gjannema
german - 63 changes by planetmaker
slovenian - 5 changes by ntadej
spanish - 81 changes by Terkhen
swedish - 3 changes by Zuu
ukrainian - 8 changes by Fixer
2010-12-16 18:45:33 +00:00
smatz 728220ec88 (svn r21531) -Fix: gcc 3.4 warning 2010-12-16 14:03:21 +00:00
smatz 92d54c1e96 (svn r21530) -Fix: remove trailing period from most of English strings 2010-12-15 23:43:39 +00:00