Commit Graph

9861 Commits (64264317a33c51a2e74565766f04c961f6cbd54e)

Author SHA1 Message Date
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
14 years ago
terkhen 1f04e69a94 (svn r20485) -Fix [FS#4012]: Sorting of refittable cargos was wrong for trains. 14 years ago
terkhen cfde29bdf4 (svn r20484) -Codechange: Move BuildRefitList to the RefitWindow class. 14 years ago
terkhen 76ebabf8f6 (svn r20483) -Doc: RefitOption operators. 14 years ago
rubidium f336f61104 (svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns 14 years ago
rubidium 0fd9d4ba1d (svn r20481) -Fix: statues were not removed when towns would be removed 14 years ago
rubidium cf8062c3bd (svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though. 14 years ago
frosch 9f3e6ca197 (svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI. 14 years ago
yexo 8668f30020 (svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group 14 years ago
yexo f1d3b66156 (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation 14 years ago
yexo b27ab21895 (svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation 14 years ago
yexo 8baf3c7b53 (svn r20475) -Fix (r20474): also remove the include of crc32.hpp 14 years ago
yexo b4ec144af2 (svn r20474) -Cleanup: remove some unused code 14 years ago
rubidium 662900c113 (svn r20473) -Codechange: pass Town instead of TownID to BuildObject 14 years ago
translators 92adfe0cad (svn r20472) -Update from WebTranslator v3.0:
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
14 years ago
frosch ba8d961664 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 14 years ago
frosch 399818e96f (svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC. 14 years ago
frosch d68e16cbce (svn r20468) -Fix: Vehicledetails of non-trains accessed a non existing scrollbar, though values were unused. 14 years ago
frosch 0dfdfbffe4 (svn r20467) -Fix (r20453): Remove personal note. 14 years ago
frosch 2f284b463c (svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns. 14 years ago
frosch 51f556093e (svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar and 'sell chain' button for non-train depot windows. 14 years ago
frosch 6d7b2237f0 (svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of columns for non-train depot windows. 14 years ago
frosch fa05534cc9 (svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 984e555cb4 (svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead. 14 years ago
frosch b98eba0fb2 (svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead. 14 years ago
frosch 92c34da796 (svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp 14 years ago
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. 14 years ago
frosch e41130db84 (svn r20456) -Codechange: Add separate nested widget class for scrollbars. 14 years ago
frosch ac83f92fdc (svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names. 14 years ago
frosch 98bc6501c6 (svn r20454) -Fix: some whitespace. 14 years ago
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.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
frosch d2cd93fee2 (svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget. 14 years ago
rubidium 54ba72863f (svn r20450) -Fix: same the airport tile ID mapping as well 14 years ago
rubidium 95b208cde2 (svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings 14 years ago
rubidium 5aab3e1948 (svn r20448) -Codechange: make some functions that can be const const 14 years ago
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
14 years ago
rubidium 8975ef1f7b (svn r20446) -Codechange: unify the location of the water class 14 years ago
frosch 2221efd1e8 (svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs. 14 years ago
rubidium 72646d9e0d (svn r20444) -Cleanup: unify writing of {NUM} x {NUM} 14 years ago
rubidium bd4524646c (svn r20443) -Codechange: more TileHash to a more generic location 14 years ago
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
14 years ago
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. 14 years ago
rubidium 13fbe57957 (svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits 14 years ago
rubidium 8ac6b5d351 (svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int 14 years ago
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 14 years ago
rubidium b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 14 years ago
rubidium 443ecb986d (svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations. 14 years ago
rubidium 3e1888287e (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 14 years ago
rubidium 4d16c007b7 (svn r20427) -Revert (r20105): even though MCI has less problems with wrongly pitched songs than dmusic, it crashed instead. 14 years ago
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
14 years ago
terkhen 2c6a94b445 (svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW). 14 years ago
frosch cab9bc419b (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 14 years ago
frosch 12ed2a7597 (svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile. 14 years ago
frosch 548f2cbf4e (svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge. 14 years ago
frosch b2ea8b196a (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 14 years ago
frosch 811c7f6c25 (svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp 14 years ago
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). 14 years ago
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 14 years ago
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
14 years ago
alberth 9b10773428 (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 14 years ago
alberth 15f407acea (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 14 years ago
rubidium 7b3ee58d03 (svn r20413) -Fix (r20326): some comments got a bit outdated 14 years ago
alberth 5967b81124 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 14 years ago
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. 14 years ago
alberth 67be093e57 (svn r20410) -Codechange: Move smallmap map-type switching to a function. 14 years ago
rubidium 92767f454e (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 14 years ago
frosch eb7ea24aec (svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays. 14 years ago
rubidium b6263d2034 (svn r20407) -Codechange: make AirportClass use the new generic class 14 years ago
rubidium 40ab6a3298 (svn r20406) -Codechange: make StationClass use the new generic class 14 years ago
rubidium abcd7ffa5f (svn r20405) -Add: generic class for "classes" for NewGRFs, e.g. the Station classes and Airport classes 14 years ago
rubidium 7796204a82 (svn r20404) -Codechange: remove the need for StationSpec::allocated 14 years ago
rubidium 8f1d0358bd (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 14 years ago
rubidium da8c058b89 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 14 years ago
rubidium 3285c6ab58 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 14 years ago
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 14 years ago
rubidium c9c46be3fb (svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase 14 years ago
alberth a90c30d614 (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 14 years ago
yexo 5162f28c27 (svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo 14 years ago
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
14 years ago
yexo a08fe2ac41 (svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels 14 years ago
alberth f5964a46d2 (svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles. 14 years ago
alberth 3db5cfb95d (svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles. 14 years ago
alberth 015195c312 (svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed. 14 years ago
alberth 2157341f90 (svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp. 14 years ago
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.
14 years ago
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
14 years ago
alberth 9fed86a814 (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 03e8fe7c0e (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 14 years ago
alberth 5f9d74467f (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 14 years ago
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. 14 years ago
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
14 years ago
frosch 20d2aec66c (svn r20382) -Codechange: Hide default airport layoutname if there is only one layout. 14 years ago
frosch 4e0c6408eb (svn r20379) -Codechange: Draw airport preview using company colours. 14 years ago
yexo 917d4cb7be (svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports 14 years ago
yexo c8d8c996c2 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 14 years ago
yexo e6025117e2 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 14 years ago
yexo ccccb2c490 (svn r20374) -Codechange: add persistant storage for airports 14 years ago
yexo 51fe375651 (svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x" 14 years ago
yexo 0f131719aa (svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui 14 years ago
yexo 7c2eaeee09 (svn r20371) -Codechange: add general function to call text callbacks for airports 14 years ago
yexo f9f141c480 (svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites 14 years ago
yexo f0bc18a792 (svn r20369) -Feature: preview sprites for airports 14 years ago
yexo 5d5ddf780a (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 14 years ago
yexo 518241bc1b (svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position 14 years ago
yexo 2743532ae5 (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 14 years ago
yexo 7f7e3d4a3a (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 14 years ago
yexo c072b50dc6 (svn r20364) -Codechange: add infrastructure for airport callbacks 14 years ago
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
14 years ago
yexo b08037a3b4 (svn r20362) -Codechange: use correct parameter type for SetFill in airport gui 14 years ago
terkhen aa0e57ad31 (svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out. 14 years ago
rubidium 73bbbabfa8 (svn r20360) -Update: move Belarusian to the finished languages
-Add: stub for Marathi language (one of the languages in India)
14 years ago
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
14 years ago
rubidium f5d93f1961 (svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled 14 years ago
frosch dc60f8ce1a (svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road. 14 years ago
rubidium e69a9ba31d (svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood... 14 years ago
michi_cc b666885303 (svn r20355) -Fix (r20353): Stale comment. 14 years ago
rubidium 8dabbb1ebc (svn r20354) -Fix: some compilation errors in (unfinished) translations 14 years ago
michi_cc 95f5ad8c79 (svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals. 14 years ago
michi_cc 33ab403be8 (svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout. 14 years ago
michi_cc 80943c5ec7 (svn r20351) -Codechange: Uncouple water lock and depot drawing. 14 years ago
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
14 years ago
rubidium afb7c7d813 (svn r20349) -Fix: don't pay stuff you didn't have to pay for previously :) 14 years ago
rubidium f1458067e9 (svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the wrong axis 14 years ago
yexo 67adf766d0 (svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found 14 years ago
rubidium c8efb43aaf (svn r20345) -Codechange: unify removing of objects a bit more 14 years ago
yexo 939abcc07c (svn r20344) -Feature: add rescan_newgrf console command 14 years ago
rubidium 16ea560aaf (svn r20343) -Fix (r20342): don't start svn commit too early... it won't see the later changes 14 years ago
rubidium ac5e8d9825 (svn r20342) -Codechange: unify the construction of objects 14 years ago
rubidium f475a7f5e7 (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ 14 years ago
rubidium e72a0a39bb (svn r20340) -Codechange: introduce some flags for objects and use them in some places 14 years ago
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. 14 years ago
rubidium d23e2d64b8 (svn r20338) -Codechange: unify the unmovable tile drawing 14 years ago
rubidium d7921b24e6 (svn r20337) -Codechange: unify the construction of objects on the map 14 years ago
rubidium 3a971a7f03 (svn r20336) -Codechange: rework the HQ updating 14 years ago
rubidium eb0fa68722 (svn r20335) -Codechange: change the name of some unmovable map accessors 14 years ago
rubidium 5ed887648c (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 14 years ago
frosch f273f2a656 (svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms. 14 years ago
frosch 253fd969fd (svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR. 14 years ago
yexo 0cd442ea18 (svn r20331) -Doc: some more airport-related code 14 years ago
rubidium b5b5c21ee5 (svn r20330) -Codechange: unify the removal of unmovables a bit 14 years ago
yexo ebd2f999f0 (svn r20329) -Codechange: align the data of the original airports so it's better readable 14 years ago
rubidium 7fe695dc28 (svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command 14 years ago
rubidium 2ac0a086ce (svn r20327) -Change: don't let building e.g. road remove light houses and transmitters in the scenario editor 14 years ago
rubidium 9d76cac1a7 (svn r20326) -Codechange: move UnmovableType to its own file 14 years ago
yexo 2ead6100a2 (svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {} 14 years ago
yexo d96f73665f (svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station 14 years ago
terkhen ec6cba6b92 (svn r20323) -Codechange: Move Delete town code to a command. 14 years ago
terkhen 014771848d (svn r20322) -Codechange: Move Expand town code to a command. 14 years ago