Commit Graph

3470 Commits (b47a151bcec9fe3f41ca8fad313aa2e155476cfe)

Author SHA1 Message Date
rubidium d7bae069e1 (svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown. 16 years ago
rubidium 372830b731 (svn r12682) -Fix [FS#1920]: removing road pieces from a town gave you twice the intended penalty. 16 years ago
rubidium 9349767e1d (svn r12681) -Fix [FS#1921]: aircraft stopping mid-air. 16 years ago
belugas 604c5bbfb7 (svn r12679) -Codechange : a little bit of widget enumification 16 years ago
rubidium ed43ffe435 (svn r12678) -Fix [FS#1918]: when a road vehicle has a tram only stop multiple times in a row in it's orders, only the first one would be skipped. 16 years ago
peter1138 a3e2d8f577 (svn r12676) -Codechange: Reinstate colour selection buses, absent since r6455. 16 years ago
peter1138 447a31b702 (svn r12675) -Codechange: Add support for custom drawing of drop down list items. 16 years ago
peter1138 a45c1d45e5 (svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours. 16 years ago
peter1138 711909fa0c (svn r12672) -Codechange: Add support for variably-sized drop down list items. 16 years ago
smatz f44aa5e088 (svn r12671) -Fix (r12644): orders window of competitors' vehicles was missing a resizebox 16 years ago
rubidium ed250cc7b5 (svn r12670) -Add: unconditional/always order 'jump/skip' variable. 16 years ago
rubidium 8c89250f58 (svn r12669) -Fix (r12667): crash when a vehicle has never been to a station and the load percentage conditional variable is evaluated. 16 years ago
rubidium 8410bff078 (svn r12668) -Fix (12667): swapping of variables went wrong. 16 years ago
rubidium ac94b6384b (svn r12667) -Feature: conditional 'skip/jump' orders. 16 years ago
rubidium 04b9600920 (svn r12666) -Fix: the time table GUI did not show some data in the correct manner. 16 years ago
rubidium e9014c99b3 (svn r12665) -Codechange: make the internal speed <-> display speed conversions available to a bigger part of the code. 16 years ago
rubidium 8226c92c8a (svn r12664) -Codechange: do not force the 'color' pointer to be non-NULL when trying to get the load percentage. 16 years ago
rubidium 00d23c57b3 (svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI. 16 years ago
belugas 02a907f306 (svn r12662) -Codechange: Comment-code style application 16 years ago
rubidium cebe2001ba (svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot. 16 years ago
rubidium 3919c30c2d (svn r12660) -Codechange: make the creation of depot order strings a little more modular (instead of causing a string explosion). 16 years ago
rubidium 00051b2721 (svn r12659) -Cleanup: some style cleanups in vehicle.cpp. 16 years ago
rubidium 570519d79b (svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands. 16 years ago
rubidium 62bdc381e7 (svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class. 16 years ago
rubidium 3a0cb23548 (svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect. 16 years ago
rubidium d781fc7cc9 (svn r12655) -Change: show the current state in the drop down 'buttons'. 16 years ago
rubidium 5d6ef7bc6e (svn r12654) -Codechange: remove some unneeded right click handling due to the splitting of the load/refit button. 16 years ago
rubidium 31f982f1f9 (svn r12653) -Codechange: disable load/unload dropdowns when there is a 'via' non-stop order to emphasize that loading/unloading will not be done. 16 years ago
rubidium ba0a5814c2 (svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type. 16 years ago
peter1138 63116691a9 (svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more. 16 years ago
rubidium 6379c30d26 (svn r12650) -Feature: ability to force a vehicle to not load at a station.
-Feature: ability to force a vehicle to not unload at a station.
16 years ago
rubidium 3974bf2199 (svn r12649) -Fix: refit orders not being shown.
-Fix: unusable non-stop orders shown for waypoints and depots.
16 years ago
rubidium 5992dad01f (svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
16 years ago
belugas fa1359ebc6 (svn r12647) -Codechange: Ooops... Too fast on the job... forgot to indent 3 lines 16 years ago
belugas ccd49d81a8 (svn r12646) -Codechange: another run of code-style cleanup 16 years ago
belugas f484b2e1c7 (svn r12645) -Codechange: a bit of code-style cleanup 16 years ago
rubidium 2ac6af4e48 (svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes. 16 years ago
rubidium c9e9e6005b (svn r12643) -Codechange: be more explicit about the orders a vehicle has (non stop and full load are ambiguous and depend on some patch settings). 16 years ago
smatz e075ade119 (svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames 16 years ago
rubidium 70f3413a36 (svn r12641) -Codechange: do not use the same button for two completely distinct tasks, just make an extra button for it and hide them when not needed. 16 years ago
rubidium 82155367f6 (svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly. 16 years ago
rubidium d178345947 (svn r12639) -Fix: order window was not marked dirty on changed orders. 16 years ago
rubidium 55f0d01235 (svn r12638) -Codechange: give order_gui.cpp a touch of coding style. 16 years ago
rubidium ab7b05da50 (svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data. 16 years ago
rubidium c41624bb94 (svn r12636) -Codechange: make CmdModifyOrder a little more flexible and remove 'hack' that used the full load flag to set the service if needed flag. 16 years ago
belugas caa3b659b0 (svn r12635) -Codechange: a bit of a code-style cleanup 16 years ago
belugas 25e5e5b1a9 (svn r12634) -Feature: Financial and Player Selection Face windows are now remembering their position when toggling sizes 16 years ago
rubidium d8f88f06d4 (svn r12633) -Fix: could not make a (go-to) depot order. 16 years ago
smatz 627322b9f7 (svn r12632) -Fix (r12547): with invisible catenary, trams were be drawn over a bridge 16 years ago
rubidium 3abf0eea7c (svn r12631) -Fix [FS#1911]: sometimes aircraft couldn't find their way to their depot. 16 years ago
maedhros 85e5053b68 (svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders. 16 years ago
frosch 96700d5605 (svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
16 years ago
rubidium 71a2dd21fd (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. 16 years ago
peter1138 310170364f (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 16 years ago
rubidium b0ca38e20a (svn r12622) -Fix: infinite loop in case your compiler decides that enums are unsigned by default. Patch by Dominik. 16 years ago
rubidium d31dee2717 (svn r12620) -Fix: automatic servicing of vehicles made them stop in the depot. 16 years ago
rubidium ee02dd7dad (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 16 years ago
rubidium f04ecd2e4a (svn r12618) -Codechange: as load and unload type are now split, some case statements got ugly. 16 years ago
rubidium d74c6ffb62 (svn r12617) -Codechange: add type safety to the Order's load and unload types. 16 years ago
smatz 42a66ef990 (svn r12616) -Codechange: r12591 didn't work as expected for NDS, move one function back to cpp 16 years ago
rubidium f1cd7ef5ee (svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness. 16 years ago
belugas 45165fe075 (svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies 16 years ago
rubidium 77dca1f023 (svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order. 16 years ago
smatz ac389e16d2 (svn r12605) -Cleanup: variable scope and coding style in train* 16 years ago
rubidium f46ae97d8e (svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively. 16 years ago
rubidium c57a1d74c3 (svn r12600) -Codechange: make GetNonStopType return a more augmented type; not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere. 16 years ago
smatz 6af1fb2bdd (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 16 years ago
rubidium 1bd5a29df5 (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
rubidium d90a041230 (svn r12595) -Codechange: hide Order's flags in the last few cases. 16 years ago
smatz c0a5fa9eea (svn r12594) -Codechange: move large functions from driver.h to driver.cpp to reduce binary size and compile time 16 years ago
rubidium fb1c4eccd8 (svn r12593) -Codechange: hide Order's flags in most of the code. 16 years ago
rubidium 5d8e3adccc (svn r12592) -Fix (r12580): aircraft's go-to-depot handling is a mess, which assumes destination to be a station even when it did not set a destination yet. 16 years ago
smatz aaa1b0744a (svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of binary size saved 16 years ago
rubidium d6623cf654 (svn r12588) -Codechange: do not access the destination of an order directly. 16 years ago
rubidium 8cd1795fe3 (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. 16 years ago
rubidium e68b2088ce (svn r12586) -Codechange: do not access an order's refit variables directly. 16 years ago
rubidium 630d5ad766 (svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed. 16 years ago
rubidium 5b47f81b0f (svn r12584) -Codechange: do not access the order type directly. 16 years ago
rubidium 56e63a6044 (svn r12583) -Codechange: make AssignOrder a class function of order. 16 years ago
rubidium 669b4bc609 (svn r12582) -Codechange: move some (needlessly) static inlined functions from order_base.h to order_cmd.cpp. 16 years ago
rubidium 84211a8fea (svn r12581) -Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled. 16 years ago
rubidium aef20ec54d (svn r12580) -Codechange: merge some logical related to non-stop orders. 16 years ago
smatz d977461d10 (svn r12579) -Change: reset cursor when the Plant trees GUI is opened 16 years ago
rubidium 5eb5889954 (svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder. 16 years ago
smatz 65fedf0cfb (svn r12577) -Fix (r11547): the convert signal button disallowed signal dragging when the signal GUI was closed 16 years ago
smatz b2e4adc2b8 (svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate 16 years ago
rubidium bdd64495cd (svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles. 16 years ago
rubidium e9661fb420 (svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces. 16 years ago
smatz fb379b522d (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 16 years ago
smatz a7d885e4c6 (svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work 16 years ago
rubidium c5814a72ce (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. 16 years ago
smatz d1c0e57901 (svn r12570) -Cleanup: further variable scope in road_gui.cpp 16 years ago
smatz b78e8f82e1 (svn r12569) -Cleanup: variable scope and coding style in road*.cpp 16 years ago
smatz e5d4ee30d3 (svn r12565) -Cleanup: variable scope in misc\*.cpp 16 years ago
smatz 8a2762978c (svn r12564) -Fix: towns couldn't terraform when inflation rised terraform prices enough 16 years ago
smatz c49f813e7f (svn r12563) -Cleanup: variable scope and a bit of coding style in landscape.cpp 16 years ago
smatz 0aeefe164d (svn r12562) -Cleanup: variable scope in terraform_cmd.cpp 16 years ago
smatz 99b2536351 (svn r12561) -Fix: do not affect town rating change by the order in which we examine stations 16 years ago
smatz 42ed287506 (svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style 16 years ago
belugas 2675db8d70 (svn r12558) -Feature: subsidy window can now be resized. 16 years ago
smatz 110584808d (svn r12557) -Cleanup: use MAX_PATH at two more places 16 years ago
smatz c745ca21a3 (svn r12556) -Fix (r6001): remove fences with fields when loading old savegames, looks better 16 years ago
smatz b9b99d3150 (svn r12553) -Fix (r11547): redraw the signal GUI when the signal drag density changes in the patch settings and vice versa 16 years ago
smatz ff7e8fb2dd (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened 16 years ago
smatz 277df6d622 (svn r12549) -Fix [FS#1900](r11547): respect type of selected signal when building more signals using the GUI
-Fix: do not check patch settings but check if the Signal GUI window is open instead
16 years ago
smatz 86c72ab927 (svn r12548) -Cleanup: remove strings removed in r12547 from all language files 16 years ago
smatz febc5150c9 (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 16 years ago
glx 83f9e141e0 (svn r12546) -Fix: completely remove cases from Brazilian Portuguese translation 16 years ago
frosch 87e5d85d6e (svn r12545) -Cleanup: Replace some tables of magic values with already existing functions. 16 years ago
miham f219eb5653 (svn r12543) -Update: WebTranslator2 update to 2008-04-03 08:42:55
brazilian_portuguese - 18 fixed by fukumori (18)
bulgarian  - 17 fixed by thetitan (17)
catalan    - 11 fixed by arnaullv (11)
dutch      - 19 fixed by habell (19)
french     - 11 fixed by glx (11)
hungarian  - 5 fixed by miham (5)
icelandic  - 24 fixed, 2 changed by scrooge (26)
italian    - 11 fixed, 1 changed by lorenzodv (12)
korean     - 17 fixed, 3 changed by leejaeuk5 (20)
slovak     - 18 fixed by lengyel (18)
slovenian  - 19 fixed by Necrolyte (19)
swedish    - 33 fixed by daishan (33)
turkish    - 18 fixed by jnmbk (18)
ukrainian  - 17 fixed by mad (17)
16 years ago
frosch fa68e5f770 (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 16 years ago
frosch 5e5e074a5d (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. 16 years ago
smatz b0ee311780 (svn r12537) -Cleanup: comment newgrf_config.h a bit 16 years ago
rubidium 8e83627991 (svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack). 16 years ago
belugas 81b6125ac2 (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 16 years ago
skidd13 584bbfd7e7 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 16 years ago
frosch 4329223476 (svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions. 16 years ago
frosch 549d05dc4d (svn r12532) -Cleanup: Replace two tables of magic values with already existing functions. 16 years ago
frosch 15a9fba867 (svn r12531) -Codechange: Rename some variables for consistency. 16 years ago
skidd13 9d914a803c (svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future 16 years ago
skidd13 4cc6140619 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive 16 years ago
rubidium a0895d57fa (svn r12501) -Codechange: split signs.h. 16 years ago
rubidium b1e1c13420 (svn r12499) -Codechange: some coding style tweaks for network_internal.h. 16 years ago
rubidium 7c759731dc (svn r12498) -Codechange: bring a little 'order' to openttd.cpp's includes and do not 'define' VARDEF for files that do not have them anymore. 16 years ago
rubidium 6f15d34fe5 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 16 years ago
rubidium ef2be7d0fc (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 16 years ago
rubidium 2edd403656 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 16 years ago
rubidium 4a1035ab95 (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 16 years ago
rubidium 9598b1ecaf (svn r12486) -Fix: the copyright date wasn't set correctly in ottdres.rc. 16 years ago
bjarni a81a572434 (svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
17 years ago
peter1138 f8294b1386 (svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the industry view window. The window is now shown the correct size so the resize button is also removed. 17 years ago
rubidium d51347a04d (svn r12477) -Fix [FS#1883]: timetable times for aircraft were always doubled. 17 years ago
rubidium 93d59fe448 (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 17 years ago
rubidium d97c16ee8b (svn r12475) -Codechange: cleanup coding style in news_gui.cpp. 17 years ago
rubidium f4d48f0e5b (svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h. 17 years ago
rubidium cdd5f90e64 (svn r12473) -Codechange: move EngineList to a more logical location. 17 years ago
rubidium ff3a401404 (svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo. 17 years ago
rubidium 0f552a88a7 (svn r12471) -Codechange: move SignID to a more logical location. 17 years ago
rubidium 4c63dd074e (svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h. 17 years ago
rubidium 878489e38d (svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h. 17 years ago
rubidium 58e6e75320 (svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h. 17 years ago
rubidium 7f139373aa (svn r12467) -Codechange: move DepotID to a more logical location. 17 years ago
rubidium 450d234745 (svn r12466) -Codechange: move DestinationID to a more logical location. 17 years ago
rubidium cb96caa3d2 (svn r12464) -Change: remove an include that doesn't define anything anyway. 17 years ago
rubidium b4dafb3036 (svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist. 17 years ago
rubidium eeabab4555 (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 17 years ago
rubidium d8cfb4f064 (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. 17 years ago
belugas 79f033c78f (svn r12457) -Codechange: Move signal enums on their own header. 17 years ago
glx 64797f06eb (svn r12456) -Update: apply english.txt changes from r12455 to other languages 17 years ago
glx 226e48cf83 (svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type display for industries) 17 years ago
glx d4f7f5e5fe (svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this chain of vehicles with the same ID' (thx DaleStan)
-Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
17 years ago
peter1138 b8ac06b462 (svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and unnecessary rgb to bgr swapping. 17 years ago
glx bbdb831301 (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. 17 years ago
peter1138 5ddb78af9f (svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
peter1138 7df7a3069c (svn r12450) -Codechange: Use a pointer instead of several array dereferences. 17 years ago
belugas 3343586c84 (svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level 17 years ago
rubidium 692ac96625 (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 17 years ago
peter1138 9676d90a95 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. 17 years ago
peter1138 ffe07b9292 (svn r12445) -Fix: Add missing compile asserts for window data structs 17 years ago
belugas 3256b24dd6 (svn r12444) -Fix: A little typo 17 years ago
rubidium 63ab877c27 (svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need to keep to ask people for their version number because it's likely they give you the wrong answer anyway. 17 years ago
skidd13 2405ffd855 (svn r12442) -Feature: Allow build leveled roads on slopes for the old ai 17 years ago
rubidium e9dad7637e (svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus. 17 years ago
skidd13 b490a21e50 (svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
-Feature: Allow to build/remove more road-piece combinations directly
17 years ago
rubidium 3d03eab9bc (svn r12439) -Fix [FS#1871]: do not 'disable' the drawing of autorail overlays when the tile is 'error'-marked (red pulsating selection). Patch by Icosikai. 17 years ago
rubidium 67c1e00aea (svn r12438) -Fix-ish: typo spotted by Biblo. 17 years ago
peter1138 f9e7b70f91 (svn r12436) -Cleanup: minor coding style 17 years ago
rubidium 989f967509 (svn r12435) -Fix: do not remove the case from the Brazilian Portuguese translation while it is still in use. 17 years ago
rubidium 3d8bd6245e (svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik. 17 years ago
rubidium f241b0acd4 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 17 years ago
rubidium 327e870962 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 17 years ago
bjarni 06c0e5df5a (svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
17 years ago
maedhros 97fb7fb8d9 (svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm. 17 years ago
skidd13 82eebc20c0 (svn r12419) -Cleanup: of the internal road-piece building and removing. 17 years ago
maedhros 2023f59541 (svn r12417) -Fix: Add a new plural rule for Icelandic. 17 years ago
peter1138 6184676ec7 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 17 years ago
miham 237524f960 (svn r12408) -Update: WebTranslator2 update to 2008-03-25 09:44:24
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 8 fixed by arnaullv (8)
czech      - 1 fixed by Hadez (1)
french     - 8 fixed by glx (8)
hungarian  - 10 fixed by miham (10)
icelandic  - 9 fixed, 1 changed by scrooge (10)
italian    - 8 fixed by lorenzodv (8)
korean     - 1 fixed by darkttd (1)
russian    - 8 fixed by Smoky555 (8)
ukrainian  - 1 fixed by mad (1)
17 years ago
glx fed6a25799 (svn r12407) -Add [FS#1866]: more language flags for servers 17 years ago
rubidium 4a16a8b948 (svn r12405) -Codechange: some coding style and 'untodoifying' some comments that were certainly not todos. 17 years ago
rubidium 67190b2906 (svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now. 17 years ago
rubidium 516282fe3c (svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner. 17 years ago
rubidium 37d961c8e7 (svn r12402) -Fix: some toolbars didn't seem to show anymore. 17 years ago
glx 3f3598bd76 (svn r12401) -Fix (r9754): when loading TTD savegame some data were lost (profits, ...) due to a 'reallocation' for vehicle type conversion. The conversion is now done before loading the vehicle chunk. 17 years ago
rubidium 83fec1b297 (svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places. 17 years ago
rubidium 65c7ef9629 (svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik. 17 years ago
rubidium fb755e6e87 (svn r12397) -Codechange [FS#1856]: enumify widget number for time tables. Patch by Phil Sophus. 17 years ago
rubidium c7d4c0e269 (svn r12396) -Codechange: change a few things to reflect that we aren't aiming for 0.6 anymore in trunk. 17 years ago
rubidium 4094e9b495 (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. 17 years ago
maedhros 389d89ea49 (svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again. 17 years ago
maedhros 292cfc56f6 (svn r12391) -Feature: Show whether a town is a "city" in the town description title bar. 17 years ago
rubidium f0538b4b62 (svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel entrances. 17 years ago
rubidium 5d747802f2 (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. 17 years ago
maedhros 9dffdaca0d (svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback. 17 years ago
miham 55dcd4f94d (svn r12387) -Update: WebTranslator2 update to 2008-03-21 00:20:05
german     - 1 fixed by moewe2 (1)
icelandic  - 346 fixed by scrooge (346)
korean     - 2 fixed by darkttd (2)
portuguese - 6 fixed by nars (6)
russian    - 15 fixed by Smoky555 (15)
slovenian  - 6 fixed by Necrolyte (6)
17 years ago
smatz ac4ec8c2d2 (svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot 17 years ago
peter1138 ab7542e912 (svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken. 17 years ago
smatz 031c9da01c (svn r12384) -Fix (r2428): do not disconnect train when reversing, it may 'think' it is whole in a depot 17 years ago
peter1138 d27ab363a7 (svn r12383) -Fix [FS#1860]: Check return of AfterLoadGame for success or failure when loading TTD games. 17 years ago
glx faa1483ee6 (svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab 17 years ago
skidd13 a887b79f90 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo) 17 years ago
glx 985dbaa093 (svn r12380) -Fix: update train acceleration and max speed after setting cached value to ensure the correct max speed is used with disabled real acceleration 17 years ago
glx fbf70d53ec (svn r12379) -Codechange: removed now redondant InvalidateWindow() calls 17 years ago
glx 2b86efea74 (svn r12378) -Fix: refresh vehicle details window when cached values are updated 17 years ago
glx e2ec1e7032 (svn r12377) -Fix [FS#1854]: set cached value for vehicle property 25 before other cached values 17 years ago
peter1138 e27de79990 (svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget 17 years ago
glx 013d7db19f (svn r12373) -Fix [FS#1849]: win32 music driver fails if path is too long (128 chars is too much for mci it seems), so retry using the short path name (8.3 style) if available 17 years ago
glx 1abd2bd700 (svn r12372) -Fix: win32 music driver fails if path contains non-latin chars 17 years ago
smatz 756e0d9b6e (svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen 17 years ago
peter1138 058724b768 (svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed. 17 years ago
smatz 89e9bbfa98 (svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes 17 years ago
smatz bfae49aeb2 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 17 years ago
smatz 5db7288ea9 (svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error 17 years ago
glx f8bae50bf5 (svn r12366) -Codechange: use MAX_PATH instead hardcoded value 17 years ago
skidd13 9a96f89646 (svn r12365) -Fix: missing redraw call in the road gui 17 years ago
peter1138 d205e53392 (svn r12364) -Fix (r12361): Case attribute for brazilian_portuguese got lost. 17 years ago
smatz 902320d7cb (svn r12363) -Fix: do not allow building 'zero' road bits 17 years ago
frosch 84385f187b (svn r12362) -Fix (r11985, r12006): Randomize variable 8F only once per callback 28. 17 years ago
miham 761224a4f6 (svn r12361) -Update: WebTranslator2 update to 2008-03-12 09:46:45
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian  - 3 fixed, 1 changed by kokobongo (3), thetitan (1)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
danish     - 15 fixed by ThomasA (15)
dutch      - 2 fixed, 1 changed by habell (3)
estonian   - 2 fixed by kristjans (2)
french     - 2 fixed by glx (2)
german     - 15 fixed, 1 changed by moewe2 (16)
italian    - 2 fixed by lorenzodv (2)
portuguese - 9 fixed, 6 changed by nars (15)
slovak     - 2 fixed by lengyel (2)
slovenian  - 9 fixed by Necrolyte (9)
spanish    - 2 fixed, 2 changed by eusebio (4)
turkish    - 22 fixed by jnmbk (22)
ukrainian  - 2 fixed, 18 changed by mad (20)
17 years ago
glx 7056428d15 (svn r12360) -Fix: openttdd.grf was using the wrong colours for glyphs due to a grfcodec bug (fixed in grfcodec 0.9.10 r1837) 17 years ago
frosch ec59843136 (svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf version 7. 17 years ago
frosch 51bbf0c84f (svn r12352) -Fix: Some callback-results were treated as 8 bit, when they were 15 bit, and vice versa.
Var 0x7E procedure-results are always 15 bit.
  Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit.
  Non-varaction2-calculated callback-results are also affected by the 8bit masking.
17 years ago
glx 220b2a1ae1 (svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase) 17 years ago
belugas 82e340c325 (svn r12349) -Change[FS#1826]: Remove the need to include the afxres.h header when all that was needed was just the definition if IDC_STATIC.
Only valid for MSVC compilers.
17 years ago
smatz 2c74f39273 (svn r12348) -Fix (r7573): NTP skipped junction just after bridge end 17 years ago
frosch 08f0179916 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 17 years ago
frosch 8f556828f0 (svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP. 17 years ago
glx 1976d2d37c (svn r12345) -Fix [FS#1828](r12296): don't try to restore backupped timetable when timetabling is disabled 17 years ago
skidd13 442efcffb0 (svn r12344) -Codechange: Check uint64 bitsize on compiletime too. 17 years ago
peter1138 b4a51cd28d (svn r12343) -Fix (r12293): Slow helicopters never got the 'chance' to finish the landing routine. 17 years ago
belugas cd411ab75a (svn r12342) -Fix(r12340): In order to avoid confusion, SIGN should be used for signs and SIGNAL for signals :)
Always check your terms with your nearest british ;)
17 years ago
peter1138 f08cf32216 (svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size. 17 years ago
belugas a6ee46a5a0 (svn r12340) -Codechange: Remove some magic numbers (sprite IDs here) with some more meaningful values.
This allows to remove an unnecessary subtraction in the MAYBE_DAW_SIGNAL macro, who was waiting for an offset, at the first place.
17 years ago
peter1138 bc8ad5c743 (svn r12339) -Fix (r12331): Recalculate cached train data after clearing reversing flag when entering depot. 17 years ago
peter1138 9674ff71de (svn r12336) -Fix [FS#1733]: Don't pause/unpause the game when showing load/save windows when the game is paused due to missing GRFs. 17 years ago
peter1138 3907ac518b (svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned... 17 years ago
peter1138 e1cc80b01c (svn r12334) -Codechange: Don't change road owner without DC_EXEC. Didn't affect anything in this case but is bad form. 17 years ago
frosch 6e3ae628fc (svn r12333) -Fix: Switch grfstatus from 'activated' back to 'will-be-active' between reservation- and activation-stage.
This fixes action7/9 conditions 0x06 to 0x0A to return the same in those two stages.
17 years ago
peter1138 6bb37edfb6 (svn r12332) -Fix (r12331): Invalidate cached data and update image after setting flag. 17 years ago
glx b64f637c72 (svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8 17 years ago
glx cf0e6d4cb4 (svn r12330) -Feature: [NewGRF] vehicle variable FE bit 5 and 6 17 years ago
peter1138 5049fbb081 (svn r12329) -Fix [FS#1819]: Disallow building level crossings over one-way roads as this allowed competitors to remove the one-way state. 17 years ago
belugas 56ed79e448 (svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;) 17 years ago
smatz 620695587d (svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated 17 years ago
smatz 8dacca9a71 (svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it was comparing two the same strings (when caching was not used) 17 years ago
glx c4e023bd6e (svn r12322) -Fix (r9874): endian issue when saving/loading group owner 17 years ago
peter1138 f87b1df566 (svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all. 17 years ago
peter1138 3bba6e4abd (svn r12319) -Cleanup: Comment fixes (Roujin) 17 years ago
peter1138 9ccce57438 (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 17 years ago
peter1138 6bdc8e5fae (svn r12316) -Codechange: Support loading full range of 0xD0xx NewGRF strings which
includes 0xD000 to 0xD3FF (yes, 0xD0xx makes a lot of sense, really...) 
and handle 0xD400 to 0xD7FF strings which map to 0xD000 to 0xD3FF 
(obviously).
17 years ago
peter1138 034649e7f5 (svn r12314) -Fix (r4896): Include prop 25 data for all train parts, not just those that carry cargo. 17 years ago
frosch 35fd0dfd4e (svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes. 17 years ago
glx 86a4d377b1 (svn r12304) -Codechange: use IsValidTile() where it should be used 17 years ago
glx 35195bb2bc (svn r12303) -Codechange: move IsValidTile() in a more suitable place and make it static inline 17 years ago
glx 459fd42e1d (svn r12296) -Fix [FS#1549]: restore timetable from backupped orders and add group ID to the backup 17 years ago
peter1138 6aea2454c8 (svn r12295) -Codechange: Make plane speed option available to NewGRFs 17 years ago
peter1138 926f5d548d (svn r12293) -Feature: Ability to change aircraft speed factor, from so
called 'realistic' (matching other vehicles) (1/1) to original TTD 
speed (1/4). Note this option defaults to original TTD speed.
17 years ago
belugas 8f47b642b6 (svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram tracks.(Roujin) 17 years ago
belugas 46a3508f50 (svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated 17 years ago
belugas 202f1046f6 (svn r12288) -Fix(r12287): forgot to include two sprite renames out of consistency.
And obviously forgot to compile before committing, as the array rename would have been evident.
17 years ago
belugas 7c14dedeb6 (svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
A bit of re-indenting too
17 years ago
belugas 7e74fca7d8 (svn r12272) -Codechange: A bit of code style fixes (tabs instead of spaces), one space too many before macro definition and rename marco MB (MakeBridge) for MBR(MakeBRidge) 17 years ago
belugas 0a92b3366c (svn r12263) -Codechange: Give meaning to the concrete bridge sprites arrays.
Add macro MR (PALETTE_TO_STRUCT_RED) for easier viewing.
Still more to come.
17 years ago
belugas 3764aa5134 (svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
Add macro MN for easier viewing.
More to come.
17 years ago
glx 62d9bf8d0f (svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window 17 years ago
glx 4a4be744b6 (svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists 17 years ago
KUDr e41df385d7 (svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks michi_cc).
-Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were:
  1. never used
  2. obsoleted by switching to C++
17 years ago
frosch 93b3a66678 (svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) returned wrong values. 17 years ago
frosch c2f3e0e326 (svn r12246) -Fix (r10460): Proper usage of Clamp(). 17 years ago
smatz 27284db36f (svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer 17 years ago
glx f352512c8d (svn r12239) -Fix [FS#1800] (r9729): inverted comments for SetRailType() and GetTrackBits() (michi_cc) 17 years ago
bjarni 8290a798fc (svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments 17 years ago
bjarni 089969e1ca (svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing
This will remove duplicated code and ensure that the check is consistent
17 years ago
miham e821b3a9b8 (svn r12218) -Update: WebTranslator2 update to 2008-02-23 12:39:10
brazilian_portuguese - 13 fixed, 51 changed by fukumori (64)
bulgarian  - 12 fixed by thetitan (12)
catalan    - 13 fixed by arnaullv (13)
czech      - 13 fixed, 8 changed by Hadez (21)
dutch      - 13 fixed by habell (13)
estonian   - 13 fixed, 3 changed by kristjans (16)
french     - 13 fixed, 20 changed by glx (33)
hungarian  - 13 fixed by miham (13)
italian    - 13 fixed, 8 changed by lorenzodv (21)
japanese   - 13 fixed by ickoonite (13)
korean     - 14 fixed by leejaeuk5 (14)
portuguese - 2 fixed by nars (2)
slovak     - 13 fixed by lengyel (13)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 13 fixed by eusebio (13)
swedish    - 1 fixed by ChrillDeVille (1)
ukrainian  - 13 fixed, 1 deleted, 124 changed by mad (138)
17 years ago
peter1138 dda6cab17a (svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it. 17 years ago
belugas c0544563a6 (svn r12208) -Codechange: Alignment of params makes the code easier to read. 17 years ago
peter1138 577b0cc260 (svn r12207) -Change: rail running costs are engine class, not rail type 17 years ago
belugas 1b73417e5f (svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use it when needed. 17 years ago
peter1138 79b6b9cb66 (svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base) 17 years ago
smatz db9d5a909f (svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets 17 years ago
frosch 1e74834441 (svn r12203) -Fix (r12199): Make trains pay attention to signals again. 17 years ago
peter1138 e90cf8509a (svn r12202) -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen. 17 years ago
smatz a47b4631ea (svn r12201) -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled 17 years ago
smatz 767e1cc37e (svn r12200) -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere 17 years ago
frosch b7993793c8 (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
peter1138 9e65157548 (svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent. 17 years ago
smatz a190606f2e (svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
17 years ago
smatz e95a85315c (svn r12195) -Fix [FS#1787](r12100): there can be oil rigs at map borders, do not set water class for them 17 years ago
smatz 73a6525129 (svn r12194) -Codechange: apply coding style on enum TrainSubtype 17 years ago
frosch f5929d413b (svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'. 17 years ago
smatz ca46154068 (svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value 17 years ago
frosch 0e9e94a94b (svn r12191) -Fix: Do not start overtaking if the RV reaches wrong-way one-way-road in the next tiles. 17 years ago
smatz 2b8d1bcb51 (svn r12190) -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug for debug level 2 (patch by IguannaB) 17 years ago
smatz 169ac7c91d (svn r12189) -Codechange: mark some functions in train_cmd.cpp inline (called once or very short) 17 years ago
smatz 595d9357c3 (svn r12188) -Codechange [FS#1782]: do not check twice for correct rail owner (patch by Vikthor) 17 years ago
belugas b4b5c09ff9 (svn r12187) -Add: frosch as dev. Last, but not least 17 years ago
smatz 6e9b952623 (svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land) 17 years ago
smatz adf1227290 (svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc) 17 years ago
smatz 578e833284 (svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime 17 years ago
smatz 0821df8537 (svn r12183) -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all 17 years ago
peter1138 a4c14fb442 (svn r12180) -Fix: Test purchase list loading/loaded sprites instead of unconditionally returning a possibly non-existant sprite. 17 years ago