Commit Graph

11724 Commits

Author SHA1 Message Date
rubidium
7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium
849772f0fd (svn r21889) -Fix [FS#4434]: crash when scrolling outside of the main window (with some video backends) 2011-01-22 14:51:36 +00:00
rubidium
9e8db65223 (svn r21888) -Codechange: remove some unneeded (for the AI header) headers from some AI headers, reducing the include tree 2011-01-22 10:33:16 +00:00
rubidium
6ff844e7c4 (svn r21887) -Fix-ish: some headers weren't including the headers they depend on 2011-01-22 10:10:03 +00:00
rubidium
eb299736c1 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 2011-01-22 09:53:15 +00:00
yexo
0cdb1c78cd (svn r21885) -Fix [FS#4422]: NewGRF string codes 0x80 and 0x81 were broken since the typechecking of string parameters 2011-01-21 23:10:02 +00:00
translators
c9bd9b0c23 (svn r21884) -Update from WebTranslator v3.0:
bulgarian - 19 changes by yxomo
greek - 15 changes by Gonik, fumantsu
japanese - 201 changes by kokubunzi, nex259
ukrainian - 100 changes by Fixer
2011-01-21 18:45:18 +00:00
smatz
8b9f0d5ade (svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed 2011-01-21 17:35:17 +00:00
smatz
e860075a16 (svn r21882) -Codechange: make use of the fact that vehicle's Z position can change only if it has GVF_GOINGUP_BIT or GVF_GOINGDOWN_BIT set 2011-01-21 16:51:56 +00:00
smatz
2a2363e819 (svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames 2011-01-21 16:48:41 +00:00
smatz
a6fcd78538 (svn r21880) -Fix: when a train after reversing ended at the last bit of a bridge ramp and directed outside the bridge, it could still have track set to TRACK_BIT_WORMHOLE 2011-01-21 16:35:12 +00:00
smatz
e308c348f0 (svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashes 2011-01-21 16:20:55 +00:00
smatz
46dfdfd72b (svn r21878) -Codechange: move parts of UpdateInclination() to separate functions 2011-01-21 16:13:54 +00:00
smatz
4432f7799d (svn r21877) -Codechange: move definition of HALF_TILE_SIZE to tile_type.h 2011-01-21 15:48:52 +00:00
smatz
6dc24cf643 (svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing 2011-01-21 14:43:38 +00:00
smatz
656caf16db (svn r21875) -Codechange: indentation of some comments was wrong 2011-01-21 01:38:30 +00:00
smatz
1ac51128f5 (svn r21874) -Fix: when a single-vehicle train was reversed while on a slope, its GOINGUP/DOWN weren't swapped 2011-01-21 00:11:13 +00:00
translators
fa64ae9b3a (svn r21869) -Update from WebTranslator v3.0:
japanese - 131 changes by kokubunzi
slovenian - 4 changes by ntadej
2011-01-20 18:45:10 +00:00
rubidium
289206b033 (svn r21868) -Fix (r21866 and some more): the changes to the main toolbar rail types dropdown should happen for the autoreplace dropdown as well 2011-01-20 12:40:40 +00:00
rubidium
4682434bc9 (svn r21867) -Codechange: move creating the rail type dropdown to a more general location 2011-01-20 12:40:04 +00:00
rubidium
2f6c840ebf (svn r21866) -Feature [FS#4394]: [NewGRF] Rail type property to influence sorting of rail types in the drop down list 2011-01-20 12:22:38 +00:00
rubidium
6a2ae92811 (svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes 2011-01-20 09:35:16 +00:00
rubidium
89a135293a (svn r21864) -Fix [FS#4430]: distant-join station would build at the wrong location when having persistent building turned on and selecting a "second" location for the station tile 2011-01-19 23:59:29 +00:00
rubidium
6435a89c28 (svn r21863) -Fix (r21849): load the amount that should be loaded instead of the amount that should not be loaded 2011-01-19 20:40:27 +00:00
terkhen
d426906a01 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 2011-01-19 20:04:09 +00:00
translators
be44f1306f (svn r21861) -Update from WebTranslator v3.0:
japanese - 92 changes by kokubunzi
spanish - 52 changes by Terkhen
ukrainian - 2 changes by Fixer
2011-01-19 18:45:12 +00:00
terkhen
b5468e7a80 (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 2011-01-19 18:44:13 +00:00
terkhen
613743538d (svn r21859) -Codechange: Move train subtype flags to GroundVehicle. 2011-01-19 18:42:54 +00:00
terkhen
cfbbcf1597 (svn r21858) -Codechange: Give more similar names to ArticulatedPart functions. 2011-01-19 18:41:53 +00:00
rubidium
3f9fa65a42 (svn r21855) -Feature [FS#4368]: [Network] Console command to change the password of other companies for servers (dihedral) 2011-01-19 16:52:57 +00:00
rubidium
795a528328 (svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server) 2011-01-19 16:47:40 +00:00
rubidium
e54a1f6721 (svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral) 2011-01-19 16:37:06 +00:00
rubidium
e95718bf43 (svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral) 2011-01-19 16:35:11 +00:00
rubidium
c9609bbbc2 (svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral) 2011-01-19 16:32:23 +00:00
rubidium
a82118f360 (svn r21850) -Codechange: move password hashing to a more general location (dihedral) 2011-01-19 16:30:09 +00:00
rubidium
2707186f6a (svn r21849) -Codechange: move merging/splitting of cargopackets into a helper function (fonsinchen) 2011-01-19 16:25:00 +00:00
rubidium
07e14525b8 (svn r21848) -Codechange: unification of comment style for cargopacket.* 2011-01-19 16:20:26 +00:00
rubidium
922d60f516 (svn r21847) -Fix [FS#4423]: slowing down of trains was done by reducing the speed by 10%, but also when you're just 1% too fast, so limit the slowdown till the new maximum speed 2011-01-19 08:24:38 +00:00
rubidium
9ca4b629cd (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 2011-01-18 23:09:43 +00:00
rubidium
7efd7e19ed (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 2011-01-18 22:31:06 +00:00
rubidium
6c9078fd30 (svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c]. 2011-01-18 22:17:15 +00:00
rubidium
d89095b3ec (svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z]. 2011-01-18 21:58:22 +00:00
rubidium
b8c9988d9f (svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available 2011-01-18 21:30:59 +00:00
rubidium
6371b75bcc (svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced 2011-01-18 21:28:07 +00:00
rubidium
561449992a (svn r21838) -Change: allow LMB scrolling with the mouse outside of the extra viewport instead of canceling scrolling when going slightly over the edge 2011-01-18 21:09:13 +00:00
rubidium
22d17aa745 (svn r21837) -Fix [FS#4419]: LMB dragging would switch over to other viewports instead of staying locked to the viewport you started on 2011-01-18 21:08:19 +00:00
smatz
c0b051eb33 (svn r21836) -Fix: when a train was reversed while inside a tunnel/bridge, it wouldn't have (re)set the GOINGUP/DOWN bits after leaving the tunnel/bridge 2011-01-18 20:40:36 +00:00
smatz
772de6b52d (svn r21835) -Codechange: use UpdateStatusAfterSwap() instead of copying the same code three times 2011-01-18 20:06:56 +00:00
translators
488b525161 (svn r21834) -Update from WebTranslator v3.0:
hungarian - 4 changes by IPG
japanese - 151 changes by kokubunzi
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
ukrainian - 4 changes by Fixer
2011-01-18 18:45:18 +00:00
rubidium
6a17bf91e3 (svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default 2011-01-18 18:14:14 +00:00
rubidium
3f900d3580 (svn r21832) -Feature: limit vehicle lateness to the length of a full timetable cycle, e.g. when a cycle takes 50 days and the vehicle is 65 days later reduce the lateness to 15 days 2011-01-18 14:27:43 +00:00
rubidium
39d7f3b2bd (svn r21831) -Fix [FS#4414]: service orders for trains/aircraft would (sometimes) not get a time when autofilling 2011-01-18 14:25:45 +00:00
terkhen
ff6aeb8791 (svn r21830) -Fix: Deunionize a union which was not initialized correctly. 2011-01-17 19:40:06 +00:00
translators
39c5cfc5d1 (svn r21829) -Update from WebTranslator v3.0:
belarusian - 4 changes by KorneySan
croatian - 2 changes by VoyagerOne
czech - 1 changes by CrazyBenny
dutch - 4 changes by habell
english_US - 1 changes by Rubidium
estonian - 3 changes by notAbot
finnish - 1 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
polish - 1 changes by amateja
romanian - 24 changes by kkmic
russian - 4 changes by KorneySan, Lone_Wolf
spanish - 2 changes by Terkhen
swedish - 3 changes by Ledel, urdh
ukrainian - 34 changes by Fixer
2011-01-17 18:45:51 +00:00
rubidium
b3fdf69ab5 (svn r21827) -Cleanup: remove string removed in r21826 from other languages too 2011-01-16 21:11:31 +00:00
rubidium
62128e8263 (svn r21826) -Fix [FS#4007]: the expectations from the "always build infrastructure" setting name/description didn't match the behaviour 2011-01-16 21:10:41 +00:00
translators
805afdb002 (svn r21825) -Update from WebTranslator v3.0:
catalan - 4 changes by arnau
czech - 2 changes by SmatZ
english_US - 1 changes by Rubidium
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
italian - 1 changes by lorenzodv
polish - 3 changes by nouwak
serbian - 1 changes by etran
spanish - 163 changes by Terkhen
swedish - 1 changes by Ledel
ukrainian - 1 changes by Fixer
2011-01-16 18:45:37 +00:00
smatz
92b90d877e (svn r21824) -Codechange: don't call GetSlopeZ() when the ground vehicle is on a flat tile 2011-01-16 18:18:45 +00:00
alberth
32cd182ecc (svn r21822) -Codechange: Merge event handling code. 2011-01-16 11:40:36 +00:00
alberth
4a203e8a49 (svn r21821) -Codechange: Clean up the jump conditions. 2011-01-16 11:39:57 +00:00
alberth
1e7c3fd2ff (svn r21820) -Codechange: Concatenate both functions. 2011-01-16 11:39:09 +00:00
alberth
a2297dc594 (svn r21819) -Codechange: Swap order of HandleMouseDrag() and HandleDragDrop(), and split the w vardecl in the former. 2011-01-16 11:37:54 +00:00
terkhen
b8559492b5 (svn r21818) -Change: Rename the genders of the spanish translation. 2011-01-16 11:00:42 +00:00
rubidium
7ab524b048 (svn r21817) -Change: only show rail/road types that will eventually be available in-game. For example don't show trams when there is no tram NewGRF loaded 2011-01-16 10:25:47 +00:00
planetmaker
9b4beb0a5c (svn r21816) -Fix [FS#4378] (r14012): Allow dragging of combo signals (again) 2011-01-15 22:50:49 +00:00
rubidium
7645c5ac43 (svn r21815) -Fix [FS#3908]: [YAPF] Apply a pathfinder penalty for back of one-way path signals so those aren't preferred over other possibilities 2011-01-15 22:40:54 +00:00
frosch
6e4dd56158 (svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7. 2011-01-15 21:13:47 +00:00
terkhen
4d8a93c870 (svn r21813) -Fix [FS#4411](r21720): Prevent crash when displaying the owner view. 2011-01-15 20:23:15 +00:00
alberth
a1df4bea68 (svn r21812) -Fix (r21754): Don't try to scroll the matrix widget to position -1. 2011-01-15 19:54:53 +00:00
rubidium
89f245ab2f (svn r21811) -Fix: guess what... 2011-01-15 18:46:42 +00:00
translators
1d3ce9ef1b (svn r21810) -Update from WebTranslator v3.0:
croatian - 2 changes by VoyagerOne
estonian - 2 changes by notAbot
italian - 2 changes by lorenzodv
serbian - 4 changes by etran
spanish - 3 changes by Terkhen
2011-01-15 18:45:19 +00:00
rubidium
bd9f07e5a0 (svn r21809) -Fix [FS#4404]: remove unreached automatic orders as well when reaching an ordered waypoint or depot (fonsinchen) 2011-01-15 18:19:04 +00:00
rubidium
4784c3ac3c (svn r21808) -Fix: don't create automatic orders when there are no manual orders (fonsinchen) 2011-01-15 18:16:46 +00:00
rubidium
bc9afec3b0 (svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen) 2011-01-15 18:14:29 +00:00
terkhen
53c9846f14 (svn r21806) -Codechange: Correct additional appearances of the same typo. 2011-01-15 16:27:04 +00:00
terkhen
93b26e8e3d (svn r21805) -Codechange: Correct a typo. 2011-01-15 15:58:03 +00:00
smatz
0ab078158e (svn r21804) -Remove [FS#4409]: the 'stopall' console command, as its functionality was broken. Group start/stop commands can be used instead 2011-01-15 15:51:16 +00:00
terkhen
679cd3c21b (svn r21803) -Cleanup: Remove unnecessary semicolons. 2011-01-15 15:36:58 +00:00
smatz
2709454040 (svn r21802) -Cleanup (r2600): remove unused _vehicle_id_ctr_day 2011-01-15 14:20:34 +00:00
alberth
7be31ee03e (svn r21801) -Fix (r21772): Attach scrollbar to select matrix in object gui. 2011-01-15 14:17:53 +00:00
rubidium
0c497dd113 (svn r21800) -Fix [FS#3569]: under certain circumstances one could crash a competitor's train; take the lazy non-future proof version of the fix from the 1.0 branch as fixing the real bug is significantly more complex and might even break some backwards compatability if not done perfectly 2011-01-15 09:53:21 +00:00
smatz
1b3e2309df (svn r21799) -Fix: further variables need to be reset when we loaded a TTDPatch savegame in the past 2011-01-15 00:10:16 +00:00
smatz
804542b3f3 (svn r21798) -Fix: loading a TTO savegame failed after loading a TTDP savegame with vehicle multiplier bigger than 1 2011-01-14 22:23:09 +00:00
rubidium
6b86ee9888 (svn r21797) -Fix/Change: unify the size (in characters) of the string inputs with eachother and TTD to prevent crashes/asserts with e.g. signs that are too long 2011-01-14 22:08:40 +00:00
rubidium
080a941eda (svn r21796) -Fix [FS#4398]: drive through road stop state wasn't properly converted from TTDPatch savegames 2011-01-14 21:54:37 +00:00
rubidium
85255ea001 (svn r21795) -Fix (r21790): when converting TTDPatch train waypoints, convert the data on the map as well 2011-01-14 20:52:22 +00:00
smatz
75351f4043 (svn r21794) -Fix (r21790): convert train orders too (Rubidium) 2011-01-14 19:51:50 +00:00
smatz
110e25e859 (svn r21793) -Fix (r20446): broken usage of GetTileOwner() caused wrong conversion of old savegames 2011-01-14 18:58:03 +00:00
translators
26eb9eb7e2 (svn r21792) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 8 changes by CrazyBenny, marek995
dutch - 1 changes by habell
english_US - 3 changes by Rubidium
estonian - 1 changes by notAbot
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 5 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
latvian - 1 changes by frosch
polish - 1 changes by wojteks86
russian - 1 changes by KorneySan
spanish - 4 changes by Terkhen
swedish - 1 changes by spacejens
turkish - 9 changes by niw3
ukrainian - 1 changes by Fixer
vietnamese - 1 changes by nglekhoi
2011-01-14 18:46:03 +00:00
rubidium
c6b46725db (svn r21791) -Fix [FS#4407]: off-by-one-ish for the terraforming limit 2011-01-14 18:45:14 +00:00
smatz
c58a910c8e (svn r21790) -Fix [FS#4398]: TTDPatch savegames can have train waypoints encoded as buoys 2011-01-14 16:49:29 +00:00
frosch
fad00367ae (svn r21789) -Fix [FS#4405]: When the font misses the fallback character '?', use the sprite font's '?' instead. 2011-01-14 16:39:41 +00:00
frosch
93ae848b0a (svn r21788) -Codechange: Enable GetRawSprite() to also load sprites not using the spritecache but a custom allocator function. 2011-01-14 16:36:34 +00:00
frosch
6cb017456a (svn r21787) -Codechange: Pass the allocator function to use to ReadSprite(). 2011-01-14 16:28:23 +00:00
smatz
c53c869556 (svn r21786) -Fix [FS#4398]: don't trust rail station width and height data stored by TTDPatch, it is invalid for stations wider or higher than 7 2011-01-14 16:20:25 +00:00
frosch
d811238dd0 (svn r21785) -Codechange: Make ReadSprite() not operate on the sprite chache directly. 2011-01-14 16:16:33 +00:00
smatz
ff469ab352 (svn r21784) -Fix (r16909): crash when converting savegame with custom waypoint name 2011-01-14 16:15:05 +00:00
frosch
ee67d10c80 (svn r21783) -Cleanup (r14997): Remove redundant assignment. 2011-01-14 16:09:51 +00:00
frosch
3d1008318b (svn r21782) -Codechange: Move declaration of AllocatorProc from Blitter:: to spritecache.h 2011-01-14 15:34:33 +00:00
planetmaker
09d7f172a6 (svn r21781) -Change: Make the description of the setting on how to obtain the tooltip a bit clearer 2011-01-14 14:54:29 +00:00
terkhen
28676531b0 (svn r21780) -Change: Keep aqueducts and road/tram tunnels and bridges after removing a company. 2011-01-14 13:19:23 +00:00
terkhen
1b237216a8 (svn r21779) -Cleanup(r21778): Remove unneeded space at the start of a line. 2011-01-14 12:46:05 +00:00
terkhen
eb2b510e01 (svn r21778) -Add: After building a road or tram tunnel, connect it to any existing road or tram. 2011-01-14 12:01:07 +00:00
terkhen
87dade4698 (svn r21777) -Add: After building a road or tram bridge, connect it to any existing road or tram. 2011-01-14 12:00:07 +00:00
terkhen
998246430a (svn r21776) -Codechange: Give a more appropriate name to the road connection function.
-Document: Add doxygen comments to the function.
2011-01-14 11:55:40 +00:00
alberth
e8e535f58c (svn r21775) -Add: Allow vertical resizing of the newobject gui. 2011-01-13 22:02:13 +00:00
alberth
ab91d8eb4f (svn r21774) -Change: Update the other languages too. 2011-01-13 22:01:42 +00:00
alberth
313654f18d (svn r21773) -Change: Remove the dropdown, and make BOW_OBJECT_LIST a list of newobject classes. 2011-01-13 21:59:39 +00:00
alberth
b1546da65e (svn r21772) -Feature: Add a clickable display of the available objects in the newobject gui. 2011-01-13 21:55:41 +00:00
translators
00f9a36645 (svn r21771) -Update from WebTranslator v3.0:
czech - 3 changes by CrazyBenny
marathi - 28 changes by jcravi
2011-01-13 18:45:10 +00:00
translators
0e802c462d (svn r21770) -Update from WebTranslator v3.0:
latvian - 135 changes by dzhins
portuguese - 4 changes by JayCity
serbian - 1 changes by etran
2011-01-12 18:45:13 +00:00
translators
49e191cc8e (svn r21769) -Update from WebTranslator v3.0:
latvian - 21 changes by dzhins
serbian - 8 changes by etran
swedish - 2 changes by Ledel
2011-01-11 18:45:13 +00:00
frosch
12b4fa7dba (svn r21768) -Fix [FS#4396]: Diagonal tile iterator needed a special case for A * 0 selections. 2011-01-11 16:45:45 +00:00
rubidium
7e6ccf3a0a (svn r21767) -Fix [FS#4397]: don't limit tile clearing during bankruptcy 2011-01-10 21:58:05 +00:00
translators
60874f88d0 (svn r21766) -Update from WebTranslator v3.0:
belarusian - 6 changes by KorneySan, Wowanxm
catalan - 1 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 1 changes by habell
estonian - 1 changes by notAbot
finnish - 1 changes by jpx_
french - 1 changes by glx
italian - 1 changes by lorenzodv
norwegian_bokmal - 6 changes by leaderroy
polish - 2 changes by amateja
russian - 1 changes by KorneySan
slovenian - 9 changes by ntadej
spanish - 1 changes by Terkhen
swedish - 3 changes by Ledel
ukrainian - 1 changes by Fixer
2011-01-10 18:45:51 +00:00
rubidium
4eb4aad54f (svn r21765) -Fix [FS#4369]: PBS reservation was not shown on road crossings with NewGRF railtypes (andythenorth) 2011-01-09 20:54:56 +00:00
frosch
57c6133c3b (svn r21764) -Change: Make the scrollbar associated to a NWidgetMatrix scroll in steps of the matrix when using the wheel or the scrollbar-buttons. 2011-01-09 20:40:35 +00:00
frosch
da09ebc59a (svn r21763) -Codechange: Pass the distance to Scrollbar::UpdatePosition() in units of small or big steps. 2011-01-09 20:39:06 +00:00
translators
beb7f63746 (svn r21762) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
hungarian - 1 changes by IPG
korean - 1 changes by junho2813
norwegian_bokmal - 21 changes by leaderroy
swedish - 1 changes by Ledel
2011-01-09 18:45:20 +00:00
frosch
91e95dfd53 (svn r21761) -Add: Wheel-scrolling in the new build station GUI. 2011-01-09 18:43:47 +00:00
alberth
352fd000ea (svn r21760) -Fix (r20452): Restore wheeling of vertical scrollbars. 2011-01-09 15:36:02 +00:00
alberth
f5364269b5 (svn r21759) -Codechange: Increase the initial horizontal size of the stationpicker slightly. 2011-01-09 15:34:58 +00:00
alberth
9d8496e65e (svn r21758) -Add: Allow vertical resizing of the stationpicker window. 2011-01-09 15:34:00 +00:00
alberth
3281b91c48 (svn r21757) -Codechange: Use a list instead of a dropdown for selecting the station classes. 2011-01-09 15:33:00 +00:00
alberth
0a16e4ee91 (svn r21756) -Add: Display name of the selected station type in the station picker window. 2011-01-09 15:31:14 +00:00
alberth
dbef775e76 (svn r21755) -Feature: Display newgrf station sprites during station picking. 2011-01-09 15:27:48 +00:00
alberth
d8567d2699 (svn r21754) -Codechange: Scroll the matrix widget to make a clicked entry fully visible. 2011-01-09 15:25:33 +00:00
alberth
ec54970058 (svn r21753) -Codechange: Use a widget for the coverage text, and re-init instead of resize to adapt for height changes. 2011-01-09 15:24:36 +00:00
alberth
bd72b9d2a4 (svn r21752) -Doc: document the stationpicker widgets and variables. 2011-01-09 15:22:39 +00:00
alberth
9845f10668 (svn r21751) -Fix: Re-initialize the stationpicker data when newgrf classes have disappeared. 2011-01-09 15:21:55 +00:00
translators
63319e4658 (svn r21748) -Update from WebTranslator v3.0:
czech - 1 changes by SmatZ
norwegian_bokmal - 20 changes by leaderroy
2011-01-09 15:08:53 +00:00
rubidium
ade2f29f5d (svn r21747) -Fix [FS#4395]: the diagonal iterator would iterate twice over some tiles (fonsinchen) 2011-01-09 14:55:22 +00:00
frosch
35be634974 (svn r21746) -Fix: [NewGRF] Canal variable 83 accessed water random bits also for non-water tiles (e.g. watery industries or objects). 2011-01-09 13:53:57 +00:00
frosch
8ffc288901 (svn r21745) -Fix: [NewGRF] Canal variable 80 shall return consistent heights within a lock. 2011-01-09 13:53:05 +00:00
frosch
716f4e924e (svn r21744) -Fix: Allow Ctrl+Clicking automatic orders for scrolling to their destination. 2011-01-09 13:11:50 +00:00
rubidium
c8a4d122c5 (svn r21743) -Fix [FS#4386]: coast tiles weren't drawn under bridges 2011-01-09 12:17:52 +00:00
translators
2da2b57631 (svn r21742) -Update from WebTranslator v3.0:
german - 2 changes by planetmaker
swedish - 3 changes by Ledel
2011-01-08 18:45:10 +00:00
planetmaker
51b97aa3c1 (svn r21741) -Fix (r21668): Some white space slipped past the commit hook 2011-01-08 16:10:07 +00:00
translators
f420b5a66a (svn r21740) -Update from WebTranslator v3.0:
belarusian - 57 changes by Wowanxm
catalan - 9 changes by arnau
croatian - 1 changes by VoyagerOne
german - 8 changes by kaefer1993
swedish - 6 changes by spacejens
ukrainian - 11 changes by Fixer
vietnamese - 3 changes by nglekhoi
2011-01-07 18:45:24 +00:00
rubidium
e2ef4aff46 (svn r21739) -Fix [FS#4388] (r19657): make clearing refit orders work again 2011-01-07 12:45:12 +00:00
frosch
be106c77a9 (svn r21738) -Fix (r21642)[FS#4384]: Start loading when cur_order_index points to the destination station, i.e. after deleting not-reached automatic orders. 2011-01-06 22:27:56 +00:00
frosch
29a0dd65a9 (svn r21737) -Fix (r1)[FS#4384-ish]: A loading order was also marked as 'not part of orders' when the order before the current order was deleted. 2011-01-06 22:24:02 +00:00
translators
4863d934af (svn r21736) -Update from WebTranslator v3.0:
hungarian - 2 changes by IPG
polish - 2 changes by silver_777
russian - 9 changes by Lone_Wolf
swedish - 1 changes by Ledel
2011-01-06 18:45:17 +00:00
translators
c597237032 (svn r21735) -Update from WebTranslator v3.0:
croatian - 7 changes by VoyagerOne
dutch - 7 changes by Hyronymus, habell
english_US - 7 changes by Rubidium
estonian - 42 changes by notAbot
finnish - 7 changes by jpx_
french - 7 changes by glx
german - 1 changes by planetmaker
hungarian - 8 changes by IPG
irish - 4 changes by tem
italian - 8 changes by lorenzodv
korean - 1 changes by junho2813
polish - 7 changes by amateja
spanish - 81 changes by Terkhen
2011-01-05 18:45:43 +00:00
smatz
ce9a7acc8f (svn r21734) -Change: use 'landscaping' instead of 'terraforming' in the English lang file (peter1138) 2011-01-05 12:39:50 +00:00
terkhen
03088dadda (svn r21733) -Codechange: Clarify the update owner legend code.
-Fix: Prevent crashes caused by deleted companies.
2011-01-05 11:04:29 +00:00
rubidium
68412eebec (svn r21732) -Fix (r21728): show the "proper" error that the landscaping limit is reached instead of "already flat" 2011-01-05 08:33:21 +00:00
rubidium
4cc2d71d6d (svn r21731) -Fix (r21728): don't forget to update the saveload version, or to check for MSVC warnings 2011-01-05 07:57:10 +00:00
terkhen
b890bcb840 (svn r21730) -Fix (r21718): The smallmap owner legend would not be properly initialized in games without companies. 2011-01-04 22:59:42 +00:00
terkhen
0b27228d9a (svn r21729) -Fix (r21718, r21720): In some cases clicking on a industry/company legend entry would not work. 2011-01-04 22:56:56 +00:00
rubidium
eab47d2227 (svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company 2011-01-04 22:50:09 +00:00
rubidium
7dafd04f4b (svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral) 2011-01-04 22:28:02 +00:00
terkhen
ace917f872 (svn r21726) -Add: Allow to toggle height visualization in the owner view of the smallmap. 2011-01-04 21:03:57 +00:00
terkhen
995e80ba57 (svn r21725) -Cleanup: Remove unused owner code. 2011-01-04 21:03:01 +00:00
terkhen
aac2289bf8 (svn r21724) -Change: Do not reset the "Show height" state after closing the smallmap window. 2011-01-04 21:02:10 +00:00
terkhen
38ed740e80 (svn r21723) -Add: Enable/Disable all buttons to the owner view of the smallmap. 2011-01-04 21:01:29 +00:00
terkhen
bf45eacd97 (svn r21722) -Update: String names on other translations. 2011-01-04 21:00:45 +00:00
terkhen
7e6e7a6737 (svn r21721) -Codechange: Rename the smallmap button panel and its strings. 2011-01-04 20:59:41 +00:00
terkhen
b621e4545c (svn r21720) -Feature: Allow to toggle visualization of company property in the owner view of the smallmap. 2011-01-04 20:58:42 +00:00
terkhen
4f1e96acf1 (svn r21719) -Doc: Correct a doxygen comment. 2011-01-04 20:58:07 +00:00
terkhen
2103f7e91a (svn r21718) -Feature: Show a list of companies in the owner legend. 2011-01-04 20:57:11 +00:00
terkhen
e4b8a4e3bf (svn r21717) -Codechange: Unify smallmap functions for getting the legend height. 2011-01-04 20:56:00 +00:00
terkhen
ebb360f48c (svn r21716) -Add: Tooltip for the industry legend at the smallmap. 2011-01-04 20:54:36 +00:00
terkhen
5268d03abd (svn r21715) -Fix: Use the correct land colour in the owner legend. 2011-01-04 20:53:57 +00:00
rubidium
73d26d3831 (svn r21714) -Codechange: unduplicate a bit of code path 2011-01-04 20:33:22 +00:00
translators
017a7f902b (svn r21713) -Update from WebTranslator v3.0:
estonian - 7 changes by notAbot
marathi - 2 changes by jaguarnac
romanian - 4 changes by kkmic
swedish - 1 changes by spacejens
2011-01-04 18:45:13 +00:00
michi_cc
868d035b45 (svn r21712) -Change: Tune 'realistic' acceleration even more to make more trains reach their top speed. 2011-01-04 18:12:28 +00:00
frosch
6a38f88bd1 (svn r21711) -Change: Display the minimal height of the tile in the LandInfo window instead of the height of the northern corner. So it is more useful for NewGRF and AI developers, and maybe more transparent for players. 2011-01-04 13:58:14 +00:00
peter1138
1b61d234a1 (svn r21710) -Fix (r8128): Update oldloader for change in vehicle cur_image size. 2011-01-04 12:22:27 +00:00
peter1138
3408814169 (svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed. 2011-01-04 12:04:09 +00:00
frosch
d9305ef99d (svn r21708) -Add: [NewGRF] Report TTDPatch flag 4A (newobjects) as set. 2011-01-04 11:06:39 +00:00
rubidium
80591d73c1 (svn r21707) -Fix [FS#4371]: bit too strict assertion on validness of console colours 2011-01-03 20:54:20 +00:00
rubidium
b68d37f2aa (svn r21706) -Fix-ish [FS#4370]: the old ship pathfinder is too stupid to provide "lost" notices; it would even get lost while following it's own path 2011-01-03 20:25:11 +00:00
translators
7daf2a4ec0 (svn r21705) -Update from WebTranslator v3.0:
catalan - 5 changes by arnau
croatian - 2 changes by VoyagerOne
dutch - 2 changes by Yexo
german - 1 changes by planetmaker
korean - 1 changes by junho2813
polish - 2 changes by amateja
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 3 changes by Terkhen
swedish - 1 changes by Ledel
2011-01-03 18:45:34 +00:00
smatz
810873ff33 (svn r21704) -Fix [FS#4374]: no need to perform any more checks after the connection is closed (Rubidium) 2011-01-03 18:36:51 +00:00
yexo
8e3e93b96f (svn r21703) -Feature [FS#4372]: list_ai_libs console command to get a list of recognized AI libraries (dihedral) 2011-01-03 14:52:30 +00:00
rubidium
37b9c31118 (svn r21702) -Fix: make sure the colour argument of echoc is properly validated to be a text colour 2011-01-03 12:04:53 +00:00
rubidium
b25cf57542 (svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts 2011-01-03 12:01:41 +00:00
rubidium
1c2d56d314 (svn r21700) -Codechange: GetDrawStringCompanyColour returns a TextColour 2011-01-03 11:55:08 +00:00
translators
6b5992788c (svn r21699) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
indonesian - 62 changes by fanioz
italian - 1 changes by lorenzodv
norwegian_nynorsk - 3 changes by 2rB
turkish - 2 changes by niw3
2011-01-02 18:45:24 +00:00
rubidium
ad15cd37a6 (svn r21698) -Fix: incorrectly named global variable 2011-01-02 18:12:39 +00:00
yexo
4ec6c19d44 (svn r21697) -Codechange: use GetGameSettings() in a few more places to enhance readability 2011-01-02 12:52:37 +00:00
yexo
b22945350f (svn r21696) -Feature [FS#4362]: allow changing the AI configuration in the scenario editor / in game 2011-01-02 12:41:24 +00:00
yexo
3ca65ab7b3 (svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object 2011-01-02 00:34:21 +00:00
yexo
a25d6c64dd (svn r21694) -Fix: changing AI settings ingame was impossible when the difficulty level was other than custom 2011-01-01 23:26:26 +00:00
smatz
c6a90361fc (svn r21693) -Codechange: no need to cast char[] to const uint8* 2011-01-01 21:41:01 +00:00
smatz
8b6a8a8935 (svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static 2011-01-01 21:39:52 +00:00
smatz
13456934b1 (svn r21691) -Codechange: make sure GenerateCompanyPasswordHash() behaves deterministically when/if the value of NETWORK_SERVER_ID_LENGTH is changed 2011-01-01 21:38:13 +00:00
yexo
7814e6e792 (svn r21690) -Fix: the top of a tall building standing on a hill at the top of the map could be cut off in a giant screenshot 2011-01-01 21:15:50 +00:00
translators
2d17f09902 (svn r21689) -Update from WebTranslator v3.0:
traditional_chinese - 73 changes by josesun
italian - 1 changes by lorenzodv
serbian - 1 changes by etran
2011-01-01 18:45:13 +00:00
smatz
cae28bf8eb (svn r21688) -Codechange: verify the colour code passed to IConsolePrint()/IConsolePrintF() is valid 2011-01-01 17:06:59 +00:00
smatz
666fbb28c2 (svn r21687) -Fix: verify the colour code we received from the server is valid 2011-01-01 17:02:29 +00:00
smatz
62bc55cf7b (svn r21686) -Cleanup: remove unused constants and comment used ones 2011-01-01 16:35:32 +00:00
rubidium
36f55a8823 (svn r21685) -Codechange: prevent bug tracker entries like FS#2487 and FS#1613 for this year 2011-01-01 08:31:23 +00:00
planetmaker
9ddcbaf9b7 (svn r21684) -Fix [FS#4360] (r21573): Silence some compile warnings 2011-01-01 08:23:46 +00:00
translators
675f1376e0 (svn r21683) -Update from WebTranslator v3.0:
hungarian - 1 changes by IPG
russian - 3 changes by Lone_Wolf
2010-12-31 18:45:11 +00:00
glx
aa7a587ca3 (svn r21680) -Fix (r21656): of course MSVC complains 2010-12-31 16:13:34 +00:00
rubidium
64c7cc51b5 (svn r21679) -Fix (r21642): reading a just freed variable 2010-12-31 15:53:46 +00:00
yexo
582472d626 (svn r21678) -Update: use 'Ctrl+klik' instead of 'Ctrl+Klik' in the Dutch translation 2010-12-31 14:16:25 +00:00
rubidium
41015b877d (svn r21677) -Fix: WT3 not validating some strings... 2010-12-31 14:12:35 +00:00
translators
b46aee796b (svn r21675) -Update from WebTranslator v3.0:
czech - 3 changes by SmatZ
dutch - 12 changes by Yexo
english_US - 1 changes by Rubidium
estonian - 138 changes by notAbot
finnish - 5 changes by jpx_
french - 1 changes by glx
german - 3 changes by planetmaker
polish - 135 changes by amateja
spanish - 1 changes by Terkhen
vietnamese - 3 changes by sephiroth2m
2010-12-31 14:05:25 +00:00
smatz
4a0ce4bb14 (svn r21673) -Change [FS#4358]: do not show price to build a bridge in the scenario editor, it is free there 2010-12-31 10:15:35 +00:00
rubidium
e166a0eaed (svn r21672) -Fix: mention AIEventTownFounded in the AI changelog as well 2010-12-31 09:43:42 +00:00
rubidium
6cf67eff15 (svn r21670) -Fix (prospective): EEK->EUR@2011 2010-12-31 09:09:40 +00:00
translators
4f4f9a1e4e (svn r21669) -Update from WebTranslator v3.0:
simplified_chinese - 6 changes by ww9980
greek - 10 changes by fumantsu
2010-12-30 18:47:31 +00:00
rubidium
6546561360 (svn r21668) -Feature: command logging using the admin interface (dihedral) 2010-12-30 18:14:37 +00:00
alberth
661e13a86a (svn r21667) -Codechange: Introduce _thd.Reset(). 2010-12-30 15:32:31 +00:00
alberth
cedb07bba3 (svn r21666) -Codechange: Use GetCallbackWnd at more places. 2010-12-30 13:18:04 +00:00
alberth
22a13850cb (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 2010-12-30 13:16:31 +00:00
yexo
703ff560c1 (svn r21664) -Add: [NoAI] AIEventTownFounded 2010-12-29 23:44:39 +00:00
yexo
5b25e620dd (svn r21663) -Add: [NoAI]: AIRail::GetName() to get the name of a railtype 2010-12-29 23:20:12 +00:00
rubidium
83d7634122 (svn r21660) -Fix [FS#4354]: autofill timetable had side effects in test mode, possibly causing desyncs in MP 2010-12-29 20:20:38 +00:00
translators
affd8b9d7b (svn r21659) -Update from WebTranslator v3.0:
hungarian - 6 changes by IPG
indonesian - 9 changes by fanioz
italian - 3 changes by lorenzodv
malay - 24 changes by rionix88
norwegian_bokmal - 5 changes by Utvik
romanian - 130 changes by tonny
2010-12-29 18:45:21 +00:00
rubidium
cea92937eb (svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly invalidated when payment changed 2010-12-29 18:20:19 +00:00
smatz
e7971c2971 (svn r21657) -Cleanup (r17107): remove superfluous semicolon 2010-12-29 13:47:53 +00:00
planetmaker
6331923653 (svn r21656) -Fix [FS#4345] (r3722, r15301): Use a bool instead of uint8 to store a bool and use the dedicated accessor function when reading boolean settings (glx, rubidium) 2010-12-29 13:32:35 +00:00
yexo
bfc386fe10 (svn r21655) -Add: mention AITown::IsCity in the NoAI changelog 2010-12-29 12:41:01 +00:00
yexo
399a9641fe (svn r21654) -Add: [NoAI] AITown::IsCity() so AIs can find out which towns grow faster than others (Lord Aro) 2010-12-29 12:19:33 +00:00
translators
0d613156e7 (svn r21653) -Update from WebTranslator v3.0:
catalan - 2 changes by arnau
english_US - 6 changes by Rubidium
esperanto - 13 changes by Christopher
estonian - 35 changes by notAbot
french - 8 changes by glx
japanese - 63 changes by dchou
serbian - 76 changes by etran
spanish - 6 changes by Terkhen
swedish - 48 changes by Zuu
turkish - 11 changes by niw3
2010-12-28 18:45:33 +00:00
smatz
aa4f269f3e (svn r21652) -Cleanup: one semicolon is enough 2010-12-28 14:22:51 +00:00
rubidium
ade19e5242 (svn r21651) -Fix [FS#4338] (r21229): infinite loop in the road pathfinder due to bouncing around in an "one way" trap; two one ways pointing towards eachother making it impossible to leave 2010-12-27 22:32:47 +00:00
rubidium
639e22b83b (svn r21650) -Fix [FS#4339]: make "centre [main] view" consistent, and make "[main|global] view" consistent 2010-12-27 21:10:52 +00:00
translators
f3292c304a (svn r21649) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
dutch - 34 changes by Hirundo, Hyronymus
esperanto - 2 changes by Christopher
malay - 12 changes by rionix88
marathi - 100 changes by jaguarnac
russian - 2 changes by KorneySan
serbian - 2 changes by etran
2010-12-27 18:45:24 +00:00
rubidium
b98c758e0b (svn r21648) -Codechange: unduplicate a bit of code 2010-12-27 18:21:19 +00:00
rubidium
744616bb36 (svn r21647) -Fix: failure of WT3 to properly validate some string... 2010-12-26 19:26:48 +00:00
translators
9858065ff9 (svn r21646) -Update from WebTranslator v3.0:
croatian - 2 changes by VoyagerOne
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
greek - 91 changes by fumantsu
hungarian - 2 changes by IPG
italian - 3 changes by lorenzodv
brazilian_portuguese - 58 changes by Ic3cold
slovenian - 2 changes by ntadej
spanish - 2 changes by Terkhen
swedish - 18 changes by Ledel
2010-12-26 18:45:33 +00:00
alberth
8282b66b70 (svn r21645) -Doc: Document SmallPair and SmallMap template parameters. 2010-12-26 17:47:00 +00:00
rubidium
28f16a732f (svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders 2010-12-26 13:25:34 +00:00
rubidium
b06b05c360 (svn r21643) -Fix (r21642): crash when a train with no orders (or actually no order list) stops at a station 2010-12-26 12:55:12 +00:00
rubidium
64f04c3a74 (svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen 2010-12-26 09:03:19 +00:00
rubidium
8a278f7711 (svn r21641) -Fix (r21639): ofcourse MSVC wants to have something to warn about 2010-12-26 06:52:38 +00:00
rubidium
9b2a54bfbf (svn r21640) -Change/Feature-ish: allow disabling the shading when drawing text 2010-12-25 20:02:04 +00:00
rubidium
1d21903eb4 (svn r21639) -Codechange: simplify setting the colour remap 2010-12-25 19:59:56 +00:00
alberth
d2564a3e56 (svn r21638) -Codechange (r1): Simplify testing that outersize.x is bigger than 0. 2010-12-25 19:58:50 +00:00
rubidium
2c41b8ee97 (svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour 2010-12-25 19:47:15 +00:00
translators
13c5cd820b (svn r21636) -Update from WebTranslator v3.0:
esperanto - 10 changes by Christopher
polish - 6 changes by wojteks86
slovenian - 1 changes by ntadej
turkish - 3 changes by niw3
2010-12-25 18:45:16 +00:00
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
planetmaker
f6aa80c617 (svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines' 2010-12-04 08:38:02 +00:00
rubidium
b250888aa3 (svn r21373) -Codechange: rewrite the game state to memory dumper 2010-12-02 23:08:22 +00:00
yexo
22d0ce0366 (svn r21372) -Cleanup: remove some broken npf debug code 2010-12-02 23:05:48 +00:00
rubidium
d81cee085b (svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable 2010-12-02 22:43:10 +00:00
yexo
3df30280d4 (svn r21370) -Fix: [NewGRF] a grf with an invalid action14 could cause an out of memory error 2010-12-02 19:21:13 +00:00
rubidium
6f549e54b5 (svn r21369) -Fix: don't add object specs that weren't associate with graphics 2010-12-02 18:51:44 +00:00
translators
654f475983 (svn r21368) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
norwegian_bokmal - 8 changes by mantaray
2010-12-02 18:45:10 +00:00
frosch
6d962a3e35 (svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be. 2010-12-01 21:35:18 +00:00
translators
2dcda5fa8f (svn r21366) -Update from WebTranslator v3.0:
basque - 81 changes by Thadah
marathi - 4 changes by jcravi
vietnamese - 2 changes by nglekhoi
2010-12-01 18:45:09 +00:00
rubidium
fe9db12935 (svn r21364) -Change: increase the default amount of companies, clients and spectators. Furthermore tighten the command execution/queueing limits a bit 2010-11-30 20:06:40 +00:00
rubidium
fd752ca2b0 (svn r21363) -Add: support for limiting the amount of (accepted) incoming data 2010-11-30 20:01:26 +00:00
translators
a0f0f5e2e1 (svn r21362) -Update from WebTranslator v3.0:
slovenian - 28 changes by ntadej
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-30 18:45:12 +00:00
rubidium
31c8ab0ed8 (svn r21361) -Change: make sure the client is listening, or rather receiving, our frames 2010-11-30 14:18:20 +00:00
rubidium
21cf75951c (svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when resolving the image to draw in the buy menu 2010-11-30 14:11:29 +00:00
rubidium
b6c2216749 (svn r21358) -Codechange: make some network function names conform to coding style 2010-11-30 13:38:46 +00:00
rubidium
9c83a8975f (svn r21357) -Codechange: make it possible to resize the packet's buffer 2010-11-30 13:22:29 +00:00
planetmaker
c45d88ea6c (svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu) 2010-11-30 00:15:38 +00:00
translators
283cf61e8c (svn r21354) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
french - 1 changes by glx
italian - 1 changes by lorenzodv
2010-11-29 18:45:14 +00:00
frosch
f2c84e0120 (svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore). 2010-11-29 17:26:47 +00:00
rubidium
c60a850fed (svn r21350) -Fix: some indentation 2010-11-28 22:45:47 +00:00
yexo
dfe8b546ec (svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons 2010-11-28 19:48:13 +00:00
yexo
d81d42bfc3 (svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result 2010-11-28 19:40:35 +00:00
yexo
35af463046 (svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments 2010-11-28 19:39:04 +00:00
translators
9b54d4266b (svn r21345) -Update from WebTranslator v3.0:
turkish - 2 changes by niw3
vietnamese - 1 changes by nglekhoi
2010-11-28 18:45:10 +00:00
terkhen
75f86a7a21 (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
terkhen
4b944cb13e (svn r21343) -Add: Function that compares strings using case insensitive natural sort. 2010-11-27 22:47:29 +00:00
terkhen
ae78847f0f (svn r21342) -Add: Sort some lists again after a language change. 2010-11-27 22:43:58 +00:00
terkhen
f2cc73bb51 (svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name. 2010-11-27 22:42:24 +00:00
terkhen
92d14f692b (svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled. 2010-11-27 21:11:37 +00:00
rubidium
b46e57d364 (svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset 2010-11-27 21:09:41 +00:00
translators
def0d71767 (svn r21337) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
hungarian - 18 changes by IPG
2010-11-27 18:45:14 +00:00
rubidium
ff015ac62c (svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen) 2010-11-27 12:55:43 +00:00
rubidium
529da62f15 (svn r21335) -Change: be a bit more explicit that the game state can get broken by changing NewGRFs 2010-11-26 23:25:34 +00:00
rubidium
67f74559fc (svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones 2010-11-26 22:25:02 +00:00
smatz
c9a186c9ff (svn r21333) -Fix: failure of WT3 to properly validate some string... 2010-11-26 18:53:09 +00:00
translators
00fb5ed92d (svn r21332) -Update from WebTranslator v3.0:
catalan - 39 changes by arnau
czech - 15 changes by marek995
french - 5 changes by glx
italian - 17 changes by lorenzodv
polish - 2 changes by xaxa
portuguese - 84 changes by Samu
2010-11-26 18:45:22 +00:00
alberth
f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
61637f493a (svn r21330) -Fix: two wrong ISO country codes 2010-11-26 11:03:40 +00:00
rubidium
c95b7a3965 (svn r21328) -Fix: pass the case id when resolving NewGRF strings as well 2010-11-25 23:14:48 +00:00
rubidium
fad75f5d5a (svn r21327) -Fix: cases are always "off-by-one" w.r.t. to the case table as there is an implicit default case with index 0 2010-11-25 23:14:25 +00:00
rubidium
4e6d29351e (svn r21326) -Fix: off-by-one in case choice list construction causing case lists to fail completely 2010-11-25 23:10:35 +00:00
rubidium
09e88969cf (svn r21325) -Change: the order of Portuguese genders 2010-11-25 19:13:21 +00:00
rubidium
30cd1a5934 (svn r21324) -Fix: load of failures of WT3 to properly validate some strings... 2010-11-25 18:48:46 +00:00
translators
4ae1697118 (svn r21323) -Update from WebTranslator v3.0:
croatian - 19 changes by VoyagerOne
english_US - 212 changes by Rubidium
finnish - 19 changes by jpx_
french - 16 changes by glx
german - 15 changes by planetmaker
portuguese - 89 changes by JayCity, Samu
spanish - 19 changes by Terkhen
swedish - 1 changes by Zuu
vietnamese - 4 changes by nglekhoi
2010-11-25 18:45:31 +00:00
rubidium
374fc308de (svn r21322) -Fix [FS#4268] (r20924): packets were leaked 2010-11-25 16:00:04 +00:00
glx
02d63f45e2 (svn r21321) -Fix (r21298): use the correct font sizes when checking for missing glyphs 2010-11-25 15:20:10 +00:00
rubidium
4e78e7b6c2 (svn r21320) -Fix (r21298): somehow a semicolon got lost 2010-11-25 14:55:01 +00:00
smatz
9594a3f7c5 (svn r21319) -Fix: crash when creating file download by the content download system failed 2010-11-25 13:43:09 +00:00
smatz
eb4516e50c (svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed 2010-11-25 13:41:30 +00:00
rubidium
be1df5f720 (svn r21317) -Change: improve the wording of some of the settings strings 2010-11-24 23:30:42 +00:00
planetmaker
974cff7299 (svn r21316) -Fix: Some more strings where 'player' actually meant 'company' 2010-11-24 23:29:59 +00:00
rubidium
bfbb2bdc3f (svn r21315) -Cleanup: remove a pair of unused strings 2010-11-24 23:17:52 +00:00
rubidium
31a5f8f043 (svn r21314) -Fix [FS#4253]: [NewGRF] (Hopefully) make callback 157 behave more like TTDPatch does, i.e. fall back to the default check when the callback is not yielding a result for a tile instead of disallowing building the object 2010-11-24 23:08:12 +00:00
planetmaker
753b1ca0a7 (svn r21313) -Fix: Max vehicle settings are per company, not per player 2010-11-24 22:54:16 +00:00
translators
c282e1a948 (svn r21312) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
dutch - 4 changes by Yexo
portuguese - 43 changes by Samu
2010-11-24 18:45:13 +00:00
rubidium
090d6fb8b7 (svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond 2010-11-24 17:00:37 +00:00
rubidium
3330dee7e0 (svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strndup 2010-11-24 08:08:23 +00:00
glx
4231154bb4 (svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function 2010-11-24 01:08:49 +00:00
rubidium
bb02e30a37 (svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync 2010-11-23 23:59:24 +00:00
glx
e0432a4585 (svn r21307) -Fix (r21306): forgot a # 2010-11-23 23:29:14 +00:00
glx
707d76df30 (svn r21306) -Add: genders for portuguese language 2010-11-23 23:27:55 +00:00
smatz
3302a520f4 (svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning 2010-11-23 22:16:11 +00:00
rubidium
c5cbb61c11 (svn r21301) -Fix: failure of WT3 to properly validate some string... 2010-11-23 18:47:57 +00:00
translators
b0d8cbe865 (svn r21300) -Update from WebTranslator v3.0:
chuvash - 21 changes by mefisteron
polish - 3 changes by voythas
vietnamese - 1 changes by nglekhoi
2010-11-23 18:45:11 +00:00
rubidium
33e3d7f6a2 (svn r21299) -Fix (r21263): a road vehicle in a depot or wormhole could get into an incorrect state upon savegame conversion causing it to break up later in the game 2010-11-23 18:26:02 +00:00
glx
d9173858a2 (svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change 2010-11-23 17:59:50 +00:00
translators
2e338ba520 (svn r21296) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
croatian - 1 changes by VoyagerOne
dutch - 11 changes by habell
french - 7 changes by glx
irish - 7 changes by tem
korean - 4 changes by junho2813
romanian - 5 changes by tonny
slovak - 4 changes by marek995
2010-11-22 18:45:27 +00:00
rubidium
3cf9f175d8 (svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO) 2010-11-22 17:59:11 +00:00
rubidium
ac2f9b0d76 (svn r21293) -Fix: failure of WT3 to properly validate some string... 2010-11-21 18:47:09 +00:00
translators
e5002c3bcf (svn r21292) -Update from WebTranslator v3.0:
croatian - 2 changes by VoyagerOne
esperanto - 7 changes by Christopher
hungarian - 3 changes by IPG
portuguese - 4 changes by JayCity
ukrainian - 10 changes by Fixer
vietnamese - 2 changes by nglekhoi
2010-11-21 18:45:22 +00:00
frosch
55d604e60d (svn r21291) -Fix: Treat objects on water like water in more cases. 2010-11-21 18:39:12 +00:00
frosch
612516ff76 (svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests. 2010-11-21 18:38:45 +00:00
frosch
0fff26db97 (svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects. 2010-11-21 17:42:18 +00:00
frosch
d5360390d0 (svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas. 2010-11-21 17:05:23 +00:00
smatz
752aab7e11 (svn r21285) -Codechange: prevent ICC warning 2010-11-21 16:32:53 +00:00
alberth
3e27739287 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 2010-11-21 12:47:04 +00:00
alberth
5f8afaadb7 (svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional. 2010-11-21 12:38:16 +00:00
alberth
edef25d30c (svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore(). 2010-11-21 12:31:16 +00:00
alberth
2974141641 (svn r21281) -Doc: Add doxygen comments to saveload code. 2010-11-21 12:12:23 +00:00
rubidium
f70202bfa8 (svn r21280) -Merge: documentation updates from 1.0 2010-11-20 21:27:21 +00:00
rubidium
54c5bb7149 (svn r21277) -Fix: failure of WT3 to properly validate some string... 2010-11-20 18:47:36 +00:00
translators
228b7db671 (svn r21276) -Update from WebTranslator v3.0:
czech - 8 changes by marek995
finnish - 1 changes by jpx_
german - 2 changes by planetmaker
italian - 3 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 3 changes by etran
slovak - 1 changes by marek995
slovenian - 2 changes by ntadej
2010-11-20 18:45:28 +00:00
frosch
88063f6fa3 (svn r21275) -Fix (r21272): Draw NW+SW fences in the correct order. 2010-11-20 15:57:25 +00:00
frosch
636ffdc53b (svn r21274) -Change: Increase the bounding box size of hangars in the hope it fixes more glitches than it causes. 2010-11-20 15:54:54 +00:00
alberth
ab50f74d7f (svn r21273) -Codechange: Return values should start at the same line. 2010-11-20 15:44:24 +00:00
frosch
38dc34828e (svn r21272) -Change [FS#119-ish]: Draw airport fences as groundsprites on runway/taxiway tiles. This makes the usual foundation-glitch a lot less likely to happen. 2010-11-20 14:45:52 +00:00
rubidium
3ca5951478 (svn r21271) -Change: use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations) 2010-11-20 14:34:57 +00:00
alberth
3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 2010-11-20 14:15:02 +00:00
frosch
5d72befbcd (svn r21269) -Codechange: Add TILE_SEQ_CHILD macro to construct child sprites in default stations sprite layouts. 2010-11-20 14:05:16 +00:00
rubidium
3f1de4926e (svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases 2010-11-20 13:57:49 +00:00
alberth
9d899b3758 (svn r21267) -Doc: Typo fixes. 2010-11-20 13:33:24 +00:00
rubidium
ffa437a6c1 (svn r21266) -Change: don't receive money for removing the rail of non-rail railstation tiles, i.e. rail station tiles for which the NewGRF has prevented trains to be routed 2010-11-20 12:52:06 +00:00
alberth
d6afbd025c (svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available. 2010-11-20 12:20:59 +00:00
rubidium
097880c5e2 (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 2010-11-20 09:09:57 +00:00
frosch
f80af8f8c8 (svn r21262) -Fix (r18708)[FS#4246]: Custom station foundations using the 'simple foundations'-method did not draw any sprite for WSE-slopes when there are foundations on both neighboured tiles in the north. As there must be at least one sprite to provide the correct offset for the groundsprite draw the (empty) default foundation sprite in that case. 2010-11-20 00:24:50 +00:00
rubidium
6fa54473be (svn r21261) -Codechange: beat some sense into some variable names 2010-11-19 23:08:45 +00:00
rubidium
ede2fb8176 (svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings 2010-11-19 19:38:02 +00:00
rubidium
8ba6d25db6 (svn r21259) -Change: [NewGRF] Split var43 into var43 (animation stage) and var47 (object colour) 2010-11-19 19:25:35 +00:00
rubidium
0c6810eebe (svn r21258) -Fix: remove strings with the U+FFFD "replacement character" 2010-11-19 18:47:09 +00:00
translators
8133032874 (svn r21257) -Update from WebTranslator v3.0:
arabic_egypt - 6 changes by kasakg
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
lithuanian - 63 changes by BlinK_
portuguese - 8 changes by JayCity
spanish - 4 changes by Terkhen
turkish - 5 changes by niw3
2010-11-19 18:45:27 +00:00
rubidium
874abb2965 (svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost 2010-11-19 15:55:53 +00:00
rubidium
999246f63e (svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu 2010-11-19 13:24:32 +00:00
rubidium
6d09f4a3cb (svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow 2010-11-19 12:33:19 +00:00
rubidium
611a9f2007 (svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version 2010-11-19 10:58:38 +00:00
rubidium
ab44c91778 (svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it 2010-11-19 10:35:59 +00:00
rubidium
924a924907 (svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs 2010-11-18 23:31:06 +00:00
rubidium
40258d927f (svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo) 2010-11-18 23:09:24 +00:00
rubidium
ed04bef953 (svn r21248) -Codechange: don't run the tar scanner twice upon startup 2010-11-18 22:27:15 +00:00
rubidium
f7b2a87292 (svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars 2010-11-18 22:26:29 +00:00
rubidium
c7f0518f16 (svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all 2010-11-18 22:24:10 +00:00
planetmaker
94c45d9cc3 (svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happy 2010-11-18 20:45:27 +00:00
rubidium
16c90ed48b (svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead 2010-11-18 19:24:40 +00:00
rubidium
60e153002c (svn r21243) -Fix: load of failures of WT3 to properly validate some strings... 2010-11-18 18:50:17 +00:00
translators
72a6fc8aaf (svn r21242) -Update from WebTranslator v3.0:
belarusian - 12 changes by KorneySan
croatian - 6 changes by VoyagerOne
czech - 1 changes by SmatZ
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
hungarian - 12 changes by IPG
italian - 6 changes by lorenzodv
russian - 7 changes by KorneySan, Lone_Wolf
serbian - 14 changes by etran
slovenian - 83 changes by ntadej
spanish - 8 changes by Terkhen
swedish - 12 changes by Zuu
vietnamese - 5 changes by nglekhoi
2010-11-18 18:45:42 +00:00
terkhen
f31485a2f9 (svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages. 2010-11-18 17:49:42 +00:00
rubidium
2223ff92c7 (svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo) 2010-11-18 14:32:09 +00:00
rubidium
46186134c8 (svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo) 2010-11-18 14:20:03 +00:00
rubidium
61ff042460 (svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships (Hirundo) 2010-11-18 14:17:55 +00:00
rubidium
9af570eab4 (svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo) 2010-11-18 14:15:27 +00:00
rubidium
34c658b203 (svn r21236) -Codechange: Make the visual effects drawing routine work for all vehicle types (Hirundo) 2010-11-18 14:11:50 +00:00
rubidium
b9407f7ca0 (svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo) 2010-11-18 14:09:39 +00:00
rubidium
797435f05d (svn r21234) -Codechange: Make Train::UpdateVisualEffect work for all vehicle types (Hirundo) 2010-11-18 14:07:48 +00:00
rubidium
f4689f4301 (svn r21233) -Codechange: Introduce an enum to remove some magic numbers from the visual effect code (Hirundo) 2010-11-18 14:04:36 +00:00
rubidium
79c47ef8b0 (svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo) 2010-11-18 14:03:12 +00:00
rubidium
5a503d505b (svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo) 2010-11-18 14:01:20 +00:00
rubidium
31c0ba9d29 (svn r21230) -Fix/Change/Feature: [NewGRF] Make positioning of diesel fumes and electric sparks actually work (Hirundo). 2010-11-18 13:51:54 +00:00
rubidium
6878a0ffd7 (svn r21229) -Fix [FS#4130]: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases 2010-11-17 23:07:53 +00:00
rubidium
19cbf9b479 (svn r21228) -Fix: some MSVC 64 bits warnings 2010-11-17 19:43:15 +00:00
rubidium
4e16467f5b (svn r21227) -Fix (r21222): conversion didn't go right when cases were involved 2010-11-17 19:41:58 +00:00
rubidium
864ab05cd0 (svn r21226) -Fix: load of failures of WT3 to properly validate some strings... 2010-11-17 18:50:08 +00:00
translators
7d8a886d92 (svn r21225) -Update from WebTranslator v3.0:
croatian - 7 changes by VoyagerOne
czech - 14 changes by SmatZ
dutch - 2 changes by habell
finnish - 8 changes by USephiroth
french - 6 changes by glx
german - 12 changes by planetmaker
italian - 11 changes by lorenzodv
macedonian - 116 changes by RCTMASTA
portuguese - 4 changes by JayCity
romanian - 9 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 8 changes by Terkhen
vietnamese - 5 changes by nglekhoi
2010-11-17 18:45:46 +00:00
rubidium
7826b78415 (svn r21224) -Fix [FS#4172]: [NewGRF] The specs' cargo strings and OpenTTD's use of the clashed. Provide properties so NewGRFs can provide cargo strings tailored for OpenTTD while retaining (some) backward compatability 2010-11-17 18:35:59 +00:00
rubidium
602a0f10fa (svn r21223) -Fix: use proper plural for the short cargo unit names 2010-11-17 18:16:21 +00:00
rubidium
418cca075f (svn r21222) -Codechange: unify some string drawing and make it use the proper infrastructure for that... 2010-11-17 18:15:27 +00:00
rubidium
a950e9a4a8 (svn r21221) -Fix (r11429): short cargo units names for some cargo types/strings are not properly mapped to the strings that we use for the default industries 2010-11-17 18:04:11 +00:00
rubidium
3136775bbe (svn r21220) -Codechange: give a string a much better name 2010-11-17 17:52:10 +00:00
yexo
8578ec7496 (svn r21218) -Fix (r21189)[FS#4236]: don't force a minimum speed when braking 2010-11-16 23:38:05 +00:00
frosch
33281491b1 (svn r21217) -Add: Plural codes to some english strings. 2010-11-16 21:11:34 +00:00
rubidium
18f0f1d81d (svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for plurals 2010-11-16 21:03:39 +00:00
rubidium
ebf7b915b0 (svn r21215) -Codechange: store the plural form in the plural (choice) lists 2010-11-16 21:01:56 +00:00
terkhen
c96cb9ce37 (svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers. 2010-11-16 20:56:04 +00:00
translators
07ad8851cc (svn r21212) -Update from WebTranslator v3.0:
dutch - 4 changes by habell
2010-11-16 18:45:06 +00:00
rubidium
ddf71db8c2 (svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders 2010-11-16 16:58:19 +00:00
rubidium
0f9c40244a (svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring 2010-11-16 14:00:02 +00:00
rubidium
0500c92003 (svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names 2010-11-16 12:47:22 +00:00
rubidium
e84c52e662 (svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic 2010-11-16 12:35:16 +00:00
rubidium
b00858473c (svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next colour code) is not implemented 2010-11-16 12:18:35 +00:00
terkhen
d7aa9a6bd1 (svn r21205) -Fix [FS#4207]: Under some conditions, group count would be wrong after moving train engines in the depot window. 2010-11-16 12:05:41 +00:00
rubidium
0f2a9877b8 (svn r21204) -Codechange: unify style of string code conversion 2010-11-16 11:50:26 +00:00
rubidium
4b4db5d86e (svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well 2010-11-16 11:42:47 +00:00
rubidium
4965c7dd2b (svn r21202) -Codechange: allow strings with embedded '\0' in GRFText. 2010-11-16 11:34:19 +00:00
rubidium
a15d309721 (svn r21201) -Document: some GRFText methods/fields 2010-11-16 11:25:19 +00:00
planetmaker
8d42b04e3b (svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode 2010-11-15 19:53:15 +00:00
translators
be0a922be5 (svn r21199) -Update from WebTranslator v3.0:
belarusian - 4 changes by KorneySan
croatian - 4 changes by VoyagerOne
hungarian - 4 changes by IPG
norwegian_bokmal - 4 changes by mantaray
russian - 4 changes by Lone_Wolf
slovenian - 4 changes by ntadej
2010-11-15 18:45:23 +00:00
rubidium
a6a2fbd937 (svn r21198) -Fix: don't call variables properties in debug messages 2010-11-15 16:43:46 +00:00
planetmaker
b7d8001202 (svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters 2010-11-15 08:31:07 +00:00
rubidium
d572100585 (svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing 2010-11-14 21:39:12 +00:00
translators
6433ce5f6c (svn r21193) -Update from WebTranslator v3.0:
french - 4 changes by glx
serbian - 4 changes by etran
2010-11-14 18:45:10 +00:00
frosch
478da38d2b (svn r21192) -Fix (r15505)[FS#4226]: Use non-interactive randomness for townnames on map generation, so they are controlled by the generation-seed as well. 2010-11-14 16:16:28 +00:00
terkhen
1fe2ce42ca (svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown. 2010-11-14 16:13:07 +00:00
terkhen
eda95bb85c (svn r21189) -Fix: Force a minimum speed for trains when using the realistic acceleration model. 2010-11-14 15:48:24 +00:00
translators
41c97d051f (svn r21185) -Update from WebTranslator v3.0:
traditional_chinese - 5 changes by josesun
finnish - 17 changes by USephiroth
german - 4 changes by planetmaker
luxembourgish - 5 changes by Phreeze
polish - 5 changes by xaxa
brazilian_portuguese - 2 changes by bmnds
russian - 5 changes by Lone_Wolf
slovak - 4 changes by marek995
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-11-14 13:00:56 +00:00
rubidium
673b3711b4 (svn r21182) -Fix: possible just-freed memory reads 2010-11-14 12:05:24 +00:00
rubidium
a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 2010-11-13 23:40:36 +00:00
rubidium
fc75b00992 (svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well 2010-11-13 19:15:26 +00:00
rubidium
034eb834cc (svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage 2010-11-13 19:10:30 +00:00
translators
46cdc7b3d3 (svn r21176) -Update from WebTranslator v3.0:
portuguese - 1 changes by frosch
brazilian_portuguese - 9 changes by bmnds
swedish - 1 changes by Zuu
turkish - 33 changes by niw3
2010-11-13 18:45:17 +00:00
alberth
2c4564c7dd (svn r21175) -Add: Forced construction of missing industries. 2010-11-13 15:21:55 +00:00
alberth
0c775e5750 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 2010-11-13 15:20:57 +00:00
alberth
a245db6360 (svn r21173) -Codechange: Don't recompute target industry counts each time. 2010-11-13 15:19:43 +00:00
alberth
eb4ab0091a (svn r21172) -Feature: Better control over how many new industries are created during the game. 2010-11-13 15:17:55 +00:00
alberth
f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 2010-11-13 15:15:25 +00:00
alberth
4d419b9f3e (svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future). 2010-11-13 15:13:14 +00:00
alberth
67549a206c (svn r21169) -Feature: Do not build industries during economic recession. 2010-11-13 15:08:47 +00:00
alberth
3211ab301e (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 2010-11-13 15:07:34 +00:00
alberth
e861487bcb (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 2010-11-13 15:04:58 +00:00
alberth
1bf94674df (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 2010-11-13 15:02:31 +00:00
rubidium
d46a2ef122 (svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well 2010-11-13 14:36:43 +00:00
rubidium
8aba642ed5 (svn r21164) -Codechange: replace the hardcoded array of language metadata with a list 2010-11-13 12:09:30 +00:00
rubidium
68b94e61e0 (svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers 2010-11-13 11:38:01 +00:00
rubidium
a664227c8e (svn r21162) -Codechange: move the config "field" for the language file out of dynlang 2010-11-13 11:28:55 +00:00
rubidium
f4e4056aed (svn r21161) -Codechange: make the currently used language easier accessible 2010-11-13 11:25:58 +00:00
rubidium
f195920695 (svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk 2010-11-13 11:11:02 +00:00
alberth
239fcc8ccd (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 2010-11-13 10:17:16 +00:00
alberth
6c088543c1 (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 2010-11-13 10:11:47 +00:00
rubidium
30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
alberth
43f807a918 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 2010-11-13 09:45:20 +00:00
rubidium
aea8274dba (svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched 2010-11-12 21:40:43 +00:00
rubidium
9770d88412 (svn r21154) -Fix [FS#4223]: OPF has been removed for trains, so the 90 degree turn option doesn't need to mention it's not supported for OPF 2010-11-12 21:37:15 +00:00
rubidium
395335c197 (svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone. 2010-11-12 19:40:39 +00:00
translators
15dafc4dc2 (svn r21152) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
polish - 2 changes by silver_777
2010-11-12 18:45:10 +00:00
rubidium
0fc5206a5b (svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string 2010-11-12 16:29:09 +00:00
rubidium
671158acd8 (svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4 2010-11-12 12:00:03 +00:00
terkhen
13685c0210 (svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types. 2010-11-11 22:19:27 +00:00
translators
f3574a273b (svn r21147) -Update from WebTranslator v3.0:
basque - 49 changes by HerrBasque
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
2010-11-11 18:45:12 +00:00
rubidium
67d071d033 (svn r21145) -Fix: station list wasn't updated when a new cargo got a rating 2010-11-11 10:34:44 +00:00
rubidium
e745bd9815 (svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting 2010-11-11 10:34:01 +00:00
rubidium
6a1a4fc5bb (svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting 2010-11-11 09:12:01 +00:00
rubidium
ed18d02e9a (svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657) 2010-11-10 23:43:14 +00:00
rubidium
65e6c9fd12 (svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo) 2010-11-10 23:16:28 +00:00
rubidium
b50aeb9552 (svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo) 2010-11-10 23:15:48 +00:00
rubidium
f118744ff2 (svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo) 2010-11-10 23:14:48 +00:00
rubidium
8b8b4e083c (svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo) 2010-11-10 23:13:37 +00:00
rubidium
72a6eeef26 (svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed 2010-11-10 22:56:05 +00:00
rubidium
d1dfb27699 (svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle 2010-11-10 20:15:48 +00:00
smatz
b8cb654adc (svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn 2010-11-10 19:54:20 +00:00
rubidium
1ddc05e822 (svn r21134) -Change: perform some more stringent validity checking on the language files 2010-11-10 17:49:44 +00:00
rubidium
17b514ccd1 (svn r21133) -Add: function to check the validity of a string (without modifying it) 2010-11-10 17:49:14 +00:00
rubidium
8cd48767f9 (svn r21132) -Codechange: unify the language file version/validity checking 2010-11-10 17:48:31 +00:00
rubidium
2df2c021df (svn r21131) -Codechange: show a (debug) warning when the GRF ID of a NewGRF differs between the file scan and other stages 2010-11-10 17:04:32 +00:00
rubidium
016b9f289f (svn r21130) -Fix [FS#4208-ish]: under some circumstances static (disabled/influencing) NewGRFs weren't properly ignored which could cause a desync 2010-11-10 17:03:01 +00:00
rubidium
bb19bdd566 (svn r21129) -Fix [FS#4208-ish]: Crash when showing the "disabled static NewGRF for desync purposes" message 2010-11-10 17:02:12 +00:00
rubidium
0f5c1e2eaf (svn r21128) -Fix [FS#4208]: Crash when disabling static NewGRFs (when joining/starting a server) 2010-11-10 17:01:29 +00:00
rubidium
15defb219f (svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name 2010-11-10 16:31:46 +00:00
rubidium
7c7a0cc3f7 (svn r21126) -Codechange: increase the limit of languages OpenTTD can know about to the limit imposed by the NewGRF specs as we're already quite close to the limit; less than 10% from the limit with the currently translated languages 2010-11-10 16:25:20 +00:00
rubidium
ab31493dc2 (svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game 2010-11-09 21:57:02 +00:00
translators
b3ab73164c (svn r21124) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
irish - 3 changes by tem
romanian - 1 changes by kkmic
slovenian - 2 changes by ntadej
2010-11-09 18:45:17 +00:00
terkhen
6a38925ca3 (svn r21123) -Codechange: Remove max_speed from the Vehicle class. 2010-11-09 17:43:05 +00:00
terkhen
e1ff8aeb09 (svn r21122) -Fix (r21100): Use the cached max speed when checking road vehicle overtaking. 2010-11-09 17:39:41 +00:00
terkhen
e08aa7e8e6 (svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles. 2010-11-09 17:36:40 +00:00
terkhen
c6ad6f52a9 (svn r21120) -Fix (r21096): Use the engine max speed value instead of the savegame value, as the latter could be stored in old units in old savegames. 2010-11-09 10:56:02 +00:00
frosch
b1765482d2 (svn r21119) -Fix: Helicopter flight altitude was determined inconsistently in different places. 2010-11-08 21:26:32 +00:00
frosch
c0ea0ac301 (svn r21118) -Codechange: Name and deduplicate some magic numbers. 2010-11-08 21:22:21 +00:00
translators
54c6e23f78 (svn r21117) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 1 changes by marek995
french - 1 changes by glx
korean - 1 changes by junho2813
spanish - 1 changes by Terkhen
2010-11-08 18:45:22 +00:00
planetmaker
5565ae1ac0 (svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs 2010-11-07 21:46:41 +00:00
rubidium
b9ccf6dccc (svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported 2010-11-07 20:57:41 +00:00
translators
12f9212239 (svn r21114) -Update from WebTranslator v3.0:
basque - 11 changes by HerrBasque
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 4 changes by lorenzodv
malay - 14 changes by rionix88
norwegian_bokmal - 3 changes by mantaray
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-07 18:45:34 +00:00
rubidium
28ed77c354 (svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is 2010-11-07 18:35:59 +00:00
rubidium
a89fed21c7 (svn r21112) -Codechange: reduce the amount (of copying) variables 2010-11-07 18:20:18 +00:00
alberth
17695611cb (svn r21111) -Add: Remove the buttons below the newgrf details if the list is not editable. 2010-11-07 13:56:13 +00:00
alberth
a026ee9b4c (svn r21110) -Add: Tidy up the buttons of the active newgrfs list. 2010-11-07 13:54:49 +00:00
alberth
5962e1db3a (svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable. 2010-11-07 13:54:04 +00:00
alberth
f961fe626b (svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget. 2010-11-07 13:51:34 +00:00
michi_cc
b26b8b5b2a (svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant. 2010-11-07 13:35:12 +00:00
michi_cc
2d801c64a1 (svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more. 2010-11-07 13:35:07 +00:00
planetmaker
1ee62de0a3 (svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort 2010-11-06 20:20:03 +00:00
planetmaker
2364ac83a0 (svn r21104) -Doc: Add doxygen commands to a few functions 2010-11-06 20:12:20 +00:00
planetmaker
eaae7ab8b1 (svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles 2010-11-06 20:11:36 +00:00
translators
59d32eff47 (svn r21102) -Update from WebTranslator v3.0:
malay - 39 changes by rionix88
2010-11-06 18:45:07 +00:00
planetmaker
c36da4841b (svn r21101) -Doc: Additions and clarifications of doxygen comments 2010-11-06 16:55:15 +00:00
terkhen
b65df93121 (svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed). 2010-11-06 13:11:24 +00:00
terkhen
18e3a3ddfc (svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache. 2010-11-06 13:05:11 +00:00
terkhen
25d1b2f54b (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 2010-11-06 13:03:17 +00:00
terkhen
c8a56f17f8 (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 2010-11-06 12:53:31 +00:00
terkhen
78d0a1cb1a (svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value. 2010-11-06 12:50:34 +00:00
terkhen
cfac2ced69 (svn r21095) -Codechange: Use a function to convert aircraft speed to old units. 2010-11-06 12:47:12 +00:00
terkhen
609e6dae3f (svn r21094) -Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed. 2010-11-06 12:45:40 +00:00
terkhen
5f72460cac (svn r21093) -Codechange: Align some functions. 2010-11-06 12:42:04 +00:00
terkhen
766bf140db (svn r21092) -Codechange: Merge max speed functions. 2010-11-06 12:40:38 +00:00
terkhen
d699c4a345 (svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity. 2010-11-06 12:39:18 +00:00
terkhen
8eb3d653da (svn r21090) -Codechange: Rename VehicleCache to NewGRFCache. 2010-11-06 12:37:55 +00:00
translators
98744c5ff0 (svn r21089) -Update from WebTranslator v3.0:
luxembourgish - 5 changes by Phreeze
2010-11-05 18:45:07 +00:00
alberth
fa13971337 (svn r21088) -Doc: Additions/corrections of doxygen comments. 2010-11-05 16:34:22 +00:00
alberth
5e3991e20e (svn r21087) -Doc: Align and make existing comments available for doxygen. 2010-11-05 15:48:30 +00:00
rubidium
399eedd884 (svn r21086) -Feature-ish: [NewGRF] String code to print the weight in format based on settings 2010-11-05 13:40:18 +00:00
rubidium
a6f4769ec7 (svn r21085) -Feature-ish: [NewGRF] Implement stringcode 9A 0C (station name) 2010-11-05 13:34:39 +00:00
rubidium
f368d0c449 (svn r21084) -Codechange: name a variable to cover its actual implementation better 2010-11-05 13:21:30 +00:00
belugas
fc0e64586c (svn r21083) -Codechange: Limit the number of exceptions in the refittable cargo list to 7 (Eddi) 2010-11-04 19:48:25 +00:00
terkhen
42ee8f7df7 (svn r21082) -Fix (r21080): Compilation error. 2010-11-04 19:34:40 +00:00
translators
dbfffd717f (svn r21081) -Update from WebTranslator v3.0:
ukrainian - 4 changes by Madvin
2010-11-04 18:45:06 +00:00
terkhen
725cf7d8bb (svn r21080) -Fix: Do not allow to use a custom water level with the original map generator. 2010-11-04 18:34:37 +00:00
belugas
ab9279b5a0 (svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work) 2010-11-04 17:42:24 +00:00
rubidium
b1c95e12f1 (svn r21078) -Fix [FS#4203]: snowline didn't want to be very high 2010-11-03 22:03:12 +00:00
translators
b57a527e12 (svn r21077) -Update from WebTranslator v3.0:
danish - 8 changes by beruic
2010-11-03 18:45:06 +00:00