Commit Graph

5520 Commits (da81f7253236269c07f4228271bf9b2db52e540c)

Author SHA1 Message Date
yexo bd2544b5ea (svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte. 16 years ago
rubidium a23818b146 (svn r15574) -Fix [FS#2680]: force unload not working when trying to force unload at the station where you received the cargo 16 years ago
yexo 5707f2c028 (svn r15573) -Fix (r15538): Terrain type and sea level couldn't be changed in the scenario editor. 16 years ago
smatz 2f63571203 (svn r15572) -Fix (r13730): theoretical buffer overflow when company with too long name funded a road reconstruction 16 years ago
smatz 3707a11e5e (svn r15571) -Fix: incorrect use of memset 16 years ago
yexo d96b151859 (svn r15570) -Fix: Too long strings in the advanced settings window are now truncated. 16 years ago
smatz 1f42f44092 (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 16 years ago
smatz 34bfb35105 (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 16 years ago
yexo 471c770a08 (svn r15567) -Fix [FS#2674]: When building signals by dragging from a pre/entry/combo block signal, the signal you started at became a normal block signal. 16 years ago
rubidium 926b721cc2 (svn r15566) -Change: reintroduce space as valid method of selecting 'content' as long as the filter box is not focused. Enter will also work when the filter box is focused. 16 years ago
rubidium 39b6a2a507 (svn r15565) -Fix [FS#2675]: dependency information wasn't requested after the content state was reset causing the dependencies not always being selected (and thus downloaded) automatically. 16 years ago
yexo 8a1d11ed85 (svn r15564) -Fix: Refresh all industry windows if the modify production cheat is enabled/disabled. 16 years ago
yexo 11ce4538b4 (svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID(). 16 years ago
yexo c144d8fa90 (svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier. 16 years ago
rubidium 27ae9fbd7e (svn r15561) -Fix [FS#2646]: segfault when saving a preset with unknown NewGRFs 16 years ago
rubidium 8976465c69 (svn r15560) -Fix: typos in Spanish town names (Erregerre) 16 years ago
frosch b95fa2b7a3 (svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed) 16 years ago
yexo 301dcb6dc4 (svn r15558) -Cleanup: Remove some unnecessary friend declarations. 16 years ago
rubidium 6137a9e953 (svn r15557) -Fix: the font width cache was not updated when changing fonts causing the font spacing to be off when changing fonts in-game (auto font detection). 16 years ago
rubidium 9ab8a2aab1 (svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding. 16 years ago
rubidium 44821e60eb (svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites. 16 years ago
rubidium 2a2ee1fdb9 (svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high score of the spectator. 16 years ago
translators 5c27b42a77 (svn r15553) -Update: WebTranslator2 update to 2009-02-22 18:58:31
french     - 2 changed by belugas (2)
japanese   - 67 fixed by ickoonite (67)
polish     - 3 fixed by xaxa (3)
spanish    - 38 changed by erregerre (38)
16 years ago
rubidium 5c127d51b8 (svn r15552) -Fix (r15544): some compiler/OS combinations don't like closing the same FD twice and zlib's docs weren't very clear about whether it would close a FD it didn't open. 16 years ago
rubidium c2658c1105 (svn r15551) -Fix [FS#2656]: [NoAI] crash when setting a depot order to the southern part of a ship depot 16 years ago
rubidium 49ab7c3b50 (svn r15550) -Fix [FS#2654]: bogus secondary error message when dynamiting industries/unmoveables; "X is in the way" isn't helpful at all in that case. 16 years ago
translators c50e837db8 (svn r15549) -Update: WebTranslator2 update to 2009-02-21 18:48:25
brazilian_portuguese - 5 changed by tucalipe (5)
german     - 7 changed by planetmaker (7)
indonesian - 4 changed by fanioz (4)
korean     - 2 changed by darkttd (2)
norwegian_nynorsk - 1 fixed, 7 changed by Thor (8)
polish     - 15 fixed by xaxa (11), coolik (4)
romanian   - 2 changed by kkmic (2)
simplified_chinese - 3 fixed by ww9980 (3)
spanish    - 2 changed by eusebio (2)
16 years ago
rubidium 656933e95f (svn r15548) -Fix: incorrect error message when removing non-existing diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail). 16 years ago
frosch 7e925a5781 (svn r15547) -Codechange: Eliminate all == and != comparisons between v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs. 16 years ago
rubidium 68282c4172 (svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators. 16 years ago
rubidium dec552f229 (svn r15545) -Fix [FS#2653]: if a buoy was placed directly in front of a dock, that dock was seen as a buoy and thus skipped once within 3 tiles. 16 years ago
rubidium fcdeb5c522 (svn r15544) -Fix [FS#2650]: extracting downloaded content didn't work for Windows if one uses a non-ASCII. 16 years ago
rubidium 38d66e69af (svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D). 16 years ago
frosch a9cccbd53a (svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase list. 16 years ago
frosch abe4692da2 (svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
  Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
  Note: It is intentional that you cannot control refittability by CB 36.
16 years ago
frosch 9eb880ab43 (svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue'. 16 years ago
frosch 0e4a490a92 (svn r15539) -Fix: If an aircraft cannot carry any available cargo, it should not be available either instead of falling back to passenger/mail. Just like the other vehicle types also do. 16 years ago
yexo 598d20eedc (svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when changing the amount of towns/industries from the newgame gui. 16 years ago
rubidium 057ceec51c (svn r15537) -Fix (r5215): don't allow special sprite characters (e.g. the ship sprite) as characters in input like filenames or text that is sent over the network. 16 years ago
glx 85ea21a5d0 (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
frosch 8eb906dda9 (svn r15534) -Codechange: Rename some variables. 16 years ago
rubidium 1f028894b5 (svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a non-existing AI when joining a server. In other words: you can join network servers again. 16 years ago
yexo 310446d448 (svn r15531) -Fix (r15467): AIs were stopped at every error, whether they caught it or not. 16 years ago
yexo d9caae1635 (svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel. 16 years ago
rubidium e3ac127617 (svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game. 16 years ago
yexo 5223212624 (svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ). 16 years ago
yexo 14f6bd6ce1 (svn r15527) -Fix (r15526): A ')' too much. 16 years ago
yexo 05856bf05f (svn r15526) -Add [NoAI]: Support for conditional orders. 16 years ago
yexo 8d4fed85e9 (svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server. 16 years ago
yexo 157bf66b01 (svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and AIEngine::GetMaxTractiveEffort. 16 years ago
translators 581c0a9a5d (svn r15523) -Update: WebTranslator2 update to 2009-02-19 16:58:17
afrikaans  - 3 fixed, 8 changed by Ludslad (11)
estonian   - 14 fixed by t2t2 (14)
latvian    - 1 changed by v3rb0 (1)
luxembourgish - 336 fixed by Gubius (336)
16 years ago
rubidium 02c52430c8 (svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle. 16 years ago
yexo 9a507acf37 (svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed. 16 years ago
yexo 69df9f2787 (svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList. 16 years ago
rubidium 29173de379 (svn r15518) -Fix [FS#2631]: use distance to closest station tile as estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations. 16 years ago
frosch 8aab3b09f5 (svn r15517) -Fix [FS#2642](r6455): Wagonoverrides and articulated engine parts use the colour scheme of the engine, but not its recolour callback, nor its 2CC flag. Same applies to roadvehicles. 16 years ago
frosch 72c632742a (svn r15516) -Fix (r10097): Livery overrides for articulated parts of roadvehicles were not applied. 16 years ago
translators 993f704eb1 (svn r15515) -Update: WebTranslator2 update to 2009-02-18 18:31:54
afrikaans  - 10 fixed, 1 changed by Ludslad (11)
brazilian_portuguese - 6 fixed by ferrerow (6)
bulgarian  - 11 fixed by Ar4i (11)
hungarian  - 13 changed by alyr (13)
indonesian - 3 fixed by adjayanto (3)
japanese   - 19 fixed by ickoonite (19)
latvian    - 8 fixed by silentKnight (8)
lithuanian - 52 fixed by Enternald (52)
luxembourgish - 70 fixed by Gubius (70)
romanian   - 23 changed by kkmic (23)
russian    - 14 fixed by Smoky555 (14)
slovak     - 1 fixed by James (1)
swedish    - 48 fixed by giddorah (48)
welsh      - 282 fixed, 2 changed by PlayDead (284)
16 years ago
rubidium 2b8dd76cfa (svn r15514) -Fix: make the join/spectate command require to be connected to a network game; in SP it could lead to crashes. 16 years ago
peter1138 3bafe9b0e2 (svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent. 16 years ago
peter1138 f1620f6984 (svn r15512) -Cleanup: Codestyle fixes. 16 years ago
yexo 43d80ce6f6 (svn r15511) -Fix [FS#2641] (r15190): Generating a map with the original map generator with freeform edges on resulted in an assert. 16 years ago
translators a15b98c5cc (svn r15510) -Update: WebTranslator2 update to 2009-02-17 17:50:34
croatian   - 22 fixed by tifached (22)
czech      - 20 fixed by joeprusa (19), miris2009 (1)
english_US - 81 changed by WhiteRabbit (81)
hungarian  - 1 changed by alyr (1)
korean     - 3 fixed by darkttd (3)
latvian    - 8 fixed by Reinis (5), waste (3)
luxembourgish - 50 fixed by Gubius (50)
norwegian_bokmal - 60 fixed by khh (60)
russian    - 6 fixed by MajestiC (6)
slovak     - 49 fixed by James (49)
swedish    - 145 fixed by Andreas (9), giddorah (136)
turkish    - 3 fixed by Emin (3)
welsh      - 76 fixed by PlayDead (76)
16 years ago
smatz af90d021f4 (svn r15509) -Codechange: move definition of some Window methods to class definition 16 years ago
smatz d6d2da171f (svn r15508) -Fix: three header files had incorrect 'anti-multiple-inclusion' header 16 years ago
smatz 4882214646 (svn r15507) -Update (r15506): rename strings in other languages too 16 years ago
smatz cb13180774 (svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow 16 years ago
smatz b8438555df (svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN 16 years ago
smatz b83b58dd54 (svn r15500) -Fix (r12648): pre-0.5 OTTD stored new_nonstop and full_load_any in a different way, savegame conversion wasn't working for them 16 years ago
smatz 91d6c1bb31 (svn r15499) -Fix (r15340): the default town layout was changed 16 years ago
translators 6296973c43 (svn r15498) -Update: WebTranslator2 update to 2009-02-16 18:45:15
catalan    - 2 changed by arnaullv (2)
dutch      - 3 fixed by Excel20 (3)
english_US - 7 fixed by WhiteRabbit (7)
german     - 3 fixed by planetmaker (2), ralph (1)
hungarian  - 1 changed by alyr (1)
lithuanian - 1 fixed by Enternald (1)
luxembourgish - 140 fixed by Gubius (140)
norwegian_nynorsk - 9 fixed, 5 changed by Thor (14)
portuguese - 4 fixed by SnowFlake (4)
romanian   - 2 fixed, 5 changed by kkmic (7)
slovak     - 53 fixed by James (53)
slovenian  - 20 fixed by Necrolyte (20)
16 years ago
smatz ff706b1e63 (svn r15497) -Fix (r15027): when trains crashed, AIEvent was created only for one train 16 years ago
smatz 26cdcb2dd5 (svn r15496) -Codechange: one division less in the train acceleration code 16 years ago
yexo 6381cbeeae (svn r15495) -Revert (r15383,r15422): Loading NewGRFs depends on correct settings, but the economy can only be started after loading NewGRFs. In short: r15383 causes more problems then it's worth. 16 years ago
yexo a6350c0287 (svn r15494) -Change [API CHANGE]: Split AIRoad::BuildRoadStation in BuildRoadStation and BuildDriveThroughRoadStation. 16 years ago
yexo fa0cf4bbd1 (svn r15492) -Change [API CHANGE]: Split AIVehicle::MoveWagon in MoveWagon and MoveWagonChain (frosch). 16 years ago
yexo c59caa45b7 (svn r15491) -Change [API CHANGE]: AIMarine::BuildWaterDepot now accepts a front tile instead of a bool is_vertical (frosch). 16 years ago
yexo d8de2d1413 (svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges. 16 years ago
yexo e7eb6d05a0 (svn r15489) -Change [API CHANGE]: Remove AIAirport::AirportAvailable. AIAirport::IsValidAirportType now only returns true for available AirportTypes. 16 years ago
yexo 8583274f18 (svn r15488) -Change [API CHANGE]: Add support for distant-join stations. 16 years ago
yexo a79524c805 (svn r15487) -Change [API CHANGE]: Remove the never implemented function AIEventVehicleCrashed::CloneCrashedVehicle. 16 years ago
yexo 320018aac1 (svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID. 16 years ago
yexo f20378dcf7 (svn r15485) -Change [API CHANGE]: Split AIIndustry::HasHeliportAndDock and GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation. 16 years ago
yexo efc8a034b1 (svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName. 16 years ago
yexo 8bb601f8ae (svn r15483) -Change [API CHANGE]: Remove AIIndustry::GetProduction, use AIIndustry::GetLastMonthProduction instead. 16 years ago
yexo d0895a65ce (svn r15482) -Fix [NoAI]: Typos in api docs. 16 years ago
yexo 8e75f5244c (svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call. 16 years ago
michi_cc 0dcf301d6d (svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window. 16 years ago
frosch de9c91ecee (svn r15479) -Fix: Documentation of AIIndustryType::CanBuildIndustry(). 16 years ago
translators d1ae738dc3 (svn r15478) -Update: WebTranslator2 update to 2009-02-14 18:38:28
catalan    - 3 fixed by arnaullv (3)
finnish    - 2 fixed by UltimateSephiroth (2)
french     - 2 fixed by glx (2)
hungarian  - 3 fixed by IPG (1), alyr (2)
italian    - 3 fixed, 4 changed by lorenzodv (7)
norwegian_nynorsk - 42 fixed, 14 changed by Thor (56)
romanian   - 1 fixed by kkmic (1)
spanish    - 3 fixed by Dominus (3)
ukrainian  - 3 fixed by mad (3)
16 years ago
rubidium 63f0ff25fc (svn r15476) -Fix [FS#2630]: crash when opening the game options when the currently loaded base graphics pack has less than 2 valid graphics files. For example when someone replaces all his/her original base graphics with custom work (but keeps the name) or renames the dos ones to windows or vice versa. 16 years ago
rubidium 6dae4da156 (svn r15475) -Update: do r15474 also for the other languages. 16 years ago
rubidium 645fe6c27c (svn r15474) -Cleanup: remove some (long) unused strings. 16 years ago
rubidium 6ff86bf692 (svn r15473) -Fix: add two missing tooltips in the intro gui 16 years ago
rubidium ef2aeabbec (svn r15472) -Fix: consistency of capitalisation of words in the intro gui and of NewGRF. 16 years ago
translators d69f8468ae (svn r15471) -Update: WebTranslator2 update to 2009-02-13 18:45:45
dutch      - 12 changed by Excel20 (12)
finnish    - 1 fixed by jpx_ (1)
french     - 1 fixed, 2 changed by glx (3)
luxembourgish - 333 fixed by Gubius (333)
ukrainian  - 5 fixed by mad (5)
16 years ago
yexo 6f163ad8c9 (svn r15470) -Fix [NoAI]: Check the types of the parameters passed to AddSetting, AddLabels and RegisterAI. 16 years ago
rubidium 8bd5067e58 (svn r15469) -Fix (r15468): why doesn't subversion trigger the save of my text editor before doing the commit? 16 years ago
rubidium 7748882bbf (svn r15468) -Fix: reword the multiplayer tooltip so it doesn't mention the (incorrect) number of players anymore. 16 years ago
yexo 3e53890348 (svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game. 16 years ago
yexo 8370da7a33 (svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile. 16 years ago
smatz 232d21df13 (svn r15465) -Codechange: constify most of AIInfo/AIFileInfo methods, move definition of very simple getters to header file 16 years ago
yexo 312e57df5f (svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once and only during initialization. 16 years ago
yexo 8eecd774ff (svn r15463) -Change [API CHANGE]: Replace AIInfo::CanLoadFromVersion(version) with AIInfo::MinVersionToLoad() which should return a single integer, the minimum version the AI is able to load data from. 16 years ago
yexo 526edf35a5 (svn r15462) -Change [NoAI]: Make AIController::GetTick() and AIController::GetSetting() static functions.
-Fix (r15460): ai_controller.hpp.sq was forgotten.
16 years ago
rubidium 7e1f40ccdc (svn r15461) -Fix (r15459): massive removal of strings from serbian. 16 years ago
rubidium 0111a10d7a (svn r15460) -Fix [NoAI]: don't require an instance to exist in the scope for static functions and limit exposure of the internal function GetClassName. 16 years ago
translators 87bc20e7dd (svn r15459) -Update: WebTranslator2 update to 2009-02-12 18:45:56
afrikaans  - 5 fixed, 3 changed by Ludslad (8)
dutch      - 18 changed by Excel20 (18)
german     - 3 changed by planetmaker (3)
hungarian  - 1 changed by alyr (1)
ido        - 27 fixed by Cecile (12), Selene (15)
indonesian - 10 changed by rindu (10)
luxembourgish - 346 fixed by Gubius (346)
serbian    - 19 fixed by burek (19)
spanish    - 4 changed by eusebio (4)
16 years ago
frosch 904bb64254 (svn r15458) -Fix: Missing 'static'. 16 years ago
rubidium 31f3d5b6d5 (svn r15457) -Fix: typo in stringid. 16 years ago
rubidium a6ea606bb3 (svn r15456) -Fix(ish): add strgen support to add 'directional formatting codes', so one can guide the bidirectional rendering a bit better. 16 years ago
rubidium 218f53d3fd (svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g. 16 years ago
rubidium 6a4ab97d36 (svn r15454) -Fix [FS#2614]: towns did not know about build_on_slopes in some cases, or made decisions on the 'original' slope instead the slope after applying the foundation.. 16 years ago
frosch 2fc6c2d0b0 (svn r15453) -Fix [FS#2450](r14613): Founding industries as OWNER_TOWN resulted in unwanted effects. 16 years ago
frosch d5525b8f2d (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. 16 years ago
translators 202e5ea78d (svn r15451) -Update: WebTranslator2 update to 2009-02-11 18:46:59
afrikaans  - 5 fixed, 9 changed by Ludslad (14)
german     - 7 changed by planetmaker (1), eddi (6)
hungarian  - 5 fixed by alyr (5)
indonesian - 17 fixed, 2 changed by rindu (2), fanioz (1), adjayanto (16)
persian    - 11 fixed, 31 changed by ali sattari (42)
romanian   - 5 fixed, 14 changed by kkmic (19)
serbian    - 500 fixed, 14 changed by syndrome (514)
slovak     - 4 fixed by choze (4)
spanish    - 5 fixed by eusebio (5)
16 years ago
peter1138 f2e1a315c1 (svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... enum values, and change INVALID_RAILTYPES to be UINT_MAX. 16 years ago
frosch f9feb4a0e6 (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. 16 years ago
peter1138 519277f980 (svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label. 16 years ago
peter1138 eeaa4c8d9a (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway 16 years ago
belugas 06bdc9d575 (svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". So not much of a typo.
Thanks, Yexo.  I feel less ignorant today :D
16 years ago
belugas 002c9b7c67 (svn r15445) -Fix: little typos 16 years ago
rubidium 7043f48078 (svn r15444) -Fix (r15425): the chat messages gone gray. That gray colour was technically right. The string contained {GRAY}, but due to a latent bug (accidentally fixed in r15425) in the string drawing routing the gray would be interpreted as use palette colour 14, which is a white. 16 years ago
rubidium 426857bc72 (svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant. 16 years ago
yexo ec9d949434 (svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored. 16 years ago
yexo 8ef2024b96 (svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it. 16 years ago
smatz 2c317b7321 (svn r15439) -Fix [FS#2626]: call Vehicle::LeaveStation() before reversing overlength loading train (station triggers were missed, PBS reservation could cause crash) 16 years ago
glx a16a970e84 (svn r15438) -Fix (r15434): MSVC performance warning 16 years ago
belugas 4574858f0a (svn r15437) -Codechange: Do not run a code section when you already know it is useless
-Codechange: Do not rely on a decision based on something that has already been evaluated
16 years ago
peter1138 4b1728079c (svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern... 16 years ago
rubidium 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
peter1138 545804b67a (svn r15433) -Fix (r15126): Content download progress bar was not centered properly. 16 years ago
translators 2b10cf55b6 (svn r15432) -Update: WebTranslator2 update to 2009-02-09 18:30:51
bulgarian  - 30 fixed by Ar4i (30)
catalan    - 3 fixed by arnaullv (3)
danish     - 33 fixed by ThomasA (33)
dutch      - 5 fixed by habell (5)
english_US - 118 fixed by WhiteRabbit (118)
finnish    - 5 fixed by jpx_ (5)
german     - 5 fixed by ralph (5)
hungarian  - 2 fixed by alyr (2)
latvian    - 7 fixed by KiitsLV (5), waste (2)
polish     - 6 fixed by coolik (6)
romanian   - 3 fixed, 2 changed by kkmic (5)
serbian    - 123 fixed, 2 deleted, 229 changed by syndrome (354)
simplified_chinese - 5 fixed by ww9980 (5)
spanish    - 1 changed by Dominus (1)
ukrainian  - 3 fixed by mad (3)
16 years ago
rubidium b1a1c022fb (svn r15431) -Fix (r15425): wrongly added assertion due to unneeded & 0xFF. Now use the same method of handling the colour as it would do when drawing a string instead of a character. 16 years ago
rubidium 5fa99b177e (svn r15429) -Change: do r15428 also for the string names. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium c7f3daacbf (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window 16 years ago
rubidium a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
rubidium 66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
rubidium a7264bd5aa (svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings. 16 years ago
peter1138 1877d33629 (svn r15418) -Codechange: Add action7/9 support to detect available rail type labels 16 years ago
peter1138 793eabf61e (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
rubidium fc342a0d68 (svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling. 16 years ago
rubidium d88f2a0120 (svn r15415) -Change: close the (station) joiner window when pressing the bulldozer. 16 years ago
rubidium cba3be0b4f (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 16 years ago
rubidium 412f93b877 (svn r15413) -Fix [FS#2529/2533]: inconsistencies between station and bridge building w.r.t. tile selection and when the window should be closed. 16 years ago
peter1138 5429c5a095 (svn r15412) -Fix: Clearing custom engine names could cause desyncs due to be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented. 16 years ago
rubidium 7603f77f3c (svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command 16 years ago
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
frosch 9eee0a6a81 (svn r15409) -Update: Currencies
Remove intermediate currency "New Turkish lira".
  Add Euro introduction date for Slovakia.
  Remove Euro introduction date for Hungary.
16 years ago
Yexo 1fbb8d3ac3 (svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times they're not allowed to sleep. 16 years ago
peter1138 bf42e60bba (svn r15407) -Codechange: When loading a save game with an invalid pool index, report the problem (invalid index) rather than an impossible symptom (too many items), and report it in game instead of causing a crash. 16 years ago
rubidium 2a66e934b8 (svn r15406) -Fix: make Valuate actually cost a few opcodes to not make it a single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs. 16 years ago
michi_cc 26c4a02c8b (svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness. 16 years ago
translators 982f310e5a (svn r15403) -Update: WebTranslator2 update to 2009-02-07 18:48:00
arabic_egypt - 6 fixed by khaloofah (6)
brazilian_portuguese - 15 fixed by tucalipe (15)
catalan    - 3 fixed by arnaullv (3)
dutch      - 2 fixed, 21 changed by Yexo (21), Excel20 (2)
finnish    - 3 fixed by jpx_ (3)
french     - 6 fixed by glx (6)
german     - 6 fixed by hellow (6)
hungarian  - 4 fixed by alyr (4)
italian    - 17 fixed by lorenzodv (17)
korean     - 6 fixed, 22 changed by darkttd (28)
norwegian_bokmal - 27 fixed by khh (27)
romanian   - 3 fixed, 4 changed by kkmic (7)
serbian    - 176 fixed, 93 changed by syndrome (269)
simplified_chinese - 16 fixed, 1 changed by ww9980 (17)
spanish    - 6 fixed by Dominus (6)
turkish    - 17 fixed, 1 changed by Emin (18)
16 years ago
smatz a92653c800 (svn r15402) -Codechange: verify _current_company didn't change when executing a command 16 years ago
smatz 487b0ed95e (svn r15401) -Fix [FS#2619](r15027): AI::Stop changed _current_company, but didn't restore its original value 16 years ago
frosch f1240daed6 (svn r15400) -Fix: Typos in comments. 16 years ago
frosch 85b49d72ce (svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == CT_INVALID is possible. 16 years ago
smatz 5b377ed53b (svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code (Swallow) 16 years ago
rubidium 4431e82beb (svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge. 16 years ago
smatz d5e2154e90 (svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly 16 years ago
rubidium 6ad9fcc6ec (svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server. 16 years ago
glx fd9e9cd640 (svn r15394) -Fix (r15389): no new line at end of line warning 16 years ago
belugas 23e0650886 (svn r15393) -Fix: little typo 16 years ago
belugas 82cbfb7dfa (svn r15392) -Codechange: move the spec getter to a place where it's only required, without the use of extern 16 years ago
rubidium 73d7438610 (svn r15391) -Fix (r14997): loading font sprites should not trigger a palette conversion. 16 years ago
Yexo c4391379d2 (svn r15390) -Cleanup: Remove old hack that wasn't used anymore. 16 years ago
peter1138 43a8400647 (svn r15389) -Feature: Add ability to select which base graphics set is used from the Game Options window. The change takes effect when the window is closed. This option can only be used from the intro menu, as reloading graphics during a game may cause issues. 16 years ago
rubidium 1a14688926 (svn r15388) -Change: unify the way Ctrl+Click is written. 16 years ago
peter1138 5304330f92 (svn r15387) -Codechange: Add a drop down list item type for char* strings. 16 years ago
peter1138 68eb306381 (svn r15386) -Codechange: During start up, store driver/blitter/graphicsset selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values. 16 years ago
peter1138 645e8c4b69 (svn r15385) -Fix: Saving of char* to configuration file did not work due to incorrect parameter order and no handling of NULL. 16 years ago
rubidium b02cbf8844 (svn r15384) -Change: tweak some settings to make OpenTTD easier to use for first-time users (or upgraders) 16 years ago
Yexo caf540d284 (svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than necessary. 16 years ago
rubidium 0caa32816f (svn r15382) -Fix [FS#2466]: multiple vehicles could be filling the timetable and only the data from one vehicle would be taken. Now only allow one to be filling at a time. 16 years ago
frosch 6f9d6ffe80 (svn r15381) -Fix (r11091): When testing for parallel road two tiles away, do not move more than one tile along the road. 16 years ago
frosch 78fc8aa93c (svn r15380) -Fix (r15190)[FS#2603]: Do not use TileY() on negative TileIndexDiffs. But the test was not needed anyway, as those tiles were already tested in previous iterations. 16 years ago
translators 6f8c1d56ad (svn r15379) -Update: WebTranslator2 update to 2009-02-06 18:45:59
arabic_egypt - 11 fixed by khaloofah (11)
catalan    - 11 fixed by arnaullv (11)
dutch      - 10 fixed, 2 changed by Yexo (10), Excel20 (2)
finnish    - 14 fixed by jpx_ (12), UltimateSephiroth (2)
french     - 11 fixed by glx (11)
german     - 11 fixed by ralph (5), hellow (6)
hebrew     - 5 fixed by 19izhar73 (5)
hungarian  - 11 fixed, 3 changed by alyr (3), IPG (4), oklmernok (7)
korean     - 11 fixed, 2 changed by darkttd (13)
latvian    - 25 fixed by waste (25)
portuguese - 16 fixed by supra90 (10), SnowFlake (6)
romanian   - 11 fixed by kkmic (11)
serbian    - 5 fixed, 271 changed by syndrome (276)
simplified_chinese - 2 fixed by ww9980 (2)
spanish    - 11 fixed by Dominus (11)
traditional_chinese - 3 fixed, 5 changed by ww9980 (8)
ukrainian  - 14 fixed by mad (14)
16 years ago
frosch 9bd5420450 (svn r15378) -Fix: The subcargo returned by vehicle variable 0x42 should be the most-common-subcargo of the most-common-cargo. If nothing is transported 0x..FFFF00 should be returned. 16 years ago
rubidium 9f1a20a2be (svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't deselect properly in some cases (Roujin) 16 years ago
rubidium e856287029 (svn r15376) -Fix [FS#2608] (r15371): OSX/BSD also seems to define strcasecmp under some circumstances. 16 years ago
rubidium d45d8d23d3 (svn r15375) -Fix [FS#2605]: a tram circling around in a depot did never actually 'enter' the depot. 16 years ago
rubidium 7215e28774 (svn r15374) -Codechange: remove a magic constant. 16 years ago
rubidium cd0edc9201 (svn r15373) -Fix [FS#2606]: Kenobi denied the server's client name to the tab-completed. 16 years ago
rubidium a3da2d5145 (svn r15372) -Feature: filter the 'content' based on the tag/name. Based on a patch by Roujin. 16 years ago
rubidium 0ffb019103 (svn r15371) -Codechange: add an implementation of strcasestr for when _GNU_SOURCE isn't defined. 16 years ago
rubidium 3758ba890a (svn r15370) -Codechange: add a callback to tell the parent of an OSK that the string has changed instead of only marking the text box dirty. 16 years ago
rubidium 1a5a673ec9 (svn r15369) -Codechange: generalise the GUIList a bit so peter can write filters for cargo type, speed and mass ;) 16 years ago
rubidium 5b74baa9be (svn r15368) -Fix: some typos in comments 16 years ago
rubidium 7ab6682b7b (svn r15367) -Add: framework for filtering GUILists (Roujin) 16 years ago
Yexo 72643f2090 (svn r15366) -Add [NoAI]: Add AddLabels() where you can define labels for the values of the settings in info.nut 16 years ago
rubidium a96bffe5f6 (svn r15363) -Fix [FS#2600]: inconsistency w.r.t. On/Off text for settings. 16 years ago
rubidium af44ded566 (svn r15362) -Change: make a string name more consistent. 16 years ago
smatz 6a2b9a81fb (svn r15361) -Cleanup: minor comment style fixes (planetmaker) 16 years ago
frosch d526d1f70d (svn r15360) -Fix: Flooding vehicles did not trigger an AI event. 16 years ago
frosch d5a6fcce54 (svn r15359) -Add [NoAI]: AIEventVehicleCrashed::CRASH_RV_UFO, AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form. 16 years ago
frosch f6fa77d5f9 (svn r15358) -Add [NoAI]: AIEventVehicleCrashed::GetCrashReason() 16 years ago
smatz 801ff9c9ca (svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window 16 years ago