Commit Graph

10988 Commits

Author SHA1 Message Date
rubidium 091cc85a18 (svn r21635) -Change: simplify/reduce release preparations/changes 2010-12-25 15:41:12 +00:00
rubidium 2c4c6b4fe1 (svn r21634) -Codechange: apparantly the "broken" iconv interface is the new official interface, so update the variable/definition naming slightly as it's not broken just different from the earlier iconv interface 2010-12-25 12:49:36 +00:00
smatz d8b823142e (svn r21633) -Fix (r21616): newly created skip-to order was created at wrong place 2010-12-25 12:48:23 +00:00
smatz b5268dccbd (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 2010-12-25 12:47:05 +00:00
rubidium b323000253 (svn r21631) -Fix [FS#4325]: ships with the old pathfinder would easily show up as lost, even when it would eventually find a path. Now also the distance from the "end" of the pathfinding run to the destination is compared to the current distance to the destination; if the distance to the destination at the end of the pathfinder run is less than the current distance from the destination the ship won't be marked as lost. This means that the ships with the old pathfinder will less likely get marked as lost, but due to the design of the old ship pathfinder there "lostness" is merely a best guess. When you still get a lost message 2010-12-25 12:20:18 +00:00
translators 2ebd4c62bc (svn r21629) -Update from WebTranslator v3.0:
belarusian - 71 changes by KorneySan
czech - 56 changes by SmatZ
danish - 9 changes by Gummipalle
dutch - 61 changes by Hirundo
esperanto - 36 changes by Christopher
marathi - 188 changes by jaguarnac
portuguese - 15 changes by SupSuper
russian - 3 changes by KorneySan
ukrainian - 1 changes by Fixer
2010-12-24 18:45:31 +00:00
alberth 96906c1a45 (svn r21628) -Codechange: Remove local variables that just point to global _thd. 2010-12-24 17:51:46 +00:00
alberth 852e647bcc (svn r21627) -Codechange: Remove _place_proc global variable. 2010-12-24 15:08:19 +00:00
alberth 9a5cce382f (svn r21626) -Codechange: Remove more small static functions. 2010-12-24 15:06:58 +00:00
alberth 62f2771edd (svn r21625) -Codechange: Record last started highlight action, and use it in the callback methods. 2010-12-24 15:06:18 +00:00
alberth d28d469b7a (svn r21624) -Codechange: Remove many small static functions. 2010-12-24 15:04:33 +00:00
alberth d9405a0bcc (svn r21623) -Codechange: Remove _terraform_button_proc and _editor_terraform_button_proc arrays. 2010-12-24 15:03:19 +00:00
alberth 479d117c68 (svn r21622) -Doc: Clarify the documentation of highlighting constants somewhat. 2010-12-24 14:56:21 +00:00
alberth 9cdd8c6d48 (svn r21621) -Codechange: Only consider tile highlighting mode bits in tile selection functions. 2010-12-24 14:55:31 +00:00
alberth e930b9985d (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 2010-12-24 14:52:42 +00:00
alberth cdae336feb (svn r21619) -Fix [FS#4327]: Don't copy direction bits when restarting a rail selection. 2010-12-24 14:48:38 +00:00
alberth c5ce84267a (svn r21618) -Fix: Use correct 3 bit mask for directions. 2010-12-24 14:38:00 +00:00
smatz fffb8f89a4 (svn r21617) -Doc: refer to table/autorail.h, not autorail.h 2010-12-24 13:14:11 +00:00
smatz 889c8d3022 (svn r21616) -Change: do not highlight tile when selecting a vehicle to clone or an order to skip to 2010-12-24 13:13:28 +00:00
rubidium fae5d4370d (svn r21613) -Update: sync comments in the translation files with English for some recently untouched translations 2010-12-23 21:50:31 +00:00
smatz e4e6735cea (svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off 2010-12-23 20:25:55 +00:00
translators 7e65c65af9 (svn r21611) -Update from WebTranslator v3.0:
catalan - 147 changes by arnau
danish - 45 changes by Gummipalle
german - 1 changes by planetmaker
hungarian - 3 changes by IPG
indonesian - 4 changes by fanioz
korean - 1 changes by junho2813
brazilian_portuguese - 80 changes by Ic3cold
romanian - 7 changes by kkmic
russian - 1 changes by Lone_Wolf
slovenian - 56 changes by ntadej
2010-12-23 18:45:35 +00:00
alberth 802ec80c5d (svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing of areas. 2010-12-23 14:38:01 +00:00
alberth 90780fd25b (svn r21608) -Codechange: Move diagnonal rectangle dragging detection completely to tile highlighting. 2010-12-23 14:24:34 +00:00
alberth 1ba348914d (svn r21607) -Codechange: Be more robust against having extra bits in HighLightStyle vars. 2010-12-23 14:15:05 +00:00
rubidium e2a7ecbcae (svn r21605) -Fix [FS#4324]: crash due to cargo payments belonging to an non-existing company 2010-12-23 07:17:00 +00:00
frosch 256fe89b38 (svn r21604) -Add: Variable 7B for accessing 60+x variables while taking the parameter from the accumulator. 2010-12-22 22:03:57 +00:00
rubidium e9a595bda0 (svn r21603) -Codechange: no need to assign something to a variable and then test it for NULL when you're never using it again 2010-12-22 21:19:39 +00:00
rubidium a38a1e7b0d (svn r21602) -Codechange: split actual adding/removing of orders to/from a vehicle's order list from the validation of those (user) commands. Based on patch by fonsinchen 2010-12-22 21:16:34 +00:00
rubidium fba9670a62 (svn r21601) -Fix [FS#4323]: company league table used stats from two quarters ago instead of last quarter 2010-12-22 19:52:23 +00:00
alberth 08c6b99294 (svn r21600) -Codechange: Remove new_drawstyle and new_diagonal variables from the _thd structure. 2010-12-22 19:24:36 +00:00
translators 1378bdad85 (svn r21599) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
czech - 1 changes by marek995
dutch - 21 changes by habell
italian - 57 changes by lorenzodv
polish - 3 changes by voythas
2010-12-22 18:45:18 +00:00
frosch c4ad5d6fea (svn r21598) -Fix (r3139, r21236, r21249)[FS#4275]: The default visual effect only depends on properties of the Engine (wagon or not, tractiontype, ...), not whether it is used as articulated part, front engine or whatever in a specific consist. 2010-12-22 15:40:22 +00:00
frosch 4b2624de1d (svn r21597) -Fix (r21239): Also catch the case when callback 10 returns VE_DEFAULT. 2010-12-22 14:51:12 +00:00
frosch fbe653d4ef (svn r21596) -Codechange: Rename a misleading-named variable. 2010-12-22 14:38:24 +00:00
alberth 7303f7d199 (svn r21595) -Codechange: Some header files had their name changed, update the ifndef/define/endif lines. 2010-12-22 11:46:41 +00:00
alberth 67cd2cd6be (svn r21594) -Codechange: Whitespace fixes in ifndef/define lines. 2010-12-22 11:24:38 +00:00
alberth f65a9a5515 (svn r21593) -Codechange: endif comment correcttions. 2010-12-22 10:50:32 +00:00
alberth 366eaebc3e (svn r21592) -Codechange: Return unique values for placing a sign and land-info querying, store the callback information locally, and use it instead of the global _place_proc. 2010-12-21 22:00:08 +00:00
alberth a61cdd719d (svn r21591) -Codechange: Align case functions. 2010-12-21 21:54:16 +00:00
alberth 24aedc08da (svn r21590) -Codechange: All click handling functions of the main toolbar return CBF_NONE. 2010-12-21 21:48:31 +00:00
alberth 35a8e91d01 (svn r21589) -Codechange: Move PlaceLandBlockInfo() to the right file, introduce a ShowLandInfo() function. 2010-12-21 21:46:19 +00:00
translators 05e7e08430 (svn r21588) -Update from WebTranslator v3.0:
croatian - 56 changes by VoyagerOne
czech - 62 changes by SmatZ
english_US - 57 changes by Rubidium
finnish - 57 changes by USephiroth, jpx_
french - 57 changes by glx
german - 57 changes by planetmaker
hungarian - 54 changes by IPG
indonesian - 7 changes by fanioz
russian - 56 changes by Lone_Wolf
spanish - 57 changes by Terkhen
swedish - 142 changes by Zuu
2010-12-21 18:45:39 +00:00
alberth c0a57999a1 (svn r21587) -Codechange: Move simple callback functions into the switch. 2010-12-21 18:07:07 +00:00
alberth 718585f05e (svn r21586) -Codechange: Record the last started user action, and use that in the callback. 2010-12-21 18:06:23 +00:00
alberth 9784f12903 (svn r21585) -Codechange: Move the simple click functions into the switch. 2010-12-21 18:05:24 +00:00
alberth fbd725ed9a (svn r21584) -Codechange: Replace the _rail_build_button array by a switch. 2010-12-21 18:04:10 +00:00
terkhen b9f93a48e9 (svn r21583) -Fix (r21566): The new scrollbar was not ignored correctly for ships and aircrafts. 2010-12-21 17:29:00 +00:00
alberth a448dc24d9 (svn r21582) -Codechange: Simplify BuildRailClick_AutoSignals(). 2010-12-21 16:36:00 +00:00
alberth 35491b71fb (svn r21581) -Codechange: Fix indenting code style of a few multi-line statements. 2010-12-21 16:30:54 +00:00
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
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
rubidium 95041ad220 (svn r21529) -Doc: update comment after function name change (Krille) 2010-12-15 23:23:30 +00:00
smatz fb039534e2 (svn r21528) -Add: plural 'genders' for Czech translation 2010-12-15 23:05:00 +00:00
rubidium efa010c23f (svn r21527) -Fix (r21526, r21525): should ofcourse make sure I fix all wrong strings... 2010-12-15 22:50:44 +00:00
rubidium f929c8e2cd (svn r21526) -Fix: failure of WT3 to properly validate some strings... 2010-12-15 22:32:38 +00:00
translators 3e9c0c2b33 (svn r21525) -Update from WebTranslator v3.0:
croatian - 7 changes by VoyagerOne
czech - 3 changes by SmatZ
frisian - 19 changes by gjannema
greek - 6 changes by Gonik
hungarian - 5 changes by IPG
italian - 1 changes by lorenzodv
polish - 30 changes by nouwak
romanian - 12 changes by kkmic
spanish - 1 changes by Terkhen
2010-12-15 18:45:30 +00:00
michi_cc e744b97ec8 (svn r21524) -Fix [FS#4302]: Do not apply the last signal red pathfinder penalty when the signal is a path signal. 2010-12-15 14:33:24 +00:00
terkhen fc42e98226 (svn r21523) -Fix: Some windows were not updated correctly after a train acceleration model change. 2010-12-15 09:01:04 +00:00
planetmaker 832625bb0e (svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and quickdraw 2010-12-15 01:30:13 +00:00
terkhen 48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 2010-12-14 21:33:53 +00:00
terkhen a93944e765 (svn r21520) -Document: Complete the comments of GroundVehicleCache. 2010-12-14 21:31:45 +00:00
terkhen a4a9274177 (svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from a Vehicle. 2010-12-14 21:31:00 +00:00
terkhen 12c86a1391 (svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache. 2010-12-14 21:28:45 +00:00
terkhen d6959dcc6b (svn r21517) -Codechange: Add IsGroundVehicle function to the Engine class. 2010-12-14 21:27:30 +00:00
terkhen 79e2b3153d (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 2010-12-14 21:26:03 +00:00
terkhen 96b98b392a (svn r21515) -Codechange: Use cached_total_length where appropiate. 2010-12-14 21:24:51 +00:00
translators 91df711d61 (svn r21514) -Update from WebTranslator v3.0:
belarusian - 5 changes by KorneySan
croatian - 4 changes by VoyagerOne
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
italian - 4 changes by lorenzodv
russian - 5 changes by KorneySan
serbian - 5 changes by etran
2010-12-14 18:45:34 +00:00
rubidium b149fcd127 (svn r21513) -Feature [FS#532]: make the chat message timeout user configurable 2010-12-14 15:00:43 +00:00
rubidium e68efb9e71 (svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused 2010-12-14 14:57:51 +00:00
rubidium 4045429df6 (svn r21511) -Feature: vehicle lost message for ships 2010-12-13 21:56:40 +00:00
rubidium 6bc002ad74 (svn r21510) -Feature [FS#1956]: vehicle lost message for road vehicles 2010-12-13 21:56:25 +00:00
rubidium b05d2675fc (svn r21509) -Codechange: rename the rail pathfinders "path_not_found" parameter to "path_found" and remove the ! where the variables are set / read 2010-12-13 21:55:59 +00:00
rubidium 6d831906a3 (svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function 2010-12-13 21:55:06 +00:00
rubidium 55a0e31c44 (svn r21507) -Update: the other translations 2010-12-13 21:54:27 +00:00
rubidium 3cb75db0d4 (svn r21506) -Codechange: rename the train/vehicle lost warning strings to be more generic 2010-12-13 21:53:54 +00:00
rubidium e3b391249d (svn r21505) -Change: generalise the lost_train_warning setting to lost_vehicle_warning 2010-12-13 21:53:23 +00:00
rubidium 49a77e89c4 (svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags 2010-12-13 21:52:39 +00:00
translators a2b50b05c1 (svn r21503) -Update from WebTranslator v3.0:
belarusian - 8 changes by KorneySan
bulgarian - 155 changes by Wold
croatian - 2 changes by VoyagerOne
dutch - 7 changes by habell
english_US - 4 changes by Rubidium
finnish - 8 changes by USephiroth, jpx_
french - 5 changes by glx
italian - 4 changes by lorenzodv
malay - 4 changes by rionix88
polish - 7 changes by voythas
russian - 2 changes by KorneySan
spanish - 10 changes by Terkhen
2010-12-13 18:45:40 +00:00
rubidium d2c7f91cbb (svn r21502) -Change/Fix [FS#3991] (r150, r18402): before r18402 a train crash caused 2 "driver" deaths and a flooding 4 (added in r150). In r18402 the counting was merged and the flooding code was taken for counting drivers. Given those numbers were inconsistent (unlike for other vehicles) we better use the real original amount of driver deaths instead of the erroneous amount. 2010-12-13 18:26:09 +00:00
rubidium 20364bcefa (svn r21501) -Fix (rnotlongago): guess what was complaining this time? 2010-12-13 15:34:30 +00:00
rubidium 6892cc8a60 (svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. Based on patch by fonsinchen 2010-12-13 15:15:02 +00:00
rubidium b20e77be92 (svn r21499) -Add: diagonal tile iterator. Based on patch by fonsinchen 2010-12-13 15:13:05 +00:00
rubidium 652e262601 (svn r21498) -Codechange: make the measurement tooltip handle diagonal selection properly 2010-12-13 15:11:03 +00:00
rubidium 959308a243 (svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally 2010-12-13 15:09:59 +00:00
rubidium 2e9108afe9 (svn r21496) -Fix (r21494): ofcourse older GCCs (< 4.3) have something to complain about 2010-12-13 12:52:43 +00:00
rubidium 7ecb00547b (svn r21495) -Codechange: don't hide a local variable 2010-12-13 11:30:22 +00:00
rubidium a336aacb4f (svn r21494) -Codechange: split the tile iterator in two classes 2010-12-13 11:25:26 +00:00
rubidium b448b7c98d (svn r21493) -Codechange: don't use the full 32 bits of the level land command to tell whether to raise, lower or keep the level of the first selected tile 2010-12-13 11:21:53 +00:00
rubidium 542254e8ae (svn r21491) -Document: the tile highlight data struct 2010-12-12 23:17:44 +00:00
rubidium cdd35c6a51 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 2010-12-12 20:58:33 +00:00
rubidium e0351ab414 (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 2010-12-12 20:11:46 +00:00
rubidium 773b6136a9 (svn r21488) -Codechange: make use of TILE_AREA_LOOP in the tile list AI API 2010-12-12 18:47:08 +00:00
translators a1a0526aaf (svn r21487) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 1 changes by jpx_
french - 5 changes by glx
german - 4 changes by planetmaker
hungarian - 10 changes by IPG
italian - 1 changes by lorenzodv
russian - 6 changes by Lone_Wolf
serbian - 7 changes by etran
slovenian - 9 changes by ntadej
turkish - 13 changes by niw3
2010-12-12 18:45:35 +00:00
rubidium b5b8a7b5ed (svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well 2010-12-12 18:23:38 +00:00
rubidium 1123d4790f (svn r21485) -Codechange: use CircularTileSearch to find whether there's a transmitter nearby 2010-12-12 18:18:50 +00:00
rubidium 02451d8af6 (svn r21484) -Codechange: use TILE_AREA_LOOP in CommonRaiseLowerBigLand 2010-12-12 18:05:34 +00:00
rubidium 15b4941401 (svn r21483) -Codechange: make StationRect::ScanForStationTiles make use of TILE_AREA_LOOP. Making use of make makes me making use of my brain to determine whether I make use of tautology, or make use of pleonasm, or make use of both, or even make use of neither 2010-12-12 17:36:34 +00:00
rubidium 67e6ad2a4b (svn r21482) -Codechange: make landscape clearing make use of TILE_AREA_LOOP as well 2010-12-12 17:22:17 +00:00
rubidium a1d923700f (svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well 2010-12-12 17:21:49 +00:00
rubidium 90e247c84d (svn r21480) -Change [FS#4292]: make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused 2010-12-12 15:20:54 +00:00
frosch cd7b23b0f4 (svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper. 2010-12-12 14:51:26 +00:00
rubidium 15e07279dd (svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille 2010-12-12 14:46:42 +00:00
rubidium a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
frosch 5910bde583 (svn r21476) -Fix [FS#4299]: DC_FORCE_CLEAR_TILE should only add extra cost for clearing water for stuff which results in water after clearing. 2010-12-12 11:41:15 +00:00
rubidium 0575c8fec9 (svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL 2010-12-12 11:34:01 +00:00
rubidium d332c59a4c (svn r21474) -Fix: some MSVC code analysis warnings in strgen 2010-12-12 01:21:02 +00:00
rubidium 42dc2e63f2 (svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites 2010-12-11 23:14:35 +00:00
rubidium 9bc1e35625 (svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback. 2010-12-11 20:38:37 +00:00
rubidium 293ede7bdf (svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels 2010-12-11 19:49:44 +00:00
rubidium 7cf40e5d25 (svn r21470) -Codechange: add method to get the distance from the edge in a given direction 2010-12-11 19:48:31 +00:00
translators ae30f4d010 (svn r21469) -Update from WebTranslator v3.0:
basque - 32 changes by HerrBasque
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 6 changes by planetmaker
italian - 5 changes by lorenzodv
spanish - 5 changes by Terkhen
2010-12-11 18:45:23 +00:00
rubidium fe841c3d0b (svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height" 2010-12-11 18:28:34 +00:00
alberth 997551c599 (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 2010-12-11 15:14:28 +00:00
rubidium 23369337c1 (svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle. 2010-12-11 13:48:30 +00:00
rubidium fc70825905 (svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen) 2010-12-11 13:42:01 +00:00
planetmaker 2a62be547a (svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu 2010-12-11 13:38:35 +00:00
rubidium 71e3562f76 (svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and size aren't the same as when they're read. As a check was incorrect. 2010-12-11 13:34:23 +00:00
rubidium 0d32cd3cc8 (svn r21462) -Codechange [FS#3689]: don't do unnecessary cargo reservations in while loading/unloading vehicles. It is only needed when at least one vehicle is loading; all other times it is a waste of effort. Roughly halves the time it takes to perform loading/unloading of vehicles (fonsinchen) 2010-12-11 11:00:42 +00:00
rubidium 834f4f157a (svn r21461) -Feature(tte) [FS#3711]: make it more clear that you're stopping a shared order, and make it possible retain the order list upon unsharing (sbr) 2010-12-11 10:52:45 +00:00
rubidium b8c9931f75 (svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order 2010-12-11 10:10:25 +00:00
planetmaker 9336dccee6 (svn r21459) -Feature(tte) [FS#3217]: Hotkey Ctrl+W for returning to the main menu 2010-12-10 23:38:26 +00:00
rubidium 676a53fb40 (svn r21458) -Fix [FS#4180]: possible crash when news item gets removed at just the wrong moment 2010-12-10 22:39:01 +00:00
rubidium 8faa97c060 (svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror) 2010-12-10 22:32:53 +00:00
yexo fff4bdecd8 (svn r21456) -Fix: [NewGRF] make sure the parameter for house var 60 is the id of an original house 2010-12-10 22:18:16 +00:00
rubidium 77aa035e4a (svn r21455) -Feature [NewGRF]: selecting of different views of an object 2010-12-10 21:34:36 +00:00
rubidium 5d0da9492e (svn r21454) -Codechange: add support for object variable 48 2010-12-10 21:32:52 +00:00
rubidium cd6180a46d (svn r21453) -Codechange: add the view of an object to the savegame 2010-12-10 21:32:04 +00:00
rubidium fdeab92dc7 (svn r21452) -Codechange: read object property 17 (number of views) 2010-12-10 21:30:26 +00:00
rubidium c1efcb76ca (svn r21451) -Fix (r21449): make sure the matrix's child widget's size is updated with the right widget index 2010-12-10 20:05:20 +00:00
translators 84b4057342 (svn r21450) -Update from WebTranslator v3.0:
romanian - 14 changes by kkmic
ukrainian - 6 changes by Fixer
2010-12-10 18:47:31 +00:00
rubidium 8350642b26 (svn r21449) -Change: make the waypoint window make use the generic "matrix" widget 2010-12-10 17:47:40 +00:00
rubidium b91ae2483e (svn r21448) -Add: generic widget for creating a scrollable (one direction) and resizable (both directions) area with same sized widgets 2010-12-10 17:47:11 +00:00
rubidium 0848d92af1 (svn r21447) -Add: accessor function to get the direction of a scrollbar 2010-12-10 17:33:50 +00:00
yexo 91b043afbc (svn r21446) -Doc: doxygen comments for some functions in strings.cpp 2010-12-09 21:41:31 +00:00
yexo 74d608a67e (svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
Change: strgen no longer writes the type of a string for a gender choice list
2010-12-09 21:01:50 +00:00
yexo 475ac872c9 (svn r21444) -Codechange: compute the type of elements in the argv string array on the fly and compare it with the type set by strgen 2010-12-09 20:57:52 +00:00
translators 8a194a2b42 (svn r21443) -Update from WebTranslator v3.0:
croatian - 6 changes by VoyagerOne
english_US - 8 changes by Rubidium
german - 9 changes by planetmaker
hungarian - 1 changes by IPG
serbian - 6 changes by etran
2010-12-09 18:45:19 +00:00
rubidium ee4c152f71 (svn r21442) -Fix [FS#4293] (r21412): don't use the current company for awarding subsidies; it's not quite valid there 2010-12-09 15:19:43 +00:00
yexo 23d8ebba3b (svn r21441) -Codechange: check all accesses to the argv array so a bad NewGRF can 'only' trigger an assert but no longer cause an invalid memory read 2010-12-09 00:16:50 +00:00
yexo 12e0f28229 (svn r21440) -Codechange: pass a pointer to just past the end of the argv array around in FormatString and friends 2010-12-09 00:15:38 +00:00
translators 194d1faa8e (svn r21439) -Update from WebTranslator v3.0:
belarusian - 6 changes by KorneySan
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 7 changes by IPG
italian - 6 changes by lorenzodv
polish - 6 changes by voythas
russian - 6 changes by Lone_Wolf
slovenian - 6 changes by ntadej
spanish - 6 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2010-12-08 18:45:39 +00:00
rubidium f570285653 (svn r21438) -Fix (r21424): fix triggered an assertion when the build did support networking 2010-12-08 18:21:29 +00:00
rubidium 566174ecc0 (svn r21437) -Fix: Object newgrf debug data table was outdated 2010-12-08 17:51:57 +00:00
yexo ac0e83a7e2 (svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed 2010-12-08 13:44:01 +00:00
yexo 5c181fe556 (svn r21433) -Fix: [NewGRF] a newgrf with incomplete string codes at the end of a string could cause invalid memory reads 2010-12-07 22:34:30 +00:00
rubidium ec63b0cf28 (svn r21432) -Cleanup: remove the now obsolete strings as well 2010-12-07 21:14:00 +00:00
rubidium 00d3428edf (svn r21431) -Cleanup: remove the build-while-paused cheat 2010-12-07 21:13:34 +00:00
rubidium 5dbd80ff3c (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 2010-12-07 21:13:00 +00:00
rubidium 0c23b0b3a4 (svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands 2010-12-07 21:12:23 +00:00
rubidium 49162ab39b (svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting 2010-12-07 21:09:30 +00:00
rubidium e170b1d83e (svn r21427) -Add: helper function to determine whether a command may be executed 2010-12-07 21:08:35 +00:00
rubidium df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 2010-12-07 21:08:08 +00:00
rubidium b3eb3b96b9 (svn r21425) -Codechange: add "command types" to all commands 2010-12-07 21:05:27 +00:00
rubidium 0f2402306c (svn r21424) -Fix: CMD_CLEAR_ORDER_BACKUP might not get executed when the user pressed the shift key 2010-12-07 20:45:11 +00:00
rubidium 249d21d3de (svn r21423) -Codechange: replace some magic numbers by slightly less magic numbers 2010-12-07 20:40:50 +00:00
translators 933a4d4825 (svn r21422) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
estonian - 6 changes by Jaanus
italian - 1 changes by lorenzodv
brazilian_portuguese - 41 changes by Tucalipe
russian - 3 changes by KorneySan, Lone_Wolf
thai - 18 changes by kenny
2010-12-07 18:45:22 +00:00
translators 4b90c8b9e8 (svn r21421) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
catalan - 3 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 21 changes by habell
french - 1 changes by glx
irish - 2 changes by tem
korean - 1 changes by junho2813
polish - 2 changes by voythas
romanian - 7 changes by kneekoo
russian - 2 changes by KorneySan
serbian - 25 changes by etran
slovenian - 3 changes by ntadej
ukrainian - 2 changes by Fixer
vietnamese - 2 changes by myquartz, nglekhoi
2010-12-06 18:45:47 +00:00
rubidium 1dfd5c6405 (svn r21420) -Fix: admins were always given the stats of company 0 2010-12-06 14:55:47 +00:00
rubidium 54f3e04590 (svn r21418) -Fix: core.h needs config.h 2010-12-06 11:53:05 +00:00
rubidium 378e233023 (svn r21417) -Fix: ofcourse MSVC x64 has something to complain about 2010-12-05 22:43:56 +00:00
rubidium ea68039718 (svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes 2010-12-05 22:25:49 +00:00
rubidium 44d1c55347 (svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes 2010-12-05 22:25:36 +00:00
rubidium 5c9c3f1acf (svn r21414) -Codechange: limit town name by amount of characters, not bytes 2010-12-05 22:25:21 +00:00
rubidium 6e69b943d6 (svn r21413) -Codechange: limit sign name by amount of characters, not bytes 2010-12-05 22:25:08 +00:00
rubidium cf61c2f11f (svn r21412) -Codechange: limit company name by amount of characters, not bytes 2010-12-05 22:24:50 +00:00
rubidium 768da4b48f (svn r21411) -Codechange: limit group name by amount of characters, not bytes 2010-12-05 22:24:34 +00:00
rubidium ab9cc74ba5 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 2010-12-05 22:24:20 +00:00
rubidium 091263317e (svn r21409) -Codechange: limit depot name by amount of characters, not bytes 2010-12-05 22:24:04 +00:00
rubidium 9a18050646 (svn r21408) -Codechange: limit president name by amount of characters, not bytes 2010-12-05 22:23:50 +00:00
rubidium 66c7f00b60 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 2010-12-05 22:22:54 +00:00
rubidium bbaa262b0d (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
rubidium 9139a6c858 (svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed 2010-12-05 22:21:13 +00:00
rubidium 440a529701 (svn r21404) -Add: method for getting the length of an Utf8 string in characters 2010-12-05 22:17:25 +00:00
rubidium 7e9b132d04 (svn r21403) -Change: the maximum size of the string argument of a command 2010-12-05 22:17:25 +00:00
translators 1d96ac6ca3 (svn r21402) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
czech - 2 changes by SmatZ
finnish - 2 changes by jpx_
french - 2 changes by glx
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
romanian - 12 changes by kneekoo
spanish - 2 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-12-05 18:45:31 +00:00
rubidium 5f25cdbbd5 (svn r21401) -Fix: ofcourse MSVC x64 has something to complain about... 2010-12-05 15:08:41 +00:00
rubidium ff8a01fbd2 (svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit 2010-12-05 14:49:46 +00:00
rubidium 216e48cd07 (svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds. 2010-12-05 14:48:39 +00:00
rubidium 02b3bc57d5 (svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately 2010-12-05 14:45:52 +00:00
rubidium 948cffc930 (svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file 2010-12-05 14:44:31 +00:00
rubidium 69766049ce (svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter 2010-12-05 14:43:10 +00:00
rubidium 085c693289 (svn r21395) -Codechange: move the save and load filter's interface to a header 2010-12-05 14:41:34 +00:00
rubidium 5ff58155d1 (svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well 2010-12-05 14:37:54 +00:00
rubidium da76d2f46f (svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format" 2010-12-05 14:35:55 +00:00
rubidium 97434f0e06 (svn r21392) -Change: prepare the network protocol for getting the file size later in the download process 2010-12-05 14:34:19 +00:00
rubidium c8e8b0e0a0 (svn r21391) -Update (r21390): the string names in the translations 2010-12-05 14:33:20 +00:00
rubidium 98df56d032 (svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client 2010-12-05 14:32:13 +00:00
terkhen 77cb1b7e06 (svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window. 2010-12-04 22:54:11 +00:00
alberth fd2f1399d4 (svn r21388) -Feature [FS#4289]: Allow entering of the new year in a text box when cheating the year. 2010-12-04 21:51:02 +00:00
alberth 4a35dafcd2 (svn r21387) -Codechange: Add an enum for cheat numbers. 2010-12-04 21:38:42 +00:00
alberth 2baa9f2c5d (svn r21386) -Codechange: Use updated value to decide year to cheat to, instead of increment/decrement. 2010-12-04 21:36:36 +00:00
alberth fd1c95342e (svn r21385) -Codechange: Added a missing 'this' prefix, and some documentation to cheat gui code. 2010-12-04 21:25:24 +00:00
rubidium 6a54bf78c6 (svn r21384) -Fix: failure of WT3 to properly validate some string... 2010-12-04 18:48:11 +00:00
translators eae1457fbe (svn r21383) -Update from WebTranslator v3.0:
belarusian - 7 changes by KorneySan
czech - 1 changes by marek995
german - 1 changes by norbert79
russian - 6 changes by KorneySan
slovak - 1 changes by marek995
spanish - 2 changes by Terkhen
2010-12-04 18:45:22 +00:00
rubidium e5b456f289 (svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion 2010-12-04 13:04:19 +00:00
rubidium a0fb4c8a13 (svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun... 2010-12-04 10:08:32 +00:00
rubidium b7d2d79581 (svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place 2010-12-04 09:56:13 +00:00
rubidium bf7da9b3a8 (svn r21379) -Codechange: move the actual save code into a separate function 2010-12-04 09:54:38 +00:00
rubidium a7b9297d20 (svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class 2010-12-04 09:53:43 +00:00
rubidium 1d8d046823 (svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters 2010-12-04 09:52:52 +00:00
rubidium d1db18757d (svn r21376) -Codechange: generalise ClearMemoryDumper 2010-12-04 09:43:13 +00:00
rubidium 8d81e17acc (svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters 2010-12-04 09:09:29 +00:00