Commit Graph

10043 Commits

Author SHA1 Message Date
frosch 514edcc19d (svn r20583) -Fix: Autoreplace failed while attaching non-replaced wagons to the new chain, if to-be-sold-engines would become front-engines and the unitnumber limit would be exceeded. 2010-08-20 17:36:09 +00:00
rubidium 79027229b9 (svn r20582) -Fix [FS#4044]: Autoreplace can trigger an assertion when at the vehicle limit 2010-08-20 17:35:10 +00:00
rubidium d6cd62e633 (svn r20581) -Codechange: simplify getting the station in CalcPercentVehicleFilled 2010-08-20 15:35:14 +00:00
rubidium f3864181b6 (svn r20580) -Fix [FS#4039]: go via station and go via waypoint behaved differently when a train went back to the same (unordered) station again 2010-08-20 15:30:21 +00:00
frosch 03ab158935 (svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles. 2010-08-20 12:50:59 +00:00
frosch de973a4d60 (svn r20578) -Fix [FS#4051]: Draw bounding boxes using white instead of pure white, so they are recoloured to grey in coloured newspaper instead of blue. 2010-08-20 12:13:27 +00:00
rubidium 3e3cd47222 (svn r20577) -Fix [FS#4043]: scroll button flickering when pressed 2010-08-20 11:55:10 +00:00
rubidium 1231dc7b57 (svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI 2010-08-19 22:06:20 +00:00
rubidium 1fa98e1695 (svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future 2010-08-19 20:58:30 +00:00
rubidium cc658392eb (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit 2010-08-19 20:45:29 +00:00
rubidium 646fbb628a (svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit 2010-08-19 20:42:00 +00:00
rubidium e89a0fb7f9 (svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit 2010-08-19 20:39:12 +00:00
rubidium 983883a2b9 (svn r20570) -Codechange: free/reserve some bits in the timetable commands to increase the vehicle pool limit 2010-08-19 20:34:51 +00:00
rubidium 64c178467d (svn r20569) -Cleanup: the change timetable command doesn't need the packed bit anymore 2010-08-19 20:32:33 +00:00
yexo ca0cd109f2 (svn r20568) -Codechange: change the value of AIVehicle::VEHICLE_INVALID and use it as return value instead of ::INVALID_VEHICLE 2010-08-19 20:20:20 +00:00
rubidium 552adca67f (svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker 2010-08-19 19:23:38 +00:00
translators 8c5916ffb7 (svn r20565) -Update from WebTranslator v3.0:
belarusian - 7 changes by KorneySan
simplified_chinese - 3 changes by pda1573
traditional_chinese - 5 changes by josesun
chuvash - 31 changes by mefisteron
dutch - 5 changes by habell
esperanto - 16 changes by Christopher
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 6 changes by planetmaker
hungarian - 1 changes by norbert79
italian - 6 changes by lorenzodv
romanian - 2 changes by kkmic
russian - 13 changes by KorneySan, Lone_Wolf
slovenian - 4 changes by ntadej
spanish - 3 changes by Terkhen
2010-08-19 17:45:45 +00:00
yexo dc303e550b (svn r20563) -Change: [NoAI] rename AIAbstractList to AIList 2010-08-19 15:37:28 +00:00
yexo 6c7384cabd (svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractList 2010-08-19 15:19:40 +00:00
rubidium 1fe3ce9993 (svn r20561) -Fix: compiler warning 2010-08-19 14:26:41 +00:00
rubidium 55c1af9fb1 (svn r20560) -Fix: AIs (still/again?) crashing for certain commands 2010-08-19 14:25:07 +00:00
yexo 85740a0283 (svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile 2010-08-19 13:44:41 +00:00
yexo 16be24e13a (svn r20558) -Codechange: use one generic function to create a list of company buttons 2010-08-19 12:56:31 +00:00
yexo 381b14a1e9 (svn r20556) -Fix (r20555): a tempory copy/pasted line ended up in the commit 2010-08-19 11:36:12 +00:00
yexo 44ba57bb79 (svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows 2010-08-19 11:33:15 +00:00
rubidium a4c6d07edc (svn r20553) -Feature: allow rate limiting of incoming commands 2010-08-19 08:59:36 +00:00
terkhen cfc0df152b (svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window. 2010-08-19 08:22:08 +00:00
rubidium be288d00be (svn r20550) -Fix: documentation of CmdSetTimetableStart 2010-08-18 22:52:02 +00:00
rubidium b594990071 (svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server) 2010-08-18 22:40:17 +00:00
rubidium e8e22c99fd (svn r20548) -Codechange: rename some variables giving them slightly more meaningful names 2010-08-18 21:30:38 +00:00
rubidium 926594b599 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 2010-08-18 20:48:38 +00:00
rubidium 04d6648c5e (svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger 2010-08-18 18:57:58 +00:00
rubidium 019878118d (svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot 2010-08-18 18:52:16 +00:00
translators e242294530 (svn r20544) -Update from WebTranslator v3.0:
belarusian - 19 changes by KorneySan, Wowanxm
traditional_chinese - 15 changes by josesun
esperanto - 40 changes by Christopher
finnish - 4 changes by jpx_
french - 3 changes by glx
german - 4 changes by NG
hungarian - 10 changes by IPG, norbert79
polish - 5 changes by lion
russian - 21 changes by KorneySan, Lone_Wolf, perk11
serbian - 8 changes by etran
swedish - 20 changes by Zuu
2010-08-18 17:45:38 +00:00
rubidium 84de237507 (svn r20543) -Fix (r20542): compilation failed when networking was disabled 2010-08-18 17:23:03 +00:00
rubidium 69fa0b36d3 (svn r20542) -Codechange: generalise the setting of "p2" to the ClientID. 2010-08-18 17:06:45 +00:00
rubidium 287ee8c01d (svn r20541) -Fix: when removing a vehicle update the "clone orders of"-vehicle of a backed up order, or remove it if there is no vehicle sharing orders with that vehicle. 2010-08-18 15:58:30 +00:00
smatz d28985fe8e (svn r20540) -Fix [FS#4049](r20480): use CmdDeleteTown instead of direct use of operator delete 2010-08-18 15:22:40 +00:00
rubidium 38ca44594f (svn r20539) -Codechange: make order backups more self-contained. 2010-08-18 15:15:59 +00:00
yexo a65345d7ed (svn r20538) -Codechange: introduce a few macros to initialize the airport classes 2010-08-18 01:19:03 +00:00
rubidium 8118cab6ba (svn r20537) -Codechange: make RefitVehicle a static (local) function 2010-08-18 00:48:22 +00:00
rubidium c5a670037b (svn r20536) -Codechange: unify the refitting of vehicles 2010-08-18 00:47:31 +00:00
yexo 82e37c3cca (svn r20535) -Codechange: make the 'vehicle must be stopped in depot' strings consistant 2010-08-18 00:46:14 +00:00
yexo eeca1846d6 (svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings 2010-08-18 00:30:12 +00:00
rubidium 9b8d7048da (svn r20533) -Codechange: shuffle a bit with the bits in the sell command 2010-08-18 00:03:08 +00:00
rubidium 4780cc50b2 (svn r20532) -Codechange: unify selling of vehicles a bit 2010-08-17 23:55:22 +00:00
rubidium c14853b72e (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 2010-08-17 23:15:55 +00:00
yexo bf29e5d860 (svn r20530) -Cleanup (r13507): p2 bit 0 for CmdBUildRailVehicle is no longer valid so don't use it 2010-08-17 22:33:27 +00:00
yexo f9a55b7439 (svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen 2010-08-17 21:50:58 +00:00
yexo afb60ec59c (svn r20528) -Fix: in old savegames aircraft can have an invalid state 2010-08-17 21:46:25 +00:00
yexo cc45b99866 (svn r20527) -Codechange: move the flood code and remove some redundant checks 2010-08-17 19:52:44 +00:00
translators 10f00b3079 (svn r20526) -Update from WebTranslator v3.0:
belarusian - 7 changes by KorneySan
simplified_chinese - 1 changes by pda1573
croatian - 5 changes by VoyagerOne
czech - 8 changes by marek995
dutch - 4 changes by habell
esperanto - 24 changes by Christopher
finnish - 7 changes by jpx_
german - 4 changes by NG
hungarian - 9 changes by IPG
indonesian - 6 changes by prof
irish - 9 changes by tem
italian - 4 changes by lorenzodv
romanian - 4 changes by tonny
russian - 5 changes by KorneySan
slovenian - 8 changes by ntadej
swedish - 5 changes by Zuu
2010-08-17 17:45:49 +00:00
yexo c263f25309 (svn r20525) -Codechange: make Aircraft::UpdateDeltaXY more readable by removing the MKIT macro 2010-08-17 11:59:52 +00:00
yexo cf1f337e4d (svn r20524) -Codechange: remove old airport debug code 2010-08-17 11:59:09 +00:00
frosch e77ddc5786 (svn r20523) -Fix [FS#4040]: Do not print a colon for AI settings with empty name.
Please note that this is only meant for compatiblity to make settings of 'old' AIs still look nice.
 Usage of this 'compatibility feature' is not recommended, as selected lines cannot be highlighted this way as it is done for the NewGRF settings.
2010-08-17 09:49:31 +00:00
rubidium edec7723cd (svn r20522) -Fix [FS#4041] (r20482): the wrong "delete" was called for Objects 2010-08-17 09:42:38 +00:00
translators 69feef4899 (svn r20518) -Update from WebTranslator v3.0:
chuvash - 30 changes by mefisteron
croatian - 4 changes by VoyagerOne
czech - 2 changes by marek995
dutch - 5 changes by habell
finnish - 5 changes by jpx_
french - 9 changes by glx
german - 9 changes by planetmaker
italian - 5 changes by lorenzodv
romanian - 22 changes by tonny
russian - 3 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 15 changes by ntadej
spanish - 10 changes by Terkhen
swedish - 4 changes by Zuu
vietnamese - 2 changes by nglekhoi
2010-08-16 17:45:46 +00:00
terkhen 531cca331b (svn r20517) -Fix (r20516): Committed way too much. 2010-08-16 17:25:11 +00:00
terkhen ff1c565e14 (svn r20516) -Feature [FS#3472]: Filter signs at the sign list window. (Zuu) 2010-08-16 16:15:22 +00:00
rubidium d98ff7c4c4 (svn r20515) -Feature: ignore _ in console command names so there is no "inconsistent" behaviour w.r.t. underscores anymore without breaking backwards compatability greatly 2010-08-16 15:18:21 +00:00
frosch ca6aac6a5a (svn r20514) -Fix: Draw error messages in white by default, they may not have a colour code. 2010-08-16 12:32:49 +00:00
rubidium 8b9a71d45f (svn r20513) -Change: unify style of some "broken NewGRF" strings 2010-08-16 12:21:17 +00:00
frosch 31bebd3ad5 (svn r20512) -Fix [FS#4036]: Generation seed is unsigned. 2010-08-16 09:44:05 +00:00
frosch 65b43667fa (svn r20511) -Fix: Initial height of townlist was not a multiple of the line height. 2010-08-16 08:33:28 +00:00
rubidium 1c3d42598e (svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n) 2010-08-15 23:44:45 +00:00
rubidium 12b8822277 (svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg) 2010-08-15 23:42:36 +00:00
michi_cc 71ff3c4bb4 (svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi) 2010-08-15 23:32:36 +00:00
michi_cc 0796ba3d26 (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 a994c1ef71 (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 236737b2f2 (svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype. 2010-08-15 19:59:48 +00:00
frosch 57a098bccc (svn r20504) -Codechange: Move updating of train's visual effect to separate function. 2010-08-15 19:53:53 +00:00
frosch 4ca2609362 (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 c52f42ea21 (svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags. 2010-08-15 18:25:57 +00:00
translators 292ffad04e (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 a0520bb8bf (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 35fec79700 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 2010-08-15 14:06:43 +00:00
rubidium 15514baf8b (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 e1d35cba6d (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 bdb4ae940d (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 6cac7d8509 (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 5933086e61 (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 33dccfd5cf (svn r20487) -Fix: typo in comments 2010-08-14 09:04:37 +00:00
translators efef49e30d (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 7aeeb8ed35 (svn r20485) -Fix [FS#4012]: Sorting of refittable cargos was wrong for trains. 2010-08-13 14:28:51 +00:00
terkhen ffcd869dda (svn r20484) -Codechange: Move BuildRefitList to the RefitWindow class. 2010-08-13 14:26:29 +00:00
terkhen 144a7cab1a (svn r20483) -Doc: RefitOption operators. 2010-08-13 14:24:47 +00:00
rubidium 89b2b9370a (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 c5ec910980 (svn r20481) -Fix: statues were not removed when towns would be removed 2010-08-13 11:58:45 +00:00
rubidium a7beb897e2 (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 7e5309a28a (svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI. 2010-08-13 07:34:28 +00:00
yexo bc96bdb203 (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 e4117dbfb7 (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation 2010-08-13 00:21:03 +00:00
yexo 6babc60254 (svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation 2010-08-12 22:36:42 +00:00
yexo 53811d79c5 (svn r20475) -Fix (r20474): also remove the include of crc32.hpp 2010-08-12 22:08:45 +00:00
yexo 241d705406 (svn r20474) -Cleanup: remove some unused code 2010-08-12 21:36:43 +00:00
rubidium 089fc97387 (svn r20473) -Codechange: pass Town instead of TownID to BuildObject 2010-08-12 19:18:58 +00:00
translators 61df1a372c (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 d496ec65b9 (svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked. 2010-08-12 16:44:51 +00:00
frosch b8c401f644 (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 b9efd3c04e (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 c808e5c30f (svn r20467) -Fix (r20453): Remove personal note. 2010-08-12 12:03:52 +00:00
frosch 28048826f8 (svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns. 2010-08-12 11:53:11 +00:00
frosch 419c269e56 (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 e5ff41ee53 (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 c16dead108 (svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'. 2010-08-12 09:47:48 +00:00
frosch 9e538acc03 (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 b37be47f16 (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 6e9c9c28d9 (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 55bd5de43d (svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp 2010-08-12 09:11:12 +00:00
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. 2010-08-12 09:09:24 +00:00
frosch 66e48dfdce (svn r20456) -Codechange: Add separate nested widget class for scrollbars. 2010-08-12 09:07:45 +00:00
frosch 037d2ed436 (svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names. 2010-08-12 08:42:37 +00:00
frosch a8f4322a03 (svn r20454) -Fix: some whitespace. 2010-08-12 08:39:06 +00:00
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.
2010-08-12 08:37:01 +00:00
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
frosch 629b350a71 (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 cfde445ec9 (svn r20450) -Fix: same the airport tile ID mapping as well 2010-08-11 19:09:26 +00:00
rubidium d6004d17d4 (svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings 2010-08-11 18:57:48 +00:00
rubidium e0a3a0fd54 (svn r20448) -Codechange: make some functions that can be const const 2010-08-11 18:50:23 +00:00
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
2010-08-11 17:45:29 +00:00
rubidium ab5b0ceff2 (svn r20446) -Codechange: unify the location of the water class 2010-08-11 14:14:06 +00:00
frosch 43d6740f2d (svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs. 2010-08-11 07:42:47 +00:00
rubidium 6245a9556b (svn r20444) -Cleanup: unify writing of {NUM} x {NUM} 2010-08-10 23:32:09 +00:00
rubidium 1dbd2223ad (svn r20443) -Codechange: more TileHash to a more generic location 2010-08-10 23:31:43 +00:00
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
2010-08-10 17:45:21 +00:00
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. 2010-08-10 16:45:32 +00:00
rubidium 10ced06205 (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 91f31b59e8 (svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int 2010-08-10 16:15:42 +00:00
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 2010-08-10 16:13:51 +00:00
rubidium 29b489a055 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 2010-08-10 15:54:53 +00:00
rubidium 3d21fb44aa (svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations. 2010-08-10 15:51:33 +00:00
rubidium ca7a067b7a (svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups 2010-08-10 15:49:35 +00:00
rubidium 21e4e7ce06 (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 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
2010-08-09 17:45:31 +00:00
terkhen 78fd08c7b2 (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 7f1425c333 (svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight. 2010-08-09 07:32:04 +00:00
frosch b6cf38a912 (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 c2b1c624dd (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 48c5091a7c (svn r20420) -Codechange: Add TileContext enum instead of using a bool. 2010-08-09 07:10:42 +00:00
frosch 67c21f7e01 (svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp 2010-08-09 06:48:52 +00:00
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). 2010-08-08 21:34:19 +00:00
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 2010-08-08 19:50:07 +00:00
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
2010-08-08 17:45:15 +00:00
alberth 7ad1f5ccef (svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window. 2010-08-08 11:21:24 +00:00
alberth 2fa665114e (svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window. 2010-08-08 11:17:14 +00:00
rubidium 7362ff4409 (svn r20413) -Fix (r20326): some comments got a bit outdated 2010-08-08 11:12:34 +00:00
alberth e1e8e245a0 (svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick. 2010-08-08 11:02:57 +00:00
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. 2010-08-08 10:59:30 +00:00
alberth abc14d8fbf (svn r20410) -Codechange: Move smallmap map-type switching to a function. 2010-08-08 10:47:09 +00:00
rubidium 412bb37f59 (svn r20409) -Codechange: reduce the number of includes needed by newgrf.h 2010-08-08 09:07:40 +00:00
frosch 5f874b90f9 (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 ef50a89ca5 (svn r20407) -Codechange: make AirportClass use the new generic class 2010-08-07 22:08:20 +00:00
rubidium edbadde301 (svn r20406) -Codechange: make StationClass use the new generic class 2010-08-07 22:07:07 +00:00
rubidium cb4ab6a231 (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 2b645d1b0d (svn r20404) -Codechange: remove the need for StationSpec::allocated 2010-08-07 21:39:30 +00:00
rubidium 2d3ee123af (svn r20402) -Codechange: rename the airport/station class id to something slightly more generic 2010-08-07 21:10:57 +00:00
rubidium 6d6939f844 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 2010-08-07 21:03:38 +00:00
rubidium b6a0806948 (svn r20400) -Codechange: let StationSpec use GRFFilePropsBase 2010-08-07 20:52:45 +00:00
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 2010-08-07 20:51:53 +00:00
rubidium af9d8824bd (svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase 2010-08-07 20:51:07 +00:00
alberth f5d972cade (svn r20397) -Feature: Display industry smallmap colour in the industry chain window. 2010-08-07 20:36:23 +00:00
yexo e80f339086 (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 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
2010-08-07 17:45:19 +00:00
yexo 0b4d80ae54 (svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels 2010-08-06 20:52:53 +00:00
alberth 3536357cc6 (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 422a1ad242 (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 5cfc029523 (svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed. 2010-08-06 20:10:53 +00:00
alberth e0e66b6ed0 (svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp. 2010-08-06 19:56:14 +00:00
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.
2010-08-06 19:04:21 +00:00
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
2010-08-06 17:45:42 +00:00
alberth 16dfc7a04d (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 d9c9ae8fcf (svn r20386) -Fix: Initialize fund-industry buttons when opening window. 2010-08-06 12:19:01 +00:00
alberth 3ca0ed3e82 (svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method. 2010-08-06 12:12:20 +00:00
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. 2010-08-05 19:23:19 +00:00
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
2010-08-05 17:45:37 +00:00
frosch 1cd34128d6 (svn r20382) -Codechange: Hide default airport layoutname if there is only one layout. 2010-08-05 17:24:45 +00:00
frosch 66dd872bdc (svn r20379) -Codechange: Draw airport preview using company colours. 2010-08-05 17:16:31 +00:00
yexo d00cf48323 (svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports 2010-08-05 12:10:22 +00:00
yexo a3a24f4c68 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 2010-08-05 12:09:08 +00:00
yexo f8b7163b34 (svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid 2010-08-05 12:06:53 +00:00
yexo 2e6713ce95 (svn r20374) -Codechange: add persistant storage for airports 2010-08-05 12:06:13 +00:00
yexo 00902294b3 (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 d6fa76b044 (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 5bacbba9f2 (svn r20371) -Codechange: add general function to call text callbacks for airports 2010-08-05 12:04:33 +00:00
yexo a48dbd7c51 (svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites 2010-08-05 12:03:58 +00:00
yexo 3e6f8165d4 (svn r20369) -Feature: preview sprites for airports 2010-08-05 12:03:34 +00:00
yexo 7e4bdbbc9d (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 2010-08-05 12:03:06 +00:00
yexo c421b6fef5 (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 d2f9b87ccd (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 330c2f979e (svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number 2010-08-05 11:59:07 +00:00
yexo 6321eb5a00 (svn r20364) -Codechange: add infrastructure for airport callbacks 2010-08-05 11:57:55 +00:00
translators fe6c557705 (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 63951fada6 (svn r20362) -Codechange: use correct parameter type for SetFill in airport gui 2010-08-04 10:33:18 +00:00
terkhen 2339b34021 (svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out. 2010-08-04 08:58:45 +00:00
rubidium cf88a1bc3b (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 d4cbd1d784 (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 3fd1fc35e6 (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 ba527ec56e (svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road. 2010-08-04 06:27:20 +00:00
rubidium b74cee45be (svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood... 2010-08-03 18:32:53 +00:00
michi_cc fff8524fb9 (svn r20355) -Fix (r20353): Stale comment. 2010-08-03 18:29:26 +00:00
rubidium e23db5db21 (svn r20354) -Fix: some compilation errors in (unfinished) translations 2010-08-03 18:08:49 +00:00
michi_cc 4d927af488 (svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals. 2010-08-03 17:48:07 +00:00
michi_cc bd2f7e998c (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 f67c727c68 (svn r20351) -Codechange: Uncouple water lock and depot drawing. 2010-08-03 17:47:43 +00:00
translators 71f9c4fe79 (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 d1a7f7a672 (svn r20349) -Fix: don't pay stuff you didn't have to pay for previously :) 2010-08-03 16:42:47 +00:00
rubidium fc39a8bec1 (svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the wrong axis 2010-08-03 16:38:15 +00:00
yexo 04a9a58ecd (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 87386cabc4 (svn r20345) -Codechange: unify removing of objects a bit more 2010-08-03 13:03:25 +00:00
yexo e2d706cd21 (svn r20344) -Feature: add rescan_newgrf console command 2010-08-03 12:54:19 +00:00
rubidium 0664955db7 (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 725c181445 (svn r20342) -Codechange: unify the construction of objects 2010-08-03 12:41:24 +00:00
rubidium 92ac2e485b (svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ 2010-08-03 12:36:40 +00:00
rubidium 1c86321d35 (svn r20340) -Codechange: introduce some flags for objects and use them in some places 2010-08-03 12:07:55 +00:00
rubidium d687b49a4e (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 fbde46c028 (svn r20338) -Codechange: unify the unmovable tile drawing 2010-08-03 11:35:57 +00:00
rubidium 3bfe26c69d (svn r20337) -Codechange: unify the construction of objects on the map 2010-08-03 08:58:12 +00:00
rubidium f812e80002 (svn r20336) -Codechange: rework the HQ updating 2010-08-03 08:32:58 +00:00
rubidium ffedcc6533 (svn r20335) -Codechange: change the name of some unmovable map accessors 2010-08-03 08:16:06 +00:00
rubidium f44c51577b (svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension 2010-08-03 08:09:45 +00:00
frosch 1a9d5ae076 (svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms. 2010-08-02 23:35:47 +00:00
frosch 0e5c562da4 (svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR. 2010-08-02 23:12:43 +00:00
yexo 689d4bef04 (svn r20331) -Doc: some more airport-related code 2010-08-02 23:09:38 +00:00
rubidium aae7ef73bb (svn r20330) -Codechange: unify the removal of unmovables a bit 2010-08-02 23:05:54 +00:00
yexo d65a967027 (svn r20329) -Codechange: align the data of the original airports so it's better readable 2010-08-02 22:27:42 +00:00
rubidium 49cee72fa4 (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 f2d71c1196 (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 55129f1fbb (svn r20326) -Codechange: move UnmovableType to its own file 2010-08-02 21:35:59 +00:00
yexo 5ae4e27446 (svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {} 2010-08-02 21:25:17 +00:00
yexo c7516f230f (svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station 2010-08-02 21:11:52 +00:00
terkhen 7a6df202d0 (svn r20323) -Codechange: Move Delete town code to a command. 2010-08-02 21:07:23 +00:00
terkhen ca0751adb8 (svn r20322) -Codechange: Move Expand town code to a command. 2010-08-02 21:06:06 +00:00
rubidium f2edc728e6 (svn r20321) -Codechange: rename GetUnmovableSpec to UnmovableSpec::Get and add+use a ::GetByTile 2010-08-02 20:57:32 +00:00
alberth 0e900039f3 (svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition. 2010-08-02 20:47:27 +00:00
alberth 4781f1fa92 (svn r20319) -Codechange: Align comments, add indent to a function call. 2010-08-02 20:37:32 +00:00
alberth 5556955960 (svn r20318) -Doc: Doxygen additions. 2010-08-02 20:32:39 +00:00
alberth 73f45d16d1 (svn r20317) -Codechange: Move variable declaration to their first use. 2010-08-02 20:19:10 +00:00
rubidium 00dcb16760 (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 9f5e49eaad (svn r20315) -Codechange: Replace magic numbers by named constants. 2010-08-02 18:47:03 +00:00
michi_cc e34faa8e15 (svn r20314) -Fix (r20312): Too many parameters, missed one. 2010-08-02 18:40:25 +00:00
michi_cc 3c7b220d59 (svn r20312) -Doc: Add missing doxygen comments to road map accessors. 2010-08-02 18:34:46 +00:00
yexo dff871b40d (svn r20311) -Codechange: don't reserve extra space in the savegame that is never used 2010-08-02 18:24:09 +00:00
translators 9b9d8088b0 (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 6371e6c4db (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 dfb0a2c9a5 (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 cded122da5 (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 7d0297f967 (svn r20302) -Add: Method for getting the air drag of a ground vehicle. 2010-08-02 14:52:51 +00:00
terkhen 8203749e68 (svn r20301) -Add: [NewGRF] Read air drag property from Action 0 for trains. 2010-08-02 14:51:35 +00:00
terkhen 5c633159ca (svn r20300) -Add: Air drag field to the rail engine information. 2010-08-02 14:50:26 +00:00
terkhen 1fd66d7cc4 (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