frosch
7e5309a28a
(svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI.
14 years ago
yexo
bc96bdb203
(svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group
14 years ago
yexo
e4117dbfb7
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
14 years ago
yexo
6babc60254
(svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation
14 years ago
yexo
53811d79c5
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
14 years ago
yexo
241d705406
(svn r20474) -Cleanup: remove some unused code
14 years ago
rubidium
089fc97387
(svn r20473) -Codechange: pass Town instead of TownID to BuildObject
14 years ago
translators
61df1a372c
(svn r20472) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
14 years ago
frosch
d496ec65b9
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
14 years ago
frosch
b8c401f644
(svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC.
14 years ago
frosch
b9efd3c04e
(svn r20468) -Fix: Vehicledetails of non-trains accessed a non existing scrollbar, though values were unused.
14 years ago
frosch
c808e5c30f
(svn r20467) -Fix (r20453): Remove personal note.
14 years ago
frosch
28048826f8
(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.
14 years ago
frosch
419c269e56
(svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar and 'sell chain' button for non-train depot windows.
14 years ago
frosch
e5ff41ee53
(svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of columns for non-train depot windows.
14 years ago
frosch
c16dead108
(svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'.
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
b37be47f16
(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead.
14 years ago
frosch
6e9c9c28d9
(svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead.
14 years ago
frosch
55bd5de43d
(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp
14 years ago
frosch
57c063250f
(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window.
14 years ago
frosch
66e48dfdce
(svn r20456) -Codechange: Add separate nested widget class for scrollbars.
14 years ago
frosch
037d2ed436
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
14 years ago
frosch
a8f4322a03
(svn r20454) -Fix: some whitespace.
14 years ago
frosch
71ca58c2bb
(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.
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
frosch
629b350a71
(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget.
14 years ago
rubidium
cfde445ec9
(svn r20450) -Fix: same the airport tile ID mapping as well
14 years ago
rubidium
d6004d17d4
(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings
14 years ago
rubidium
e0a3a0fd54
(svn r20448) -Codechange: make some functions that can be const const
14 years ago
translators
6b4f36533c
(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
14 years ago
rubidium
ab5b0ceff2
(svn r20446) -Codechange: unify the location of the water class
14 years ago
frosch
43d6740f2d
(svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs.
14 years ago
rubidium
6245a9556b
(svn r20444) -Cleanup: unify writing of {NUM} x {NUM}
14 years ago
rubidium
1dbd2223ad
(svn r20443) -Codechange: more TileHash to a more generic location
14 years ago
translators
091f8ff731
(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
14 years ago
rubidium
cde8a44a11
(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.
14 years ago
rubidium
10ced06205
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
14 years ago
rubidium
91f31b59e8
(svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int
14 years ago
rubidium
2a9f9b092b
(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
14 years ago
rubidium
29b489a055
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
14 years ago
rubidium
3d21fb44aa
(svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations.
14 years ago
rubidium
ca7a067b7a
(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups
14 years ago
rubidium
21e4e7ce06
(svn r20427) -Revert (r20105): even though MCI has less problems with wrongly pitched songs than dmusic, it crashed instead.
14 years ago
translators
1ec0ce3003
(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
14 years ago
terkhen
78fd08c7b2
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
14 years ago
frosch
7f1425c333
(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.
14 years ago
frosch
b6cf38a912
(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.
14 years ago
frosch
c2b1c624dd
(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge.
14 years ago
frosch
48c5091a7c
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
14 years ago
frosch
67c21f7e01
(svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp
14 years ago
frosch
a56f8ba801
(svn r20418) -Fix [FS#4017](r20125): During world generation the snow-mapbits are not yet available, so test the snowline variable directly (as before).
14 years ago
rubidium
747634a687
(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
14 years ago
translators
f072c099ee
(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
14 years ago
alberth
7ad1f5ccef
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
14 years ago
alberth
2fa665114e
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
14 years ago
rubidium
7362ff4409
(svn r20413) -Fix (r20326): some comments got a bit outdated
14 years ago
alberth
e1e8e245a0
(svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick.
14 years ago
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
14 years ago
alberth
abc14d8fbf
(svn r20410) -Codechange: Move smallmap map-type switching to a function.
14 years ago
rubidium
412bb37f59
(svn r20409) -Codechange: reduce the number of includes needed by newgrf.h
14 years ago
frosch
5f874b90f9
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
14 years ago
rubidium
ef50a89ca5
(svn r20407) -Codechange: make AirportClass use the new generic class
14 years ago
rubidium
edbadde301
(svn r20406) -Codechange: make StationClass use the new generic class
14 years ago
rubidium
cb4ab6a231
(svn r20405) -Add: generic class for "classes" for NewGRFs, e.g. the Station classes and Airport classes
14 years ago
rubidium
2b645d1b0d
(svn r20404) -Codechange: remove the need for StationSpec::allocated
14 years ago
rubidium
2d3ee123af
(svn r20402) -Codechange: rename the airport/station class id to something slightly more generic
14 years ago
rubidium
6d6939f844
(svn r20401) -Codechange: let HouseSpec use GRFFileProps
14 years ago
rubidium
b6a0806948
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
14 years ago
yexo
178f74c31c
(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
14 years ago
rubidium
af9d8824bd
(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase
14 years ago
alberth
f5d972cade
(svn r20397) -Feature: Display industry smallmap colour in the industry chain window.
14 years ago
yexo
e80f339086
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
14 years ago
translators
50fe2264ec
(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
14 years ago
yexo
0b4d80ae54
(svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels
14 years ago
alberth
3536357cc6
(svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles.
14 years ago
alberth
422a1ad242
(svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles.
14 years ago
alberth
5cfc029523
(svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed.
14 years ago
alberth
e0e66b6ed0
(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.
14 years ago
rubidium
90a35d2e5b
(svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid Order)" orders.
...
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
14 years ago
translators
d54f2ba21f
(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
14 years ago
alberth
16dfc7a04d
(svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'.
14 years ago
alberth
d9c9ae8fcf
(svn r20386) -Fix: Initialize fund-industry buttons when opening window.
14 years ago
alberth
3ca0ed3e82
(svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method.
14 years ago
frosch
01833039bd
(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger.
14 years ago
translators
b2181365b0
(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
14 years ago
frosch
1cd34128d6
(svn r20382) -Codechange: Hide default airport layoutname if there is only one layout.
14 years ago
frosch
66dd872bdc
(svn r20379) -Codechange: Draw airport preview using company colours.
14 years ago
yexo
d00cf48323
(svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports
14 years ago
yexo
a3a24f4c68
(svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ)
14 years ago
yexo
f8b7163b34
(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
14 years ago
yexo
2e6713ce95
(svn r20374) -Codechange: add persistant storage for airports
14 years ago
yexo
00902294b3
(svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x"
14 years ago
yexo
d6fa76b044
(svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui
14 years ago
yexo
5bacbba9f2
(svn r20371) -Codechange: add general function to call text callbacks for airports
14 years ago
yexo
a48dbd7c51
(svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites
14 years ago
yexo
3e6f8165d4
(svn r20369) -Feature: preview sprites for airports
14 years ago
yexo
7e4bdbbc9d
(svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated
14 years ago
yexo
c421b6fef5
(svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position
14 years ago
yexo
d2f9b87ccd
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
14 years ago