michi_cc
901a526f8c
(svn r20507) -Change: Remove the shortcut hints from the screenshot menu strings (as they're configurable now) and rename "Giant screenshot" to "Whole map screenshot".
2010-08-15 23:32:32 +00:00
michi_cc
29e7f55d94
(svn r20506) -Change: Vehicles will now stop loading after a load cycle that loaded less than possible, unless it's a full load order. This should improve behaviour with gradual loading and cargo continuously trickling in.
2010-08-15 22:37:30 +00:00
frosch
d08c3d9381
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
2010-08-15 19:59:48 +00:00
frosch
c4f630e5ba
(svn r20504) -Codechange: Move updating of train's visual effect to separate function.
2010-08-15 19:53:53 +00:00
frosch
fe3c70624e
(svn r20503) -Fix (r18838): Powered wagons should check the railtype of the tile they are on, not where the engine is on.
2010-08-15 18:35:57 +00:00
frosch
b5cf9bc034
(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags.
2010-08-15 18:25:57 +00:00
translators
2b1dc34259
(svn r20501) -Update from WebTranslator v3.0:
...
simplified_chinese - 3 changes by pda1573
chuvash - 7 changes by mefisteron
estonian - 5 changes by Jaanus
hungarian - 6 changes by IPG
turkish - 28 changes by niw3
2010-08-15 17:45:15 +00:00
frosch
591052013d
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
2010-08-15 15:47:07 +00:00
alberth
a51d34c048
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
2010-08-15 14:06:43 +00:00
rubidium
e5420d89d5
(svn r20498) -Fix [FS#4030]: ignore the non-stop state when comparing one order type to another order type
2010-08-15 13:17:04 +00:00
rubidium
71498d6d79
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
2010-08-15 11:58:20 +00:00
frosch
1bc01bc4b6
(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions.
2010-08-15 10:14:08 +00:00
translators
47137854d3
(svn r20493) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
polish - 2 changes by silver_777
russian - 4 changes by Lone_Wolf
slovenian - 31 changes by ntadej
vietnamese - 1 changes by nglekhoi
2010-08-14 17:45:24 +00:00
rubidium
7ae80eec64
(svn r20489) -Fix [FS#4031]: [NoAI] checking whether water tiles are connected failed in some cases
2010-08-14 09:46:36 +00:00
rubidium
7b37f56b3f
(svn r20487) -Fix: typo in comments
2010-08-14 09:04:37 +00:00
translators
fd6c993a0e
(svn r20486) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
croatian - 4 changes by VoyagerOne
dutch - 4 changes by habell
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 3 changes by planetmaker
italian - 2 changes by lorenzodv
polish - 5 changes by xine
serbian - 6 changes by etran
spanish - 3 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-08-13 17:45:36 +00:00
terkhen
1f04e69a94
(svn r20485) -Fix [FS#4012]: Sorting of refittable cargos was wrong for trains.
2010-08-13 14:28:51 +00:00
terkhen
cfde29bdf4
(svn r20484) -Codechange: Move BuildRefitList to the RefitWindow class.
2010-08-13 14:26:29 +00:00
terkhen
76ebabf8f6
(svn r20483) -Doc: RefitOption operators.
2010-08-13 14:24:47 +00:00
rubidium
f336f61104
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
2010-08-13 12:45:26 +00:00
rubidium
0fd9d4ba1d
(svn r20481) -Fix: statues were not removed when towns would be removed
2010-08-13 11:58:45 +00:00
rubidium
cf8062c3bd
(svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though.
2010-08-13 11:57:59 +00:00
frosch
9f3e6ca197
(svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI.
2010-08-13 07:34:28 +00:00
yexo
8668f30020
(svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group
2010-08-13 00:36:12 +00:00
yexo
f1d3b66156
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
2010-08-13 00:21:03 +00:00
yexo
b27ab21895
(svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation
2010-08-12 22:36:42 +00:00
yexo
8baf3c7b53
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
2010-08-12 22:08:45 +00:00
yexo
b4ec144af2
(svn r20474) -Cleanup: remove some unused code
2010-08-12 21:36:43 +00:00
rubidium
662900c113
(svn r20473) -Codechange: pass Town instead of TownID to BuildObject
2010-08-12 19:18:58 +00:00
translators
92adfe0cad
(svn r20472) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
2010-08-12 17:45:09 +00:00
frosch
ba8d961664
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
2010-08-12 16:44:51 +00:00
frosch
399818e96f
(svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC.
2010-08-12 14:20:02 +00:00
frosch
d68e16cbce
(svn r20468) -Fix: Vehicledetails of non-trains accessed a non existing scrollbar, though values were unused.
2010-08-12 13:26:44 +00:00
frosch
0dfdfbffe4
(svn r20467) -Fix (r20453): Remove personal note.
2010-08-12 12:03:52 +00:00
frosch
2f284b463c
(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.
2010-08-12 11:53:11 +00:00
frosch
51f556093e
(svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar and 'sell chain' button for non-train depot windows.
2010-08-12 11:46:20 +00:00
frosch
6d7b2237f0
(svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of columns for non-train depot windows.
2010-08-12 11:21:30 +00:00
frosch
fa05534cc9
(svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'.
2010-08-12 09:47:48 +00:00
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
984e555cb4
(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead.
2010-08-12 09:14:34 +00:00
frosch
b98eba0fb2
(svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12 09:13:04 +00:00
frosch
92c34da796
(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp
2010-08-12 09:11:12 +00:00
frosch
807370d4b8
(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12 09:09:24 +00:00
frosch
e41130db84
(svn r20456) -Codechange: Add separate nested widget class for scrollbars.
2010-08-12 09:07:45 +00:00
frosch
ac83f92fdc
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
2010-08-12 08:42:37 +00:00
frosch
98bc6501c6
(svn r20454) -Fix: some whitespace.
2010-08-12 08:39:06 +00:00
frosch
4817d5dcd6
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
d2cd93fee2
(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget.
2010-08-12 06:40:28 +00:00
rubidium
54ba72863f
(svn r20450) -Fix: same the airport tile ID mapping as well
2010-08-11 19:09:26 +00:00
rubidium
95b208cde2
(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings
2010-08-11 18:57:48 +00:00
rubidium
5aab3e1948
(svn r20448) -Codechange: make some functions that can be const const
2010-08-11 18:50:23 +00:00
translators
41981ca62d
(svn r20447) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 3 changes by planetmaker
hungarian - 17 changes by IPG
irish - 7 changes by tem
romanian - 2 changes by tonny
spanish - 3 changes by Terkhen
swedish - 3 changes by Zuu
2010-08-11 17:45:29 +00:00
rubidium
8975ef1f7b
(svn r20446) -Codechange: unify the location of the water class
2010-08-11 14:14:06 +00:00
frosch
2221efd1e8
(svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs.
2010-08-11 07:42:47 +00:00
rubidium
72646d9e0d
(svn r20444) -Cleanup: unify writing of {NUM} x {NUM}
2010-08-10 23:32:09 +00:00
rubidium
bd4524646c
(svn r20443) -Codechange: more TileHash to a more generic location
2010-08-10 23:31:43 +00:00
translators
b96d6bba70
(svn r20442) -Update from WebTranslator v3.0:
...
czech - 2 changes by Hadez
dutch - 2 changes by habell
french - 2 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by lion
spanish - 2 changes by Terkhen
2010-08-10 17:45:21 +00:00
rubidium
33c41bbfed
(svn r20441) -Fix [FS#4024]: adding "goto nearest depot and stop" orders in one go was denied. This caused both AI adding those orders and backed up order restoration to fail.
2010-08-10 16:45:32 +00:00
rubidium
13fbe57957
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
2010-08-10 16:17:51 +00:00
rubidium
8ac6b5d351
(svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int
2010-08-10 16:15:42 +00:00
rubidium
71118b60ec
(svn r20438) -Fix [FS#4022]: for docks "facing" north, i.e. having the watery part a the northern side, the joiner had an off-by-one to the north w.r.t. the station spread against the actual other (correct) building tools
2010-08-10 16:13:51 +00:00
rubidium
b5d5a4e159
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
2010-08-10 15:54:53 +00:00
rubidium
443ecb986d
(svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations.
2010-08-10 15:51:33 +00:00
rubidium
3e1888287e
(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups
2010-08-10 15:49:35 +00:00
rubidium
4d16c007b7
(svn r20427) -Revert (r20105): even though MCI has less problems with wrongly pitched songs than dmusic, it crashed instead.
2010-08-09 18:29:13 +00:00
translators
3adf315c87
(svn r20425) -Update from WebTranslator v3.0:
...
simplified_chinese - 14 changes by pda1573
traditional_chinese - 32 changes by josesun
chuvash - 25 changes by mefisteron
croatian - 3 changes by VoyagerOne
estonian - 44 changes by KSiimson
german - 3 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
russian - 3 changes by Lone_Wolf
serbian - 2 changes by etran
2010-08-09 17:45:31 +00:00
terkhen
2c6a94b445
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
2010-08-09 10:59:30 +00:00
frosch
cab9bc419b
(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.
2010-08-09 07:32:04 +00:00
frosch
12ed2a7597
(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.
2010-08-09 07:30:50 +00:00
frosch
548f2cbf4e
(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge.
2010-08-09 07:19:44 +00:00
frosch
b2ea8b196a
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
2010-08-09 07:10:42 +00:00
frosch
811c7f6c25
(svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp
2010-08-09 06:48:52 +00:00
frosch
cc8d0af77c
(svn r20418) -Fix [FS#4017](r20125): During world generation the snow-mapbits are not yet available, so test the snowline variable directly (as before).
2010-08-08 21:34:19 +00:00
rubidium
cd5180212e
(svn r20417) -Fix (r20345) [FS#4018]: the offset stored for objects shouldn't be substracted immediately from the TileIndex as that doesn't quite do the right thing
2010-08-08 19:50:07 +00:00
translators
6d926c57bc
(svn r20416) -Update from WebTranslator v3.0:
...
finnish - 3 changes by jpx_
german - 1 changes by BRFBlake
italian - 8 changes by lorenzodv
romanian - 2 changes by tonny
2010-08-08 17:45:15 +00:00
alberth
9b10773428
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
2010-08-08 11:21:24 +00:00
alberth
15f407acea
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
2010-08-08 11:17:14 +00:00
rubidium
7b3ee58d03
(svn r20413) -Fix (r20326): some comments got a bit outdated
2010-08-08 11:12:34 +00:00
alberth
5967b81124
(svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick.
2010-08-08 11:02:57 +00:00
rubidium
1f2276b785
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
2010-08-08 10:59:30 +00:00
alberth
67be093e57
(svn r20410) -Codechange: Move smallmap map-type switching to a function.
2010-08-08 10:47:09 +00:00
rubidium
92767f454e
(svn r20409) -Codechange: reduce the number of includes needed by newgrf.h
2010-08-08 09:07:40 +00:00
frosch
eb7ea24aec
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
2010-08-08 08:52:47 +00:00
rubidium
b6263d2034
(svn r20407) -Codechange: make AirportClass use the new generic class
2010-08-07 22:08:20 +00:00
rubidium
40ab6a3298
(svn r20406) -Codechange: make StationClass use the new generic class
2010-08-07 22:07:07 +00:00
rubidium
abcd7ffa5f
(svn r20405) -Add: generic class for "classes" for NewGRFs, e.g. the Station classes and Airport classes
2010-08-07 22:05:58 +00:00
rubidium
7796204a82
(svn r20404) -Codechange: remove the need for StationSpec::allocated
2010-08-07 21:39:30 +00:00
rubidium
8f1d0358bd
(svn r20402) -Codechange: rename the airport/station class id to something slightly more generic
2010-08-07 21:10:57 +00:00
rubidium
da8c058b89
(svn r20401) -Codechange: let HouseSpec use GRFFileProps
2010-08-07 21:03:38 +00:00
rubidium
3285c6ab58
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
2010-08-07 20:52:45 +00:00
yexo
ecb6d8cf74
(svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type
2010-08-07 20:51:53 +00:00
rubidium
c9c46be3fb
(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase
2010-08-07 20:51:07 +00:00
alberth
a90c30d614
(svn r20397) -Feature: Display industry smallmap colour in the industry chain window.
2010-08-07 20:36:23 +00:00
yexo
5162f28c27
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
2010-08-07 20:11:27 +00:00
translators
79dd7df9fb
(svn r20395) -Update from WebTranslator v3.0:
...
romanian - 126 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 5 changes by etran
swedish - 1 changes by Zuu
ukrainian - 9 changes by Fixer
2010-08-07 17:45:19 +00:00
yexo
a08fe2ac41
(svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels
2010-08-06 20:52:53 +00:00
alberth
f5964a46d2
(svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles.
2010-08-06 20:28:16 +00:00
alberth
3db5cfb95d
(svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles.
2010-08-06 20:26:01 +00:00
alberth
015195c312
(svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed.
2010-08-06 20:10:53 +00:00
alberth
2157341f90
(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.
2010-08-06 19:56:14 +00:00
rubidium
75f6f6eb0b
(svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid Order)" orders.
...
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
2010-08-06 19:04:21 +00:00
translators
894e9fc508
(svn r20388) -Update from WebTranslator v3.0:
...
belarusian - 216 changes by KorneySan, Wowanxm
croatian - 5 changes by VoyagerOne
dutch - 5 changes by Yexo
hungarian - 7 changes by IPG
italian - 5 changes by lorenzodv
korean - 5 changes by junho2813
polish - 5 changes by lion
portuguese - 10 changes by SupSuper
romanian - 11 changes by tonny
russian - 9 changes by KorneySan
spanish - 5 changes by Terkhen
swedish - 9 changes by tool
vietnamese - 4 changes by nglekhoi
2010-08-06 17:45:42 +00:00
alberth
9fed86a814
(svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'.
2010-08-06 12:23:44 +00:00
alberth
03e8fe7c0e
(svn r20386) -Fix: Initialize fund-industry buttons when opening window.
2010-08-06 12:19:01 +00:00
alberth
5f9d74467f
(svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method.
2010-08-06 12:12:20 +00:00
frosch
c8758fc7a7
(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger.
2010-08-05 19:23:19 +00:00
translators
80149f0f0a
(svn r20383) -Update from WebTranslator v3.0:
...
belarusian - 672 changes by KorneySan, Wowanxm
croatian - 2 changes by VoyagerOne
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 4 changes by dihedral
greek - 2 changes by fumantsu
hungarian - 10 changes by IPG
irish - 4 changes by tem
marathi - 44 changes by amitst
romanian - 77 changes by kkmic, tonny
russian - 6 changes by KorneySan
swedish - 17 changes by Zuu
2010-08-05 17:45:37 +00:00
frosch
20d2aec66c
(svn r20382) -Codechange: Hide default airport layoutname if there is only one layout.
2010-08-05 17:24:45 +00:00
frosch
4e0c6408eb
(svn r20379) -Codechange: Draw airport preview using company colours.
2010-08-05 17:16:31 +00:00
yexo
917d4cb7be
(svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports
2010-08-05 12:10:22 +00:00
yexo
c8d8c996c2
(svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ)
2010-08-05 12:09:08 +00:00
yexo
e6025117e2
(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
2010-08-05 12:06:53 +00:00
yexo
ccccb2c490
(svn r20374) -Codechange: add persistant storage for airports
2010-08-05 12:06:13 +00:00
yexo
51fe375651
(svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x"
2010-08-05 12:05:56 +00:00
yexo
0f131719aa
(svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui
2010-08-05 12:05:15 +00:00
yexo
7c2eaeee09
(svn r20371) -Codechange: add general function to call text callbacks for airports
2010-08-05 12:04:33 +00:00
yexo
f9f141c480
(svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites
2010-08-05 12:03:58 +00:00
yexo
f0bc18a792
(svn r20369) -Feature: preview sprites for airports
2010-08-05 12:03:34 +00:00
yexo
5d5ddf780a
(svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated
2010-08-05 12:03:06 +00:00
yexo
518241bc1b
(svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position
2010-08-05 12:02:22 +00:00
yexo
2743532ae5
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
2010-08-05 12:00:09 +00:00
yexo
7f7e3d4a3a
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
2010-08-05 11:59:07 +00:00
yexo
c072b50dc6
(svn r20364) -Codechange: add infrastructure for airport callbacks
2010-08-05 11:57:55 +00:00
translators
dc98432669
(svn r20363) -Update from WebTranslator v3.0:
...
belarusian - 83 changes by Wowanxm
dutch - 2 changes by habell
german - 9 changes by dihedral
italian - 5 changes by lorenzodv
korean - 2 changes by junho2813
spanish - 2 changes by Terkhen
2010-08-04 17:45:20 +00:00
yexo
b08037a3b4
(svn r20362) -Codechange: use correct parameter type for SetFill in airport gui
2010-08-04 10:33:18 +00:00
terkhen
aa0e57ad31
(svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out.
2010-08-04 08:58:45 +00:00
rubidium
73bbbabfa8
(svn r20360) -Update: move Belarusian to the finished languages
...
-Add: stub for Marathi language (one of the languages in India)
2010-08-04 08:47:44 +00:00
translators
73ce8f1c10
(svn r20359) -Update from WebTranslator v3.0:
...
belarusian - 597 changes by KorneySan, Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
polish - 5 changes by silver_777
russian - 20 changes by KorneySan
serbian - 2 changes by etran
2010-08-04 08:46:28 +00:00
rubidium
f5d93f1961
(svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled
2010-08-04 07:31:29 +00:00
frosch
dc60f8ce1a
(svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road.
2010-08-04 06:27:20 +00:00
rubidium
e69a9ba31d
(svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood...
2010-08-03 18:32:53 +00:00
michi_cc
b666885303
(svn r20355) -Fix (r20353): Stale comment.
2010-08-03 18:29:26 +00:00
rubidium
8dabbb1ebc
(svn r20354) -Fix: some compilation errors in (unfinished) translations
2010-08-03 18:08:49 +00:00
michi_cc
95f5ad8c79
(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals.
2010-08-03 17:48:07 +00:00
michi_cc
33ab403be8
(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.
2010-08-03 17:48:03 +00:00
michi_cc
80943c5ec7
(svn r20351) -Codechange: Uncouple water lock and depot drawing.
2010-08-03 17:47:43 +00:00
translators
80eea10a48
(svn r20350) -Update from WebTranslator v3.0:
...
belarusian - 1070 changes by KorneySan, Wowanxm
simplified_chinese - 7 changes by pda1573
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 44 changes by NG
indonesian - 6 changes by prof
korean - 2 changes by junho2813
russian - 8 changes by KorneySan, Lone_Wolf
serbian - 2 changes by etran
spanish - 6 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-08-03 17:45:43 +00:00
rubidium
afb7c7d813
(svn r20349) -Fix: don't pay stuff you didn't have to pay for previously :)
2010-08-03 16:42:47 +00:00
rubidium
f1458067e9
(svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the wrong axis
2010-08-03 16:38:15 +00:00
yexo
67adf766d0
(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found
2010-08-03 13:32:02 +00:00
rubidium
c8efb43aaf
(svn r20345) -Codechange: unify removing of objects a bit more
2010-08-03 13:03:25 +00:00
yexo
939abcc07c
(svn r20344) -Feature: add rescan_newgrf console command
2010-08-03 12:54:19 +00:00
rubidium
16ea560aaf
(svn r20343) -Fix (r20342): don't start svn commit too early... it won't see the later changes
2010-08-03 12:47:11 +00:00
rubidium
ac5e8d9825
(svn r20342) -Codechange: unify the construction of objects
2010-08-03 12:41:24 +00:00
rubidium
f475a7f5e7
(svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ
2010-08-03 12:36:40 +00:00
rubidium
e72a0a39bb
(svn r20340) -Codechange: introduce some flags for objects and use them in some places
2010-08-03 12:07:55 +00:00
rubidium
fbda65a676
(svn r20339) -Codechange: reorder the HQ drawing data so it's in a slightly more logical order from the map array's point of view.
2010-08-03 11:39:17 +00:00
rubidium
d23e2d64b8
(svn r20338) -Codechange: unify the unmovable tile drawing
2010-08-03 11:35:57 +00:00
rubidium
d7921b24e6
(svn r20337) -Codechange: unify the construction of objects on the map
2010-08-03 08:58:12 +00:00
rubidium
3a971a7f03
(svn r20336) -Codechange: rework the HQ updating
2010-08-03 08:32:58 +00:00
rubidium
eb0fa68722
(svn r20335) -Codechange: change the name of some unmovable map accessors
2010-08-03 08:16:06 +00:00
rubidium
5ed887648c
(svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension
2010-08-03 08:09:45 +00:00
frosch
f273f2a656
(svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms.
2010-08-02 23:35:47 +00:00
frosch
253fd969fd
(svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR.
2010-08-02 23:12:43 +00:00
yexo
0cd442ea18
(svn r20331) -Doc: some more airport-related code
2010-08-02 23:09:38 +00:00
rubidium
b5b5c21ee5
(svn r20330) -Codechange: unify the removal of unmovables a bit
2010-08-02 23:05:54 +00:00
yexo
ebd2f999f0
(svn r20329) -Codechange: align the data of the original airports so it's better readable
2010-08-02 22:27:42 +00:00
rubidium
7fe695dc28
(svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command
2010-08-02 22:10:05 +00:00
rubidium
2ac0a086ce
(svn r20327) -Change: don't let building e.g. road remove light houses and transmitters in the scenario editor
2010-08-02 22:03:28 +00:00
rubidium
9d76cac1a7
(svn r20326) -Codechange: move UnmovableType to its own file
2010-08-02 21:35:59 +00:00
yexo
2ead6100a2
(svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {}
2010-08-02 21:25:17 +00:00
yexo
d96f73665f
(svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station
2010-08-02 21:11:52 +00:00
terkhen
ec6cba6b92
(svn r20323) -Codechange: Move Delete town code to a command.
2010-08-02 21:07:23 +00:00
terkhen
014771848d
(svn r20322) -Codechange: Move Expand town code to a command.
2010-08-02 21:06:06 +00:00
rubidium
fd08e5d2d7
(svn r20321) -Codechange: rename GetUnmovableSpec to UnmovableSpec::Get and add+use a ::GetByTile
2010-08-02 20:57:32 +00:00
alberth
91eba89331
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
2010-08-02 20:47:27 +00:00
alberth
66b3d60b60
(svn r20319) -Codechange: Align comments, add indent to a function call.
2010-08-02 20:37:32 +00:00
alberth
ccbacfc298
(svn r20318) -Doc: Doxygen additions.
2010-08-02 20:32:39 +00:00
alberth
6c01a5833c
(svn r20317) -Codechange: Move variable declaration to their first use.
2010-08-02 20:19:10 +00:00
rubidium
742c0cd614
(svn r20316) -Document: some members/structs and functions and rename some slightly to better catch their meaning
2010-08-02 20:12:02 +00:00
michi_cc
b3b1102a1a
(svn r20315) -Codechange: Replace magic numbers by named constants.
2010-08-02 18:47:03 +00:00
michi_cc
ea41f5f5f2
(svn r20314) -Fix (r20312): Too many parameters, missed one.
2010-08-02 18:40:25 +00:00
michi_cc
cfdf92d290
(svn r20312) -Doc: Add missing doxygen comments to road map accessors.
2010-08-02 18:34:46 +00:00
yexo
3cf8186f54
(svn r20311) -Codechange: don't reserve extra space in the savegame that is never used
2010-08-02 18:24:09 +00:00
translators
d94a783735
(svn r20310) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
belarusian - 354 changes by KorneySan, Wowanxm
simplified_chinese - 5 changes by pda1573
traditional_chinese - 1 changes by pda1573
chuvash - 17 changes by mefisteron
french - 4 changes by glx
greek - 18 changes by fumantsu
italian - 4 changes by lorenzodv
brazilian_portuguese - 15 changes by Tucalipe
russian - 28 changes by KorneySan
swedish - 14 changes by tool
thai - 23 changes by sf_alpha
ukrainian - 14 changes by Madvin
vietnamese - 9 changes by nglekhoi
2010-08-02 17:45:39 +00:00
yexo
5087690b09
(svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos
2010-08-02 16:04:24 +00:00
rubidium
6634d6ab82
(svn r20305) -Change: reduce OpenTTD's install size by roughly 460 KiB by only providing the "extra" base graphics in one palette and doing the conversion upon loading; the conversion has existed for a while, but now the NewGRF can tell its palette using Action 14 thus it can enable the conversion for only that NewGRF.
2010-08-02 15:29:31 +00:00
terkhen
bd254b06d3
(svn r20303) -Feature: [NewGRF] Air drag property support for trains and road vehicles. Air drag for vehicles with air drag not set or set to zero will use a default value depending on their max speed.
2010-08-02 14:54:47 +00:00
terkhen
7f786ae7b8
(svn r20302) -Add: Method for getting the air drag of a ground vehicle.
2010-08-02 14:52:51 +00:00
terkhen
bd1dd17bf2
(svn r20301) -Add: [NewGRF] Read air drag property from Action 0 for trains.
2010-08-02 14:51:35 +00:00
terkhen
df44a20fcc
(svn r20300) -Add: Air drag field to the rail engine information.
2010-08-02 14:50:26 +00:00
terkhen
f33a0370ae
(svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag.
2010-08-02 14:49:23 +00:00
terkhen
094841cba3
(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles.
2010-08-02 14:48:13 +00:00
terkhen
da80ebb00d
(svn r20297) -Doc: Explain the default tractive effort value used by standard road vehicles.
2010-08-02 14:44:00 +00:00
alberth
26e4044e60
(svn r20296) -Fix: Fallback font selection due to missing glyphs did not work as intended.
2010-08-02 12:10:48 +00:00
frosch
4d18e6c435
(svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position.
2010-08-01 23:49:03 +00:00
yexo
6fcdf71825
(svn r20293) -Doc: add more doxygen comments in ai_gui.cp
2010-08-01 22:08:29 +00:00
yexo
5642ef777e
(svn r20292) -Codechange: remove some unused variables from AIConfigWindow
2010-08-01 22:03:55 +00:00
alberth
2182b44bb6
(svn r20291) -Codechange: Unify break coding style.
2010-08-01 21:19:49 +00:00
alberth
cf33572ef8
(svn r20290) -Codechange: Add missing 'break' statements.
2010-08-01 20:58:35 +00:00
terkhen
04134c1e51
(svn r20289) -Codechange: Unify fall through coding style.
2010-08-01 20:52:11 +00:00
yexo
65de287071
(svn r20288) -Doc: add doxygen string to all GetClassName functions (part of all AI api classes)
2010-08-01 20:41:46 +00:00
rubidium
03f06dc2ac
(svn r20287) -Fix: GCC 4.1 warning
2010-08-01 19:52:51 +00:00
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
yexo
971691b691
(svn r20285) -Codechange: use ///< for single-line doxygen comments in the AI code
2010-08-01 19:36:56 +00:00
yexo
1e554947bb
(svn r20284) -Codechange: use ///< for single-line doxygen comments in the AI code
2010-08-01 19:36:36 +00:00
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
1c83b21e90
(svn r20282) -Codechange: add some spaces where they should've been
2010-08-01 19:01:09 +00:00
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
rubidium
7385008cb0
(svn r20280) -Fix: indentation of some switch cases
2010-08-01 18:48:00 +00:00
alberth
e5b703ddf9
(svn r20279) -Doc: Doxygen additions/improvements.
2010-08-01 17:45:53 +00:00
translators
6021079c6d
(svn r20278) -Update from WebTranslator v3.0:
...
afrikaans - 9 changes by burgerd
belarusian - 840 changes by KorneySan, Wowanxm
croatian - 4 changes by VoyagerOne
czech - 10 changes by ReisRyos
finnish - 1 changes by jpx_
hungarian - 4 changes by IPG
irish - 4 changes by tem
korean - 1 changes by junho2813
polish - 4 changes by lion
portuguese - 5 changes by SupSuper
romanian - 4 changes by tonny
russian - 13 changes by KorneySan
serbian - 4 changes by etran
thai - 176 changes by sf_alpha
ukrainian - 4 changes by Fixer
2010-08-01 17:45:46 +00:00
alberth
2600624395
(svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to autoreplace_cmd.cpp.
2010-08-01 14:43:39 +00:00
rubidium
48b712ca08
(svn r20276) -Update: add some genders/cases to Belarusian
2010-08-01 14:27:38 +00:00
yexo
91cc0ea4a2
(svn r20275) -Fix (r20274): some compilers are complaining about signed/unsigned comparison
2010-08-01 10:53:39 +00:00
yexo
536884233a
(svn r20274) -Fix: special keycodes were matched if a code matched the start of the string (ie 'C' matched 'CTRL')
2010-08-01 10:42:18 +00:00
yexo
86b738afb5
(svn r20273) -Fix [FS#3930]: '-' and '=' were not correctly read from hotkeys.cfg
2010-07-31 23:33:09 +00:00
yexo
323b2608fc
(svn r20272) -Doc: [NoAI] document return value of AIGroup::SetAutoReplace
2010-07-31 22:46:29 +00:00
yexo
844e62546b
(svn r20271) -Doc: add doxygen comments to several items under src/ai/
2010-07-31 22:16:34 +00:00
alberth
603c33efc1
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
2010-07-31 21:43:07 +00:00
yexo
461da5e1d3
(svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings
2010-07-31 21:24:59 +00:00
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
2010-07-31 21:02:56 +00:00
yexo
165452bad6
(svn r20264) -Fix (r20258): saving a new preset was broken
2010-07-31 20:28:10 +00:00
rubidium
a16d3c9988
(svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled
2010-07-31 20:04:14 +00:00
alberth
7d3de0632d
(svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment the data structures.
2010-07-31 19:45:48 +00:00
translators
6177d938a6
(svn r20260) -Update from WebTranslator v3.0:
...
basque - 13 changes by Thadah
belarusian - 313 changes by KorneySan
dutch - 4 changes by Yexo
finnish - 3 changes by jpx_
korean - 5 changes by telk5093
russian - 10 changes by KorneySan
thai - 60 changes by sf_alpha
2010-07-31 17:45:18 +00:00
rubidium
a777266426
(svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs
2010-07-31 14:40:50 +00:00
yexo
f4c46dd701
(svn r20258) -Feature: more user-friendly gui to change NewGRF parameters
2010-07-31 12:15:12 +00:00
rubidium
c594a1692e
(svn r20257) -Codechange: unify some node handling code and don't require a single root node
2010-07-31 12:05:41 +00:00
yexo
ed9d663f58
(svn r20256) -Codechange: add a DrawStringMultiline variant that accepts const char* instead of StringID
2010-07-31 11:47:08 +00:00
yexo
0ef99605cc
(svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters
2010-07-31 09:51:04 +00:00
rubidium
f03106db1c
(svn r20254) -Add: allow NewGRFs to specify their palette
2010-07-31 09:44:38 +00:00
rubidium
d9393035ea
(svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset
2010-07-31 09:40:43 +00:00
rubidium
6c22efc840
(svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs
2010-07-31 09:36:09 +00:00
yexo
eacf65598f
(svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters
2010-07-31 09:35:49 +00:00
yexo
15976c5deb
(svn r20250) -Feature: [NewGRF] add support for action14 (static grf info)
2010-07-31 09:35:42 +00:00
yexo
6117b0abc7
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
2010-07-31 09:33:39 +00:00
yexo
cb5cfd7f8c
(svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError
2010-07-31 09:32:44 +00:00
rubidium
1e86effbd3
(svn r20247) -Fix: when it is known the loading an old savegame is going to fail, bail out immediately (using an exception) instead of going on until e.g. the expected number of byte is read
2010-07-30 22:57:46 +00:00
translators
dd2335e7c1
(svn r20246) -Update from WebTranslator v3.0:
...
basque - 20 changes by Thadah
belarusian - 276 changes by KorneySan
chuvash - 2 changes by mefisteron
finnish - 1 changes by jpx_
french - 1 changes by ElNounch
polish - 12 changes by lion
romanian - 1 changes by eliberatorM
serbian - 6 changes by etran
thai - 64 changes by sf_alpha
2010-07-30 17:45:26 +00:00
rubidium
ee558acd59
(svn r20245) -Update: the other languages in accordance with r20244
2010-07-30 12:27:42 +00:00
rubidium
d11de00a15
(svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white.
2010-07-30 12:26:58 +00:00
rubidium
ff01e536d9
(svn r20243) -Update: the strings; they don't need the {WHITE} colour code anymore either
2010-07-30 12:17:14 +00:00
rubidium
22053279a5
(svn r20242) -Change: remove the need for "{WHITE}" control codes in some of the railtype NewGRF strings
...
-Fix: make it possible to properly assess the length of the rail toolbar caption
2010-07-30 12:15:22 +00:00
alberth
3cd9351618
(svn r20241) -Codechange: Move variable declarations to their first use.
2010-07-30 10:39:24 +00:00
translators
07208fdc90
(svn r20240) -Update from WebTranslator v3.0:
...
belarusian - 3 changes by Wowanxm
chuvash - 50 changes by mefisteron
irish - 9 changes by tem
vietnamese - 17 changes by myquartz
2010-07-29 17:45:10 +00:00
terkhen
c92b2e9d3c
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
2010-07-29 14:26:28 +00:00
yexo
10aa6608ab
(svn r20238) -Doc: [NoAI] clarify the documentation for AIBaseStation::GetLocation
2010-07-29 13:08:57 +00:00
michi_cc
40935ee4a1
(svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail.
2010-07-28 22:23:28 +00:00
rubidium
27acb9644c
(svn r20236) -Add: stub for Belarusian translation
2010-07-28 19:07:06 +00:00
translators
867906982f
(svn r20235) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
chuvash - 7 changes by mefisteron
croatian - 5 changes by VoyagerOne
dutch - 1 changes by habell
german - 8 changes by planetmaker
hungarian - 6 changes by IPG
indonesian - 4 changes by prof
italian - 12 changes by lorenzodv
korean - 1 changes by junho2813
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Fixer
2010-07-28 17:45:31 +00:00
yexo
d94364c638
(svn r20234) -Fix [FS#3988]: refit costs from refit orders are subtracted from the vehicle yearly income
2010-07-28 14:18:58 +00:00
rubidium
a94031d60c
(svn r20233) -Codechange: fix/unify coding and comment style a bit
2010-07-28 09:48:35 +00:00
rubidium
5153532a7f
(svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance
2010-07-28 09:47:31 +00:00
rubidium
caf65f71de
(svn r20231) -Document: which version had which savegame version
2010-07-28 09:23:42 +00:00
rubidium
9901b84729
(svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump
2010-07-27 22:00:43 +00:00
rubidium
f10c7255f4
(svn r20229) -Fix [FS#3986]: "Service at nearest depot" behaved the same as "Go to nearest depot"
2010-07-27 21:46:55 +00:00
translators
b35c53529f
(svn r20228) -Update from WebTranslator v3.0:
...
basque - 10 changes by Thadah
dutch - 9 changes by habell
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 3 changes by planetmaker
italian - 9 changes by lorenzodv
portuguese - 8 changes by SupSuper
spanish - 9 changes by Terkhen
ukrainian - 9 changes by Fixer
2010-07-27 17:45:27 +00:00
terkhen
a6c7630e82
(svn r20227) -Fix [FS#3985]: Don't spend cash when building a statue fails.
2010-07-27 16:40:16 +00:00