Commit Graph

5535 Commits (5e1cad1b1bf9f9defd029d2a6ef3ad61c8ea1f2e)

Author SHA1 Message Date
frosch b674d1f6f5 (svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue'. 16 years ago
frosch 85333d4211 (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 c3c549f731 (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 13bc604fde (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 ab3fc1d437 (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
frosch 15789a76c1 (svn r15534) -Codechange: Rename some variables. 16 years ago
rubidium c4fb879561 (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 7dc607b2d1 (svn r15531) -Fix (r15467): AIs were stopped at every error, whether they caught it or not. 16 years ago
yexo 07a37af14c (svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel. 16 years ago
rubidium c5677da94d (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 ef67e59145 (svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ). 16 years ago
yexo a54061f840 (svn r15527) -Fix (r15526): A ')' too much. 16 years ago
yexo b3fe664d90 (svn r15526) -Add [NoAI]: Support for conditional orders. 16 years ago
yexo 2fdc395d45 (svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server. 16 years ago
yexo 3491b0fab9 (svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and AIEngine::GetMaxTractiveEffort. 16 years ago
translators ce5b380a1d (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 a5f30dd553 (svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle. 16 years ago
yexo 459a855e60 (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 c0e7ddeb9e (svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList. 16 years ago
rubidium c2d9c85c0f (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 336fda62be (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 3542b1dced (svn r15516) -Fix (r10097): Livery overrides for articulated parts of roadvehicles were not applied. 16 years ago
translators b832881a6e (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 3e1664aff1 (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 fd6a480004 (svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent. 16 years ago
peter1138 fe5acb59f7 (svn r15512) -Cleanup: Codestyle fixes. 16 years ago
yexo e5d6f3ef2e (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 5d0e1f70de (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 e9378e17c8 (svn r15509) -Codechange: move definition of some Window methods to class definition 16 years ago
smatz b8471e5401 (svn r15508) -Fix: three header files had incorrect 'anti-multiple-inclusion' header 16 years ago
smatz 42c0faf9e1 (svn r15507) -Update (r15506): rename strings in other languages too 16 years ago
smatz 42747e222c (svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow 16 years ago
smatz 0878541cf2 (svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN 16 years ago
smatz b9b14bd803 (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 2f767e77e8 (svn r15499) -Fix (r15340): the default town layout was changed 16 years ago
translators de07228f68 (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 e1c43f4fac (svn r15497) -Fix (r15027): when trains crashed, AIEvent was created only for one train 16 years ago
smatz f65d70476b (svn r15496) -Codechange: one division less in the train acceleration code 16 years ago
yexo 1f9ec758aa (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 a0b57c849e (svn r15494) -Change [API CHANGE]: Split AIRoad::BuildRoadStation in BuildRoadStation and BuildDriveThroughRoadStation. 16 years ago
yexo 2b221f5afc (svn r15492) -Change [API CHANGE]: Split AIVehicle::MoveWagon in MoveWagon and MoveWagonChain (frosch). 16 years ago
yexo 336abd66a2 (svn r15491) -Change [API CHANGE]: AIMarine::BuildWaterDepot now accepts a front tile instead of a bool is_vertical (frosch). 16 years ago
yexo 7d88077add (svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges. 16 years ago
yexo 16954ba378 (svn r15489) -Change [API CHANGE]: Remove AIAirport::AirportAvailable. AIAirport::IsValidAirportType now only returns true for available AirportTypes. 16 years ago
yexo bce1bcb0f2 (svn r15488) -Change [API CHANGE]: Add support for distant-join stations. 16 years ago
yexo 5a5bc8ab52 (svn r15487) -Change [API CHANGE]: Remove the never implemented function AIEventVehicleCrashed::CloneCrashedVehicle. 16 years ago
yexo 8ceb92e699 (svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID. 16 years ago
yexo cea470e687 (svn r15485) -Change [API CHANGE]: Split AIIndustry::HasHeliportAndDock and GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation. 16 years ago
yexo 58359b8d6e (svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName. 16 years ago
yexo 7fdde2fec0 (svn r15483) -Change [API CHANGE]: Remove AIIndustry::GetProduction, use AIIndustry::GetLastMonthProduction instead. 16 years ago
yexo 92fc2e692c (svn r15482) -Fix [NoAI]: Typos in api docs. 16 years ago
yexo 37819fc8c5 (svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call. 16 years ago
michi_cc 84deeecc5b (svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window. 16 years ago
frosch b123756c9f (svn r15479) -Fix: Documentation of AIIndustryType::CanBuildIndustry(). 16 years ago
translators 03a1051de9 (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 7f245b22dc (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 7b5c5d4432 (svn r15475) -Update: do r15474 also for the other languages. 16 years ago
rubidium 53caa6cb21 (svn r15474) -Cleanup: remove some (long) unused strings. 16 years ago
rubidium 9554b8aafe (svn r15473) -Fix: add two missing tooltips in the intro gui 16 years ago
rubidium 424a494c7b (svn r15472) -Fix: consistency of capitalisation of words in the intro gui and of NewGRF. 16 years ago
translators 9e6363a7d9 (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 e84f25a2bd (svn r15470) -Fix [NoAI]: Check the types of the parameters passed to AddSetting, AddLabels and RegisterAI. 16 years ago
rubidium f33bf2dddd (svn r15469) -Fix (r15468): why doesn't subversion trigger the save of my text editor before doing the commit? 16 years ago
rubidium 8535ceb5e2 (svn r15468) -Fix: reword the multiplayer tooltip so it doesn't mention the (incorrect) number of players anymore. 16 years ago
yexo 8e14d77d05 (svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game. 16 years ago
yexo 15b9366f06 (svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile. 16 years ago
smatz d3f018a7e3 (svn r15465) -Codechange: constify most of AIInfo/AIFileInfo methods, move definition of very simple getters to header file 16 years ago
yexo 9292c90360 (svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once and only during initialization. 16 years ago
yexo b9c66aa750 (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 4c7106dad7 (svn r15462) -Change [NoAI]: Make AIController::GetTick() and AIController::GetSetting() static functions.
-Fix (r15460): ai_controller.hpp.sq was forgotten.
16 years ago
rubidium 806807e16b (svn r15461) -Fix (r15459): massive removal of strings from serbian. 16 years ago
rubidium dea3490b2f (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 3314ef39d2 (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 565602fe90 (svn r15458) -Fix: Missing 'static'. 16 years ago
rubidium 9fb19be134 (svn r15457) -Fix: typo in stringid. 16 years ago
rubidium 0a673d870b (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 1d362442ec (svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g. 16 years ago
rubidium e8dbf62761 (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 81cf1cac8f (svn r15453) -Fix [FS#2450](r14613): Founding industries as OWNER_TOWN resulted in unwanted effects. 16 years ago
frosch 032346cf8a (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. 16 years ago
translators 92584d0149 (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 15152cdc03 (svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... enum values, and change INVALID_RAILTYPES to be UINT_MAX. 16 years ago
frosch 3e3a158610 (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. 16 years ago
peter1138 3728df8323 (svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label. 16 years ago
peter1138 e73a4e490c (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway 16 years ago
belugas 62be0ce7e6 (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 c26426a44e (svn r15445) -Fix: little typos 16 years ago
rubidium 5239eee6ac (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 dba12992e8 (svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant. 16 years ago
yexo 8d25202067 (svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored. 16 years ago
yexo 1eeb0f6748 (svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it. 16 years ago
smatz 3072a5d7c2 (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 d6e8601a62 (svn r15438) -Fix (r15434): MSVC performance warning 16 years ago
belugas da9783aaf7 (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 ad30a3c4ca (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 d846eef0b6 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
peter1138 cd0b38d234 (svn r15433) -Fix (r15126): Content download progress bar was not centered properly. 16 years ago
translators 8c36a96920 (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 d71ec28edc (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 05792c46a3 (svn r15429) -Change: do r15428 also for the string names. 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 90e2465d7d (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 8dae160d0f (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 861e9cefb3 (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
rubidium 9907742a0f (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
rubidium 7b8c13fa5c (svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings. 16 years ago
peter1138 68e641e9ed (svn r15418) -Codechange: Add action7/9 support to detect available rail type labels 16 years ago
peter1138 a68e0ee42f (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
rubidium 986224519a (svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling. 16 years ago
rubidium faeb00008a (svn r15415) -Change: close the (station) joiner window when pressing the bulldozer. 16 years ago
rubidium 57b27ffbab (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 16 years ago
rubidium 856f26e35b (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 748d4d2fb9 (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 dcb3a9ac51 (svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command 16 years ago
rubidium 377ce6c5bf (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 27105127f6 (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 5bcdcdd1d1 (svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times they're not allowed to sleep. 16 years ago
peter1138 5f8c2b1b4e (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 e1b1fd18b5 (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 8bd5f10a2c (svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness. 16 years ago
translators 088d5bb2ed (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 575e349828 (svn r15402) -Codechange: verify _current_company didn't change when executing a command 16 years ago
smatz 9c59b711b7 (svn r15401) -Fix [FS#2619](r15027): AI::Stop changed _current_company, but didn't restore its original value 16 years ago
frosch 4e8707b93f (svn r15400) -Fix: Typos in comments. 16 years ago
frosch 769573d1e9 (svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == CT_INVALID is possible. 16 years ago
smatz 9702edb554 (svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code (Swallow) 16 years ago
rubidium e31e514474 (svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge. 16 years ago
smatz abb17d64a1 (svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly 16 years ago
rubidium d7a053578d (svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server. 16 years ago
glx 39dfd18880 (svn r15394) -Fix (r15389): no new line at end of line warning 16 years ago
belugas b4f9cf551f (svn r15393) -Fix: little typo 16 years ago
belugas 0abf14384c (svn r15392) -Codechange: move the spec getter to a place where it's only required, without the use of extern 16 years ago
rubidium bab7367a59 (svn r15391) -Fix (r14997): loading font sprites should not trigger a palette conversion. 16 years ago
Yexo 322515e8d5 (svn r15390) -Cleanup: Remove old hack that wasn't used anymore. 16 years ago
peter1138 967491a22d (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 ae2fda6c02 (svn r15388) -Change: unify the way Ctrl+Click is written. 16 years ago
peter1138 77760a62fd (svn r15387) -Codechange: Add a drop down list item type for char* strings. 16 years ago
peter1138 db54537369 (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 cd84ffb036 (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 eb533138bc (svn r15384) -Change: tweak some settings to make OpenTTD easier to use for first-time users (or upgraders) 16 years ago
Yexo 4301278514 (svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than necessary. 16 years ago
rubidium 4cc07196ac (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 c52680a131 (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 5a369e1b50 (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 25a5178aaf (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 a5d515bfd6 (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 841050ec83 (svn r15377) -Fix [FS#2607]: filter did resort when unneeded and didn't deselect properly in some cases (Roujin) 16 years ago
rubidium cecc3863cd (svn r15376) -Fix [FS#2608] (r15371): OSX/BSD also seems to define strcasecmp under some circumstances. 16 years ago
rubidium 9bc7e4bdb2 (svn r15375) -Fix [FS#2605]: a tram circling around in a depot did never actually 'enter' the depot. 16 years ago
rubidium 0cfc402823 (svn r15374) -Codechange: remove a magic constant. 16 years ago
rubidium ef754b8b6d (svn r15373) -Fix [FS#2606]: Kenobi denied the server's client name to the tab-completed. 16 years ago
rubidium c346f249cd (svn r15372) -Feature: filter the 'content' based on the tag/name. Based on a patch by Roujin. 16 years ago
rubidium 35c5da08c5 (svn r15371) -Codechange: add an implementation of strcasestr for when _GNU_SOURCE isn't defined. 16 years ago
rubidium ba3d7e70f2 (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 2ab6fffccc (svn r15369) -Codechange: generalise the GUIList a bit so peter can write filters for cargo type, speed and mass ;) 16 years ago
rubidium 6252c74584 (svn r15368) -Fix: some typos in comments 16 years ago
rubidium cfc80a17d8 (svn r15367) -Add: framework for filtering GUILists (Roujin) 16 years ago
Yexo cb3784d8b1 (svn r15366) -Add [NoAI]: Add AddLabels() where you can define labels for the values of the settings in info.nut 16 years ago
rubidium 546cd4f70e (svn r15363) -Fix [FS#2600]: inconsistency w.r.t. On/Off text for settings. 16 years ago
rubidium 0cf08d32c7 (svn r15362) -Change: make a string name more consistent. 16 years ago
smatz d2716d66e3 (svn r15361) -Cleanup: minor comment style fixes (planetmaker) 16 years ago
frosch 324e92f879 (svn r15360) -Fix: Flooding vehicles did not trigger an AI event. 16 years ago
frosch cb049e4e58 (svn r15359) -Add [NoAI]: AIEventVehicleCrashed::CRASH_RV_UFO, AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form. 16 years ago
frosch 7f198507f7 (svn r15358) -Add [NoAI]: AIEventVehicleCrashed::GetCrashReason() 16 years ago
smatz 6dff31d34b (svn r15357) -Codechange: unify the way buttons are updated in the 'found town' window 16 years ago
smatz ef4282f8de (svn r15356) -Codechange: make PlaceProc_Town and some global variables a static function/variables of the scenedit window 16 years ago
rubidium 8fb4962407 (svn r15355) -Codechange: simplify some stuff now ->FirstShared returns non-NULL again. 16 years ago
rubidium b7c7a1f701 (svn r15354) -Fix (r14803): first shared of a vehicle could be NULL making it impossible to (share-)clone the vehicle. 16 years ago
smatz 324b54132c (svn r15353) -Feature(tte): make it possible to have cities of various sizes 16 years ago
smatz aa692a99a9 (svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable 16 years ago
rubidium 9d94c8f369 (svn r15351) -Fix (r15350): gcc compile failure 16 years ago
belugas bf82545b4a (svn r15350) -Codechange: Create a spec array to hold the data definitions of unmovables objects.
Note that this is the very basic spec, it will be populated a bit more, later.
16 years ago
belugas 63cc1bd21f (svn r15349) -Codechange: no need to call a function when we know there is not going to be any change to the returned result 16 years ago
michi_cc f936afa64a (svn r15348) -Fix (r15347): Preferred pylon position is dependant on the masked wires as well. 16 years ago
michi_cc 31a17a4add (svn r15347) -Feature [FS#1761]: Don't draw superfluous catenary wires (based on a patch by Eddi). 16 years ago
Yexo f2907d816f (svn r15346) -Add [NoAI]: Add AIAirport::GetNearestTown() so AIs can known in which town the noise level will increase. 16 years ago
Yexo 62a11eb5a9 (svn r15345) -Add [NoAI]: Add AIVehicle::HasSharedOrders() and AIVehicleList_SharedOrders. 16 years ago
Yexo b321130d9a (svn r15343) -Add [NoAI]: Add AITown::GetRoadLayout so AIs can get the road layout per town. 16 years ago
smatz df2a387fc3 (svn r15342) -Feature: allow changing town layout in the 'Found new town' window 16 years ago
smatz 47516b31a7 (svn r15341) -Update (r15340): remove deleted and modified strings from other language files 16 years ago
smatz 832e392855 (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
16 years ago
translators 030984a763 (svn r15339) -Update: WebTranslator2 update to 2009-02-04 18:39:16
arabic_egypt - 1 fixed by khaloofah (1)
german     - 1 changed by planetmaker (1)
hebrew     - 668 fixed, 19 changed by 19izhar73 (687)
korean     - 10 changed by leejaeuk5 (10)
serbian    - 6 fixed, 4 changed by salejemaster (10)
16 years ago
rubidium ac7757324e (svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company. 16 years ago
rubidium b6e6be58da (svn r15337) -Fix: don't allow a spectating server to build stuff. 16 years ago
rubidium 7da743a0dc (svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company. 16 years ago
rubidium 09fca459a7 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 16 years ago
smatz 496b541cb1 (svn r15334) -Codechange: reset setting to old value when the callback procedure returns false 16 years ago
Yexo 3cf7255c4f (svn r15333) -Fix: AIs weren't restricted to a maximum length for ship orders. 16 years ago
smatz d2a725ec94 (svn r15332) -Fix (r15190): terrain generated from heightmaps always was at sea level at both southern borders 16 years ago
rubidium 1c30c8c801 (svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC). 16 years ago
Yexo 101f55e65c (svn r15328) -Fix (r15327): Load(data, version) was called instead of Load(version, data). 16 years ago
Yexo 1892c34ac6 (svn r15327) -Fix (r15027): AIs could access the map and other data in their constructor and Load() function while the savegame was not completely loaded. 16 years ago
frosch 9c4c0ff3a1 (svn r15326) -Fix: Old-ai-ishm when refitting vehicles. 16 years ago
translators ff2720c56e (svn r15325) -Update: WebTranslator2 update to 2009-02-03 18:29:45
brazilian_portuguese - 1 fixed by tucalipe (1)
german     - 4 changed by planetmaker (3), hellow (1)
hebrew     - 615 fixed, 54 changed by 19izhar73 (669)
korean     - 6 changed by darkttd (6)
16 years ago
smatz 5ad1cd32b2 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 16 years ago
Yexo a5807f4a77 (svn r15322) -Fix (r15175): The AI list window didn't display information about the selected AI if it wasn't visible. 16 years ago
peter1138 5e6e4417a5 (svn r15321) -Codechange: Load road vehicle 'realistic' acceleration properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used. 16 years ago
peter1138 48e6e7d586 (svn r15320) -Codechange: Increase 'realistic' acceleration 'resolution' by one bit by reducing a division and removing a multiplication: 3/4*2 = 0; 3/2 = 1. And a smidgeon less CPU usage, hah. 16 years ago
translators 5105cd2c6b (svn r15319) -Update: WebTranslator2 update to 2009-02-02 18:44:36
arabic_egypt - 3 fixed by khaloofah (3)
dutch      - 1 fixed by habell (1)
hebrew     - 533 fixed, 426 changed by 19izhar73 (959)
hungarian  - 1 fixed by oklmernok (1)
italian    - 1 changed by lorenzodv (1)
korean     - 6 changed by dlunch (6)
norwegian_nynorsk - 36 fixed by Thor (36)
polish     - 1 fixed by xaxa (1)
russian    - 1 fixed by Smoky555 (1)
spanish    - 1 fixed by Dominus (1)
16 years ago
smatz 9723630cea (svn r15318) -Fix [FS#2594](r10288): don't warn about non-primary engines getting old 16 years ago
rubidium 7e928974a7 (svn r15317) -Fix: support Windows fonts with non-ASCII characters in their file name. Windows doesn't come with them by default, but one can easily install a font with non-ASCII name. 16 years ago
glx 6d6e2232ea (svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string to squirrel 16 years ago
glx c6bc3b8692 (svn r15315) -Fix (r15314): make gcc happy (for once) 16 years ago
rubidium ad210c7647 (svn r15314) -Fix/hackaround [FS#2590]: fonts have a feature where they can have localised names. Windows thinks it's a feature to use the name matching the system's locale, Windows doesn't provide an API to get the font name given another locale and freetype uses the English locale to resolve the name when opening the font... This results in fonts that will can't be found and warnings that the fallback font can't be loaded. Work around this by 'manually' getting the non-localised font name from the font. 16 years ago
michi_cc 44016a4d6e (svn r15313) -Cleanup: Use helper functions we already have and add some documentation. 16 years ago
peter1138 aad67b5736 (svn r15312) -Codechange: Handle closing of drop down menus when clicking in a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe. 16 years ago
peter1138 7cd579e7ef (svn r15311) -Fix (r15126): Obiwan error 16 years ago
translators 4a3ebf6966 (svn r15310) -Update: WebTranslator2 update to 2009-02-01 18:46:42
catalan    - 1 fixed by arnaullv (1)
czech      - 1 fixed, 6 changed by Hadez (7)
finnish    - 1 fixed by jpx_ (1)
french     - 1 fixed by glx (1)
german     - 1 fixed, 4 changed by planetmaker (5)
indonesian - 2 fixed by fanioz (2)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed, 8 changed by leejaeuk5 (8), darkttd (1)
latvian    - 128 fixed by waste (128)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by kkmic (1)
simplified_chinese - 2 fixed by ww9980 (2)
slovenian  - 101 fixed by Necrolyte (101)
turkish    - 1 fixed by Emin (1)
ukrainian  - 2 fixed by mad (2)
16 years ago
frosch de9a6fc90b (svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions. 16 years ago
frosch 317220c2e4 (svn r15307) -Fix: AIVehicle::GetCurrentSpeed() should also use km-ish/h instead of mph. (Documentation by Rubidium) 16 years ago
frosch c28c4c1986 (svn r15306) -Codechange: Deduplicate code by adding Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) 16 years ago
rubidium 6d5cd47c74 (svn r15305) -Fix (r15299): missing include 16 years ago
frosch 2afa9312fc (svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction. 16 years ago
smatz 16b9dcd0ea (svn r15303) -Fix (r12381): desync if a GRF used town's last month max. pass/mail 16 years ago
peter1138 6899955b0c (svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40. 16 years ago
rubidium 6df312cd54 (svn r15300) -Cleanup: remove an unused icon and remove the references to swedish forgotten in r6358. 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 416c7d5dda (svn r15298) -Fix [FS#2588]: don't start another AI company in MP when there are too many companies 16 years ago
translators a0df8d1338 (svn r15297) -Update: WebTranslator2 update to 2009-01-30 18:45:08
brazilian_portuguese - 1 fixed by tucalipe (1)
catalan    - 1 fixed by arnaullv (1)
czech      - 1 fixed by Hadez (1)
dutch      - 1 fixed by Excel20 (1)
finnish    - 1 fixed by jpx_ (1)
french     - 1 fixed by belugas (1)
german     - 1 fixed, 5 changed by planetmaker (6)
hebrew     - 14 fixed, 54 changed by 19izhar73 (54), omri.kipi (14)
hungarian  - 1 fixed by IPG (1)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed, 2 changed by darkttd (2), dlunch (1)
latvian    - 76 fixed by KiitsLV (76)
polish     - 13 fixed by xaxa (13)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by kkmic (1)
russian    - 24 fixed by Smoky555 (24)
spanish    - 1 fixed by eusebio (1)
traditional_chinese - 123 fixed, 62 changed by josesun (185)
turkish    - 1 fixed by Emin (1)
ukrainian  - 7 fixed by mad (7)
16 years ago
smatz df79660531 (svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough 16 years ago
Yexo 1c7cb8368c (svn r15295) -Fix [FS#2591] (r15190): Towns tried to build roads outside the map. 16 years ago
rubidium 627d54a081 (svn r15294) -Fix: accessing of inaccessible base 16 years ago
belugas d7971e5e37 (svn r15293) -Feature [FS#2583]: Give a more meaningful message when towns refuse construction of noise-controlled airports 16 years ago
belugas 31adec86a0 (svn r15292) -Fix(r15290): Incrementing something that is already set to the correct value is a bit of a no-no
Also, protect against such misuse with an assert.
16 years ago
Yexo 0e42a7bac7 (svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
16 years ago
belugas 3671ed9e4f (svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data 16 years ago
translators bfde9f7eef (svn r15289) -Update: WebTranslator2 update to 2009-01-28 18:48:19
german     - 3 fixed by planetmaker (3)
indonesian - 22 fixed by fanioz (22)
korean     - 3 changed by darkttd (1), dlunch (2)
polish     - 6 fixed by xaxa (6)
portuguese - 140 fixed, 4 changed by nars (144)
romanian   - 1 changed by kkmic (1)
simplified_chinese - 3 fixed by ww9980 (3)
16 years ago
Yexo 8877a0c9ae (svn r15288) -Fix (r15212): Don't set the newgame setting for water borders to a random value if it's 'random' when the newgame gui is opened. 16 years ago
rubidium 7d64441008 (svn r15287) -Cleanup: some code style, remove erroneous comment.
-Document: the fact that zlib reads uninitialised data (valgrind notices this) and that it won't be fixed in zlib and that we can't do anything about it except ignoring it.
16 years ago
frosch 7dbd0582b6 (svn r15286) -Fix: Refitting did not invalidate vehicle-colour-maps of road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles. 16 years ago
rubidium e836f18ff1 (svn r15285) -Fix: valgrind complaining about reading uninitialised memory when saving 16 years ago
Yexo ea01534e6d (svn r15284) -Fix [FS#2582] (r15045): Parameters were popped from the squirrel stack twice. 16 years ago
belugas 9bb57ec840 (svn r15283) -Documentation: Apply some widget naming to the widget arrays.
-Codechange : use a pointer of the same repetitive reference of a widget, rather than an index in the array.
16 years ago
glx 7d45e8b376 (svn r15282) -Fix: it was possible to start more than MAX_COMPANIES companies 16 years ago
smatz 9cf1a19762 (svn r15281) -Fix: company could never have auto-assigned colour 0 (dark blue) 16 years ago
peter1138 43121fc2cb (svn r15280) -Cleanup: ancient and vastly out of date comment... 16 years ago
smatz 3ac080425a (svn r15279) -Fix: deadlock (with wide fonts) or desync when generating manager name 16 years ago
smatz 659989af45 (svn r15278) -Fix [FS#2332]: test noise limit of nearest town instead of st->town 16 years ago
Yexo 7f9c91901e (svn r15277) -Fix (r15027): Building bridges in AITestMode always returned false. 16 years ago
translators d960d0a851 (svn r15276) -Update: WebTranslator2 update to 2009-01-26 18:54:43
catalan    - 1 changed by arnaullv (1)
croatian   - 75 fixed by tifached (75)
czech      - 22 fixed, 2 changed by Hadez (24)
french     - 10 fixed by glx (10)
german     - 4 fixed by Athaba (4)
greek      - 10 changed by tek1979 (10)
italian    - 7 changed by lorenzodv (7)
korean     - 3 changed by darkttd (3)
romanian   - 7 changed by kkmic (7)
simplified_chinese - 8 fixed, 33 changed by ww9980 (41)
16 years ago
rubidium 450b9b7900 (svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the compiler doesn't provide the functions promised when that define exists... 16 years ago
smatz 562299d809 (svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flags 16 years ago
rubidium 18ed717410 (svn r15273) -Fix: OSK of the chat did not update the caret graphics 16 years ago
peter1138 7afd506301 (svn r15272) -Codechange: Check that engine types of vehicles are valid and for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required. 16 years ago
peter1138 c4ccf1a28d (svn r15271) -Codechange: Use offsets for drawing elrail wires & pylons instead of absolute sprite IDs. 16 years ago
glx 062f32a186 (svn r15270) -Change [API CHANGE]: remove AIEventTest 16 years ago
glx fc965a75dc (svn r15269) -Codechange: reduced indentation in CmdBuildRail* 16 years ago
frosch ca10c5c6e3 (svn r15268) -Fix: AIEventVehicleLost triggered at every pbs signal independent of the vehicle being lost. 16 years ago
smatz 84848f8a28 (svn r15266) -Fix (r15159): compilation without threads was broken 16 years ago
glx c1cf3934fa (svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication. 16 years ago