Commit Graph

9379 Commits

Author SHA1 Message Date
frosch 50bcc852f9 (svn r19890) -Codechange: Use real spritewidths for drawing town authority window. 2010-05-23 15:17:05 +00:00
alberth 58ddfd0fbb (svn r19889) -Add [FS#3705]: Add drag destination highlighting to order gui (sbr). 2010-05-23 15:06:44 +00:00
alberth 268bc7d571 (svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot gui (sbr). 2010-05-23 15:02:26 +00:00
alberth ae560aeb8b (svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr). 2010-05-23 14:53:39 +00:00
rubidium 75856967a0 (svn r19885) -Fix [FS#3761]: allow loading savegames from the console without specifying the ".sav" extension, i.e. make it consistent with saving savegames from the console 2010-05-23 12:21:22 +00:00
rubidium 45440063b5 (svn r19884) -Feature: translatable desktop shortcut comments 2010-05-22 19:59:37 +00:00
rubidium 5e4ec72ce6 (svn r19883) -Fix [FS#3812]: dropdowns did affect positioning of new windows because they were not yet removed when the new windows were positioned 2010-05-22 19:04:56 +00:00
translators eb5852f5f5 (svn r19882) -Update from WebTranslator v3.0:
traditional_chinese - 5 changes by josesun
croatian - 7 changes by VoyagerOne
finnish - 5 changes by jpx_
french - 5 changes by glx
greek - 32 changes by fumantsu
hungarian - 26 changes by IPG
indonesian - 2 changes by prof
russian - 5 changes by Lone_Wolf
slovenian - 9 changes by ntadej
spanish - 5 changes by Terkhen
vietnamese - 31 changes by nglekhoi
2010-05-22 17:45:37 +00:00
rubidium 6328429aac (svn r19881) -Fix [FS#3827]: pay for the rail/road when constructing tunnels and bridges 2010-05-22 14:12:48 +00:00
frosch 03cacb797a (svn r19880) -Fix: [NoAI] AIEngine::IsValidEngine() and AIEngine::IsBuildable() returned false positives. Especially wagons of unavailable railtypes were reported available. 2010-05-22 12:25:47 +00:00
frosch 557c3f7daa (svn r19879) -Codechange: Also hide invalid engines from purchase lists. 2010-05-22 11:53:54 +00:00
alberth 9f15e28460 (svn r19878) -Fix [FX#3851]: Default vehicle group texts were drawn one pixel too low (sbr). 2010-05-22 08:50:27 +00:00
frosch 393134ed69 (svn r19877) -Change: Name invalid engines, cargos and industries 'invalid', if the player removed the supplying NewGRFs. 2010-05-21 20:51:00 +00:00
smatz 0040e88b7f (svn r19876) -Fix (r14104): it was not possible to send all trains with common waypoint order to depot 2010-05-21 19:44:14 +00:00
rubidium e3df7caf18 (svn r19874) -Fix [FS#3845]: NetBSD compilation was still broken in some cases (Krille) 2010-05-21 15:56:19 +00:00
rubidium d8d37466af (svn r19873) -Fix [FS#3817]: if the (guessed initial) destination tile of a road stop wasn't a road stop but was a T-junction or turn, the road vehicles would jump around in circles 2010-05-21 15:53:02 +00:00
yexo a1b607a055 (svn r19872) -Codechange [FS#3826]: move the widget updates in the newgame gui to OnInvalidateData from OnPaint 2010-05-21 08:23:46 +00:00
yexo 9ed9aa9012 (svn r19871) -Fix [FS#3826]: update the landscape buttons in the main menu / newgame window correctly (planetmaker) 2010-05-21 06:59:45 +00:00
smatz 93233a9335 (svn r19870) -Codechange: silence some of GCC 3.3 warnings 2010-05-21 05:42:41 +00:00
rubidium 52b211f939 (svn r19869) -Fix [FS#3819]: when a connection gets lost and a game with AIs was loaded the client might crash due to the AIs not being loaded while the game loop is executed 2010-05-20 18:54:14 +00:00
translators 63a416cc59 (svn r19868) -Update from WebTranslator v3.0:
indonesian - 4 changes by prof
russian - 17 changes by Lone_Wolf, perk11
2010-05-20 17:45:10 +00:00
rubidium 9d29c54b03 (svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes. 2010-05-20 15:36:44 +00:00
rubidium 8d4bb2285c (svn r19866) -Change: use non breaking spaces as digit group separators in the Russian translation 2010-05-20 15:14:53 +00:00
rubidium dd743bcea1 (svn r19865) -Fix [FS#3830]: crash when changing locale settings from console due to strcpy-ing a string into a pointer 2010-05-20 15:14:10 +00:00
rubidium f1c1812e47 (svn r19864) -Fix: don't print a pointer as string for listing (a) setting(s) 2010-05-20 15:12:48 +00:00
rubidium f994b11e8c (svn r19863) -Fix: redraw the screen when changing the currency settings 2010-05-20 15:11:03 +00:00
rubidium 9440f9f4c4 (svn r19862) -Change: allow "" and " " as arguments meaning nothing and space for the in-game console 2010-05-20 15:10:33 +00:00
frosch e864701693 (svn r19861) -Fix (r19814): Silence a warning. 2010-05-19 18:38:18 +00:00
translators 18b3085246 (svn r19860) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
french - 9 changes by ElNounch
russian - 60 changes by Lone_Wolf, perk11
2010-05-19 17:45:12 +00:00
glx 45cb7fe55c (svn r19859) -Fix (r19853): preprocessor warning 2010-05-19 17:04:02 +00:00
rubidium 2de9e2d16b (svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect 2010-05-18 21:17:25 +00:00
frosch 354645cd0a (svn r19852) -Fix [FS#TT-MS]: Drawing fallback sprites for unavailable NewGRF waypoints failed. 2010-05-18 20:49:53 +00:00
translators c80c5464ae (svn r19851) -Update from WebTranslator v3.0:
traditional_chinese - 15 changes by josesun
dutch - 1 changes by habell
esperanto - 1 changes by kristjan
polish - 1 changes by silver_777
portuguese - 3 changes by JayCity
romanian - 4 changes by kkmic
russian - 1 changes by Lone_Wolf
swedish - 5 changes by Zuu
2010-05-18 17:45:27 +00:00
smatz 911061ac38 (svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h 2010-05-18 01:10:23 +00:00
alberth bee74bd82b (svn r19849) -Fix: Center sprite and text seperately in the newgrf gui active list. 2010-05-17 21:14:50 +00:00
alberth 255a3331bf (svn r19848) -Fix (r19837): Center the texts of the inactive newgrfs. 2010-05-17 20:49:41 +00:00
translators e1b8a0a740 (svn r19847) -Update from WebTranslator v3.0:
catalan - 5 changes by arnau
croatian - 4 changes by VoyagerOne
dutch - 66 changes by Hyronymus, habell
finnish - 4 changes by jpx_
french - 5 changes by glx
hungarian - 4 changes by IPG
indonesian - 23 changes by prof
italian - 20 changes by lorenzodv
norwegian_bokmal - 7 changes by mantaray
norwegian_nynorsk - 3 changes by mantaray
polish - 5 changes by xaxa, xine
russian - 3 changes by Lone_Wolf
serbian - 6 changes by etran
spanish - 4 changes by Terkhen
2010-05-17 17:45:56 +00:00
glx b291a8ecbb (svn r19846) -Fix (r19839): STR_NEWGRF_SETTINGS_SELECT_PRESET != STR_NEWGRF_FILTER_TITLE and do it for unfinished lang files too 2010-05-17 13:03:44 +00:00
alberth 255bb5bb1f (svn r19845) -Feature: Dynamically switch between 2 and 3 column NewGRF gui for improved user experience. 2010-05-16 19:19:51 +00:00
alberth 638cfe86e3 (svn r19844) -Fix: Move NWidgetBase::StoreSizePosition() to an include file, and use proper inline macro. 2010-05-16 19:17:02 +00:00
alberth b3be440d78 (svn r19843) -Codechange: Move ComputeMaxSize() to widget_type.h to make it globally accessible. 2010-05-16 19:13:31 +00:00
alberth a774a28662 (svn r19842) -Change: Adapt other languages too. 2010-05-16 19:11:54 +00:00
alberth 637ee45545 (svn r19841) -Feature: Setup NewGRFs from a single window. 2010-05-16 19:11:16 +00:00
alberth e49cb2d320 (svn r19840) -Add: Add 'rescan' functionality to the NewGRF window. 2010-05-16 19:06:40 +00:00
alberth 34ab8519b5 (svn r19839) -Change: Also copy the new filter string in the other languages. 2010-05-16 19:04:02 +00:00
alberth d233845370 (svn r19838) -Change: Add filter capability to the availables list. 2010-05-16 19:02:43 +00:00
alberth b7a8497ccd (svn r19837) -Change: Display list of available (non-active) grfs in the NewGRF window. 2010-05-16 18:58:13 +00:00
alberth 219ae56f8a (svn r19836) -Codechange: Move sprite palette selection code in NewGRF gui to its own method. 2010-05-16 18:52:11 +00:00
alberth 3271362413 (svn r19835) -Codechange: Extract grfident equality check to its own method. 2010-05-16 18:50:37 +00:00
alberth 9c3b9690fb (svn r19834) -Change: Replace matrix list widget in NewGRF gui by a panel with black background. 2010-05-16 18:47:08 +00:00
alberth 22b868f4d5 (svn r19833) -Change: Modify NewGRF window towards having combined lists, add captions. 2010-05-16 18:41:59 +00:00
alberth cf6e1165b5 (svn r19832) -Codechange: Rename variables list->actives, sel->active_sel. 2010-05-16 18:34:55 +00:00
alberth f0779f0163 (svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names. 2010-05-16 18:30:02 +00:00
alberth c4b29c5124 (svn r19830) -Codechange: Move variable declarations to their first use. 2010-05-16 18:25:05 +00:00
alberth 8b582edb38 (svn r19829) -Codechange: Extract assignment from the condition-check in the for statement. 2010-05-16 18:22:07 +00:00
rubidium d8b9cf482a (svn r19828) -Remove: broken strings from Italian (did hope the translator had fixed them by now) 2010-05-16 17:46:40 +00:00
translators c84ddb1ebd (svn r19827) -Update from WebTranslator v3.0:
catalan - 41 changes by arnau
dutch - 48 changes by Hyronymus
finnish - 4 changes by erani
russian - 7 changes by Lone_Wolf
slovenian - 17 changes by ntadej
vietnamese - 3 changes by nglekhoi
2010-05-16 17:45:21 +00:00
rubidium 4f5ab40e0b (svn r19826) -Add: extra gender to Italian 2010-05-16 14:15:50 +00:00
translators 105a97cd0e (svn r19825) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
korean - 13 changes by junho2813
norwegian_bokmal - 10 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
romanian - 18 changes by kkmic
russian - 11 changes by Lone_Wolf
2010-05-15 17:45:24 +00:00
rubidium 0e1861c3b8 (svn r19824) -Fix [FS#3837] (19799): aircraft would be heading to someone 2010-05-15 14:37:33 +00:00
alberth 3b8c4440c5 (svn r19823) -Fix: Ensure that both texts of the newgrf gui download button fit. 2010-05-15 08:44:10 +00:00
glx 895e3c312a (svn r19822) -Fix (r19814): missing semicolon 2010-05-14 20:29:26 +00:00
alberth 270b5fdaaf (svn r19821) -Fix (r19816): Minimap displayed a black screen instead of the upper edge of the map (reported by IPG). 2010-05-14 17:49:55 +00:00
translators e4e8ac471a (svn r19820) -Update from WebTranslator v3.0:
traditional_chinese - 78 changes by josesun
german - 17 changes by planetmaker
italian - 17 changes by lorenzodv
lithuanian - 28 changes by BlinK_
polish - 1 changes by silver_777
portuguese - 17 changes by ozulus
russian - 12 changes by Lone_Wolf
slovak - 144 changes by keso53
swedish - 36 changes by tool
vietnamese - 1 changes by nglekhoi
2010-05-14 17:45:38 +00:00
translators 9b7f9068b1 (svn r19819) -Update from WebTranslator v3.0:
croatian - 17 changes by VoyagerOne
esperanto - 1 changes by kristjan
finnish - 13 changes by jpx_
french - 23 changes by glx
hungarian - 22 changes by IPG
norwegian_bokmal - 13 changes by mantaray
norwegian_nynorsk - 13 changes by mantaray
polish - 17 changes by CrySec
russian - 20 changes by Lone_Wolf
serbian - 17 changes by etran
slovak - 17 changes by keso53
spanish - 17 changes by Terkhen
2010-05-13 17:45:44 +00:00
smatz 80fd67a314 (svn r19818) -Fix [FS#3784](r16004): kicking clients by IP didn't work 2010-05-13 16:00:50 +00:00
rubidium 241dd9a9f5 (svn r19817) -Fix: MSVC compile warnings 2010-05-13 12:42:56 +00:00
rubidium 548dd91ef0 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 2010-05-13 11:19:30 +00:00
smatz 28d25cadfc (svn r19815) -Cleanup: remove two unused variables 2010-05-13 11:07:04 +00:00
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
rubidium a2d6961ab3 (svn r19813) -Fix (r19807): initialising viewports kinda failed 2010-05-13 10:00:51 +00:00
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 2010-05-13 09:44:44 +00:00
rubidium 793b0f0736 (svn r19811) -Codechange: make the last bits from table/strings.h use static consts too instead of an unnamed enum 2010-05-13 09:12:52 +00:00
rubidium dc149021be (svn r19810) -Fix: [YAPF] Improperly formatted (global) constant 2010-05-13 09:11:27 +00:00
rubidium 2555522eab (svn r19809) -Codechange: make some unnamed network related enums/defines static const variables 2010-05-13 09:04:41 +00:00
rubidium 6fa962b867 (svn r19808) -Codechange: NetworkCalculateLag returned an uint, so keep it that way 2010-05-13 08:59:50 +00:00
rubidium 3118292b14 (svn r19807) -Codechange: instead of having an unnamed enum and passing it as an int, name the enum and pass that 2010-05-13 08:56:01 +00:00
smatz d568a4258b (svn r19806) -Codechange: silence one warning 2010-05-13 05:34:21 +00:00
rubidium 7e1808ce21 (svn r19804) -Fix (r19802): Compile before commit, or at least triple check :) 2010-05-12 21:39:56 +00:00
belugas 7d43793ec4 (svn r19803) -Fix(r19802): Compile before commit, or at least double check... 2010-05-12 21:07:31 +00:00
belugas e5a3900d37 (svn r19802) -Codechange: Replace some more magic numbers by corresponding constants 2010-05-12 20:59:39 +00:00
rubidium 1a5d7b34d8 (svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr 2010-05-12 20:50:10 +00:00
belugas e91165ef6e (svn r19800) -Codechange: Replace magic number by corresponding constant 2010-05-12 20:02:46 +00:00
rubidium 93ff7d78e1 (svn r19799) -Change: give depots an unique name in the same manner buoys and waypoints are named 2010-05-12 19:21:00 +00:00
rubidium 863ff6522b (svn r19798) -Codechange: generalise the waypoint naming method 2010-05-12 18:31:39 +00:00
rubidium 0d9281dde3 (svn r19797) -Cleanup: language files due to r19796 2010-05-12 18:20:53 +00:00
rubidium 5051ef80c6 (svn r19796) -Codechange: introduce and use a {DEPOT} string command 2010-05-12 18:19:36 +00:00
translators 007c9641a6 (svn r19795) -Update from WebTranslator v3.0:
galician - 5 changes by Drenghist
polish - 3 changes by silver_777
russian - 3 changes by
2010-05-12 17:45:13 +00:00
rubidium 99ecfe4061 (svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88) 2010-05-11 21:02:26 +00:00
rubidium fe71d4fc99 (svn r19791) -Change: use the typed FOR_EACH_SET_BIT for RoadTypes (adf88) 2010-05-11 21:01:57 +00:00
rubidium d2364c32ed (svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88) 2010-05-11 21:01:01 +00:00
rubidium 2c25f51281 (svn r19789) -Add [FS#3519]: a typed FOR_EACH_SET_BIT (adf88) 2010-05-11 20:59:54 +00:00
rubidium be504a6ef0 (svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter 2010-05-11 20:48:06 +00:00
glx 26bf9a13de (svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE 2010-05-11 20:44:58 +00:00
translators 1c3c7da1f2 (svn r19786) -Update from WebTranslator v3.0:
irish - 95 changes by tem
polish - 2 changes by xine
russian - 6 changes by Lone_Wolf
turkish - 3 changes by niw3
2010-05-11 17:45:15 +00:00
rubidium e594042fb7 (svn r19785) -Codechange: reorder/rework the checks for CheckNextTrainTile a bit, causing the whole function to be a few percent faster and hopefully better to understand 2010-05-11 14:16:16 +00:00
rubidium 38d60f4b47 (svn r19784) -Fix [FS#3770]: if a waypoint is immediately followed by a path signal a reservation would be made from that path signal before the waypoint is marked passed. As a result the order to go to the waypoint is used to reserve the path after the waypoint and as such trains get lost 2010-05-11 11:55:12 +00:00
translators 1cfddeeccf (svn r19783) -Update from WebTranslator v3.0:
polish - 5 changes by xine
russian - 24 changes by Lone_Wolf
2010-05-10 17:45:10 +00:00
peter1138 92042c6237 (svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative scope *action2 on an unbuilt engine. 2010-05-10 17:27:34 +00:00
rubidium a8fa3dd3ce (svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille) 2010-05-10 17:11:24 +00:00
rubidium 6d94dd10dd (svn r19780) -Fix [FS#3807]: make sure that when checking whether a path + filename are valid the whole string can be constructed within an array of length MAX_PATH. If not, the name is too long and is deemed invalid 2010-05-10 09:50:49 +00:00
rubidium 08919d2747 (svn r19779) -Change: add a return type to AppendPathSeparator and use that to determine whether we could append the path separator. If not, do not recurse into that directory as the path would exceed the maximum path length 2010-05-10 09:49:02 +00:00
rubidium 369dedca89 (svn r19778) -Change: use the value from PATH_MAX (POSIX) for MAX_PATH (Windows/OpenTTD) if it exists 2010-05-10 09:43:49 +00:00
rubidium 948beec597 (svn r19777) -Change: use the file scanner to find the .tars 2010-05-10 09:37:17 +00:00
rubidium 8a2fecbff5 (svn r19776) -Change: don't scan for tars in the script scanner; it has already happened. 2010-05-10 09:35:25 +00:00
smatz 3f961ca671 (svn r19775) -Fix: improper use of 'then' in few comments (ln) 2010-05-09 18:13:36 +00:00
translators 2eaca9e108 (svn r19774) -Update from WebTranslator v3.0:
czech - 33 changes by Hadez
korean - 3 changes by junho2813
portuguese - 3 changes by JayCity
russian - 24 changes by Lone_Wolf
slovenian - 3 changes by ntadej
vietnamese - 3 changes by nglekhoi
2010-05-09 17:45:22 +00:00
yexo 37928e29f7 (svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex) 2010-05-09 15:59:30 +00:00
yexo 96c1fd6173 (svn r19772) -Fix [FS#3818]: the break-on-log-message feature could trigger an assert (Zuu) 2010-05-09 15:17:09 +00:00
translators a53fb48149 (svn r19771) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
brazilian_portuguese - 3 changes by Tucalipe
russian - 1 changes by Lone_Wolf
slovak - 77 changes by keso53
swedish - 3 changes by Zuu
2010-05-08 17:45:19 +00:00
frosch 9ff8032c94 (svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend. 2010-05-08 17:33:04 +00:00
frosch 5b77a63ecf (svn r19769) -Fix [FS#3820]: MV_VOID tiles shall have no tropic zone. 2010-05-08 14:43:59 +00:00
smatz 173b56b895 (svn r19768) -Fix: half-desert tiles would never revert back to clear tiles 2010-05-08 14:36:56 +00:00
alberth 8d1d4267af (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 2010-05-07 20:39:00 +00:00
alberth d822b2969b (svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct. 2010-05-07 20:27:22 +00:00
alberth 3bb174f424 (svn r19765) -Codechange: Apply a bit of code style and a bit of comment shuffling to CalcHeightdiff. 2010-05-07 20:20:03 +00:00
translators fa0ca116fe (svn r19764) -Update from WebTranslator v3.0:
traditional_chinese - 9 changes by josesun
croatian - 3 changes by VoyagerOne
irish - 7 changes by tem
russian - 2 changes by Lone_Wolf
2010-05-07 17:45:14 +00:00
translators 279909e02f (svn r19763) -Update from WebTranslator v3.0:
dutch - 3 changes by habell
irish - 3 changes by tem
italian - 3 changes by lorenzodv
norwegian_bokmal - 3 changes by mantaray
norwegian_nynorsk - 3 changes by mantaray
russian - 5 changes by Lone_Wolf
spanish - 3 changes by Terkhen
2010-05-06 17:45:24 +00:00
translators 247a669473 (svn r19762) -Update from WebTranslator v3.0:
catalan - 3 changes by arnau
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 3 changes by planetmaker
greek - 16 changes by fumantsu
hebrew - 7 changes by dnd_man
hungarian - 3 changes by IPG, Petert
irish - 233 changes by tem
romanian - 3 changes by kkmic
russian - 7 changes by Lone_Wolf
serbian - 3 changes by etran
2010-05-05 17:45:37 +00:00
frosch cf0a20863f (svn r19761) -Fix: [NewGRF] Vehicle var 43 missed AI information in purchase list. 2010-05-05 16:55:43 +00:00
rubidium d031034789 (svn r19760) -Change: use the {HEIGHT} command for the smallmap legend 2010-05-04 22:12:09 +00:00
rubidium 32f473c7c1 (svn r19759) -Change: use the {HEIGHT} command for the measurement tool 2010-05-04 22:09:56 +00:00
rubidium b11dfa8cb8 (svn r19758) -Add: {HEIGHT} string command 2010-05-04 22:04:28 +00:00
translators 5db70ad649 (svn r19757) -Update from WebTranslator v3.0:
irish - 253 changes by tem
luxembourgish - 25 changes by Phreeze
portuguese - 1 changes by JayCity
2010-05-04 17:45:11 +00:00
smatz 00a52cc475 (svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance 2010-05-03 23:36:17 +00:00
frosch fc646a16a4 (svn r19755) -Fix: Blocked roadvehicles should first check whether they are still blocked before accelerating again, instead of continuous starting/stopping. 2010-05-03 19:55:03 +00:00
translators 809dd8a54c (svn r19754) -Update from WebTranslator v3.0:
luxembourgish - 3 changes by Phreeze
russian - 24 changes by Lone_Wolf
swedish - 3 changes by Zuu
2010-05-03 17:45:12 +00:00
rubidium 4c52a2cbd3 (svn r19753) -Fix [FS#3740]: try a bit harder to find a suitable font that can be loaded, i.e. while searching for a suitable font test whether you can open it and if not search further instead of always returning the first suitable font even when it can't be loaded 2010-05-03 00:00:34 +00:00
translators ce8fa45754 (svn r19752) -Update from WebTranslator v3.0:
galician - 41 changes by Condex
indonesian - 7 changes by adjayanto
irish - 29 changes by tem
norwegian_bokmal - 47 changes by mantaray
norwegian_nynorsk - 49 changes by mantaray
russian - 2 changes by Lone_Wolf
slovak - 30 changes by keso53
2010-05-02 17:45:23 +00:00
rubidium cc76834db6 (svn r19751) -Change [FS#3798]: make sure the chat area fits in the default window size; if you want it larger, you can always change/override it in the config file. 2010-05-02 10:18:42 +00:00
frosch 1716314fa5 (svn r19750) -Fix: Var 0x43 is not 'safe' during callbacks 22 and 38 either. 2010-05-01 19:04:40 +00:00
yexo cb61f5ac10 (svn r19749) -Fix: [NewGRF] possible divide-by-zero if a newgrf checked industry var 42 while the production level was 0 2010-05-01 18:58:50 +00:00
frosch eea1a772f2 (svn r19748) -Fix (r19743): Callback 22 and 38 are called with ind == NULL. 2010-05-01 17:53:25 +00:00
translators 50cbdfeed8 (svn r19747) -Update from WebTranslator v3.0:
galician - 22 changes by Condex
irish - 244 changes by tem
turkish - 25 changes by niw3
ukrainian - 2 changes by Madvin
2010-05-01 17:45:15 +00:00
frosch 68c1213efa (svn r19746) -Fix [FS#3675]: Do not recenter usually centered windows when resizing main window or changing language, if they have been moved/resized before. 2010-05-01 15:32:17 +00:00
frosch 7563432119 (svn r19745) -Fix: The GUI is controlled by _local_company, not _current_company. 2010-05-01 14:20:56 +00:00
frosch 910aade284 (svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds. 2010-05-01 13:09:49 +00:00
frosch 7795303227 (svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks. 2010-05-01 13:01:21 +00:00
translators 36850ba3e8 (svn r19740) -Update from WebTranslator v3.0:
traditional_chinese - 16 changes by josesun
hungarian - 26 changes by IPG
indonesian - 18 changes by prof
irish - 640 changes by tem
luxembourgish - 1 changes by Phreeze
2010-04-30 17:45:21 +00:00
rubidium ac9af8e1e1 (svn r19738) -Fix: MSVC 64 bits compile warnings 2010-04-29 18:28:24 +00:00
translators 247d1aa395 (svn r19737) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
irish - 424 changes by tem
maltese - 105 changes by kelinu, peter88823
polish - 14 changes by xaxa
romanian - 28 changes by kkmic
vietnamese - 2 changes by nglekhoi
2010-04-29 17:45:21 +00:00
frosch f6f092b5ee (svn r19736) -Fix [FS#3802]: Spritepicker still failed for 32bpp-anim blitter. 2010-04-28 19:19:20 +00:00
translators c695a9eebe (svn r19735) -Update from WebTranslator v3.0:
italian - 3 changes by lorenzodv
lithuanian - 6 changes by Devastator
luxembourgish - 3 changes by Phreeze
brazilian_portuguese - 26 changes by Tucalipe
russian - 4 changes by Lone_Wolf
slovak - 6 changes by JamesSVK
slovenian - 26 changes by ntadej
2010-04-28 17:45:25 +00:00
translators 70732686b9 (svn r19734) -Update from WebTranslator v3.0:
traditional_chinese - 10 changes by josesun
croatian - 3 changes by UnderwaterHesus, VoyagerOne
dutch - 2 changes by habell
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 3 changes by IPG
indonesian - 1 changes by prof
luxembourgish - 41 changes by Phreeze
maltese - 76 changes by peter88823
polish - 2 changes by silver_777
russian - 8 changes by Frukt, perk11
serbian - 2 changes by etran
spanish - 2 changes by Terkhen
2010-04-27 17:45:44 +00:00
frosch 8a9e1d4596 (svn r19733) -Change: Set var 60+x parameters in the inspect window per feature. 2010-04-27 17:32:10 +00:00
frosch 7579079874 (svn r19732) -Fix [FS#3802]: Spritepicker failed for 32bpp blitters due to pitch measured in pixels rather than bytes. 2010-04-27 17:29:40 +00:00
frosch 7b30f34ecf (svn r19731) -Add: Spritepicker to sprite alignment tool. 2010-04-26 20:35:27 +00:00
translators f4e677db80 (svn r19730) -Update from WebTranslator v3.0:
catalan - 12 changes by arnau
croatian - 23 changes by VoyagerOne
dutch - 26 changes by habell
french - 12 changes by glx
german - 23 changes by planetmaker
italian - 23 changes by lorenzodv
russian - 103 changes by Frukt, perk11
serbian - 12 changes by etran
swedish - 5 changes by Zuu
vietnamese - 6 changes by nglekhoi
2010-04-26 17:45:33 +00:00
terkhen 2e4e4e3147 (svn r19729) -Fix [FS#3793]: The company value graph crashed the game when displaying companies with a huge amount of money. 2010-04-26 17:40:03 +00:00
terkhen 0107562a86 (svn r19727) -Fix (r19720) [FS#3795]: Demolishing bridges or aqueducts caused a crash. 2010-04-25 20:56:42 +00:00
peter1138 aa096f859c (svn r19726) -Fix [FS#Sacro]: Broken English. 2010-04-25 20:37:20 +00:00
translators 4761d24f89 (svn r19725) -Update from WebTranslator v3.0:
catalan - 4 changes by arnau
finnish - 23 changes by jpx_
french - 4 changes by glx
lithuanian - 11 changes by BlinK_
polish - 3 changes by silver_777
portuguese - 5 changes by JayCity
russian - 9 changes by Lone_Wolf, perk11
serbian - 4 changes by etran
spanish - 16 changes by Terkhen
2010-04-25 17:45:31 +00:00
rubidium bf638801c0 (svn r19724) -Fix [FS#3792]: random tree type did not build all sub-tropic trees (Krille) 2010-04-25 16:34:53 +00:00
rubidium c72e2dde60 (svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets. 2010-04-25 16:27:30 +00:00
rubidium 4868fb988f (svn r19722) -Fix: crash when using restart via rcon. 2010-04-25 16:12:03 +00:00
terkhen a4eea26aa4 (svn r19721) -Change: Set the new base costs to better values. 2010-04-25 14:46:54 +00:00
terkhen 52ab1c7d40 (svn r19720) -Feature: New base costs for building/clearing canals, building/clearing aqueducts and building/clearing locks. 2010-04-25 13:56:51 +00:00
terkhen a2b03e54e0 (svn r19719) -Codechange: When building a lock, do not add the cost of building canals if they are already built. 2010-04-25 13:52:08 +00:00
terkhen e83797d2e0 (svn r19718) -Fix: The cost of clearing tiles was not taken into account when building locks. 2010-04-25 13:50:15 +00:00
terkhen 3be66a5e79 (svn r19717) -Fix: The cost of the first bridge type was added when building an aqueduct. 2010-04-25 13:47:13 +00:00
terkhen 28a57ee3f8 (svn r19716) -Documentation: Add comments for lock building and removal functions. 2010-04-25 13:44:49 +00:00
terkhen 1d60eac168 (svn r19715) -Codechange: Rename all appareances of shiplift to lock. 2010-04-24 21:03:40 +00:00
smatz e3c89df398 (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 2010-04-24 20:55:51 +00:00
rubidium 82136fbc62 (svn r19713) -Fix [NewGRF]: passing some invalid data to industry variable 67/68 could cause a crash 2010-04-24 19:06:54 +00:00
rubidium 03c6f51c84 (svn r19712) -Fix (r19708): if the parent was a town, the parent wasn't shown 2010-04-24 18:39:38 +00:00
translators 46a0fa6eda (svn r19711) -Update from WebTranslator v3.0:
catalan - 24 changes by arnau
french - 9 changes by glx
korean - 2 changes by junho2813
maltese - 69 changes by peter88823
polish - 7 changes by xine
russian - 1 changes by Lone_Wolf
serbian - 7 changes by etran
spanish - 7 changes by Terkhen
2010-04-24 17:45:26 +00:00
smatz 4a9ef6ce60 (svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles 2010-04-24 14:29:30 +00:00
rubidium f56ebd81c3 (svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables 2010-04-24 13:39:11 +00:00
rubidium 21883a84d7 (svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables 2010-04-24 13:36:29 +00:00
rubidium 1da0086a45 (svn r19707) -Add: helper functions to instantiate/fill ResolverObjects 2010-04-24 13:35:18 +00:00
rubidium e75e2648fc (svn r19706) -Add: support for the (NewGRF) debug box 2010-04-24 13:27:22 +00:00
rubidium fef77ca53e (svn r19705) -Change: reinitialise the windows when changing the newgrf_developer_tools setting 2010-04-24 13:22:17 +00:00
rubidium 3461430a34 (svn r19704) -Codechange: unify the style of GSF enums; now they're plural instead of mixed 2010-04-24 11:52:58 +00:00
rubidium 8aad995e32 (svn r19703) -Add: hexadecimal string filter 2010-04-24 07:31:58 +00:00
rubidium cdfd81405e (svn r19702) -Add: {HEX} to strgen 2010-04-24 07:30:08 +00:00
frosch ca9a015984 (svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly and cancel object placement when selecting not available industries. 2010-04-23 21:47:03 +00:00
translators 7a56196d98 (svn r19700) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
finnish - 11 changes by jpx_
indonesian - 3 changes by fanioz, prof
polish - 3 changes by silver_777
brazilian_portuguese - 7 changes by kwast, vitor_015
2010-04-23 17:45:18 +00:00
terkhen d9dc4c04f4 (svn r19699) -Codechange: Use InvalidateData at the refit window. 2010-04-23 17:29:53 +00:00
rubidium f642c01fb4 (svn r19698) -Add: macros to get the size/length of a variable within a class 2010-04-23 14:56:14 +00:00
rubidium 532ac6bd67 (svn r19697) -Add: sprite for NewGRF some debuging features 2010-04-23 14:31:10 +00:00
terkhen 92a6710cb7 (svn r19696) -Fix [FS#3781]: Avoid showing building toolbars behind the main toolbar when the "Link landscape toolbar" setting is active. 2010-04-22 19:41:36 +00:00
rubidium 26af87bbaa (svn r19695) -Fix: leaking a file descriptor 2010-04-22 18:34:45 +00:00
translators 8bc0231f98 (svn r19694) -Update from WebTranslator v3.0:
greek - 8 changes by vesnikos
luxembourgish - 1 changes by Phreeze
norwegian_nynorsk - 1 changes by 2rB
polish - 16 changes by xine
2010-04-22 17:45:16 +00:00
smatz f48f4c8293 (svn r19693) -Codechange: split STATUS_INACTIVE to two states 2010-04-22 17:26:57 +00:00
translators 2836d9c1d7 (svn r19689) -Update from WebTranslator v3.0:
croatian - 2 changes by VoyagerOne
dutch - 1 changes by habell
hungarian - 17 changes by IPG
indonesian - 3 changes by prof
norwegian_nynorsk - 1 changes by 2rB
2010-04-21 17:45:18 +00:00
rubidium 464a56420f (svn r19688) -Codechange: run CheckCaches after the debug desync save, so we don't store just reset values in the savegame but the data from the previous tick 2010-04-21 12:55:33 +00:00
rubidium bc81039cb8 (svn r19687) -Fix: desync when joining the game because of using the wrong variable 2010-04-21 12:36:00 +00:00
smatz 32510296b6 (svn r19686) -Fix (r15126): truncated archives were not detected when using zlib 1.2.3. This also fixes zlib 1.2.4 compatibility, zlib 1.2.5 is bugfree 2010-04-21 11:42:00 +00:00
yexo ce8523f70a (svn r19685) -Fix (r19679): off-by-one error 2010-04-20 19:25:29 +00:00
yexo 879057de25 (svn r19684) -Fix [FS#3779]: don't show an error message when trying to give another client an amount of 0 money 2010-04-20 18:02:08 +00:00
smatz dba2a57b0d (svn r19683) -Fix (r19654): towns with 3x3 and 2x2 road layouts couldn't expand 2010-04-20 17:49:11 +00:00
translators 3c8c792e7e (svn r19682) -Update from WebTranslator v3.0:
irish - 26 changes by Nalum
2010-04-20 17:45:03 +00:00
rubidium 519c8007c8 (svn r19680) -Fix [FS#3775] (r19648): when joining a MP game all clients with company ID > 0 would be shown as if they were a spectator 2010-04-20 11:29:51 +00:00
yexo 92e36c87fd (svn r19679) -Fix: [NewGRF] make sure newgrfs can't overwrite sound effect properties from other newgrfs 2010-04-20 05:52:51 +00:00
rubidium df4d8b3bc9 (svn r19678) -Fix (r19607): client status was shown incorrect in the console 2010-04-19 19:50:56 +00:00
translators 1ce5d3ed12 (svn r19677) -Update from WebTranslator v3.0:
portuguese - 6 changes by JayCity
romanian - 1 changes by tonny
serbian - 2 changes by etran
slovenian - 9 changes by Necrolyte
spanish - 1 changes by Terkhen
2010-04-19 17:45:19 +00:00
rubidium 83e40b8ced (svn r19674) -Fix [FS#3774]: crash when the music/graphics metadata files were unreadable 2010-04-19 09:34:56 +00:00
terkhen 3442b8c345 (svn r19673) -Codechange: Optimize calculation of graph grid size (method by Alberth).
-Fix: Remove a gcc 3.3 warning.
2010-04-18 20:23:35 +00:00
translators 687478e0db (svn r19672) -Update from WebTranslator v3.0:
catalan - 3 changes by arnau
czech - 8 changes by Harlequin
german - 1 changes by planetmaker
italian - 1 changes by lorenzodv
latvian - 30 changes by nobody
lithuanian - 3 changes by BlinK_
maltese - 26 changes by kelinu
swedish - 2 changes by tool
turkish - 12 changes by niw3
2010-04-18 17:45:29 +00:00
frosch af7051178d (svn r19671) -Fix (r19670): RoundDiv() needs to deal with signed numerators. 2010-04-18 17:13:01 +00:00