1
0
Fork 0
Commit Graph

9207 Commits (8d4bb2285cec39c62d6e62b8d6bcd9c0b6cd786d)

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