Commit Graph

11341 Commits

Author SHA1 Message Date
yexo 5a5bc8ab52 (svn r15487) -Change [API CHANGE]: Remove the never implemented function AIEventVehicleCrashed::CloneCrashedVehicle. 2009-02-14 21:13:45 +00:00
yexo 8ceb92e699 (svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID. 2009-02-14 21:13:15 +00:00
yexo cea470e687 (svn r15485) -Change [API CHANGE]: Split AIIndustry::HasHeliportAndDock and GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation. 2009-02-14 21:09:48 +00:00
yexo 58359b8d6e (svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName. 2009-02-14 21:06:58 +00:00
yexo 7fdde2fec0 (svn r15483) -Change [API CHANGE]: Remove AIIndustry::GetProduction, use AIIndustry::GetLastMonthProduction instead. 2009-02-14 21:05:57 +00:00
yexo 92fc2e692c (svn r15482) -Fix [NoAI]: Typos in api docs. 2009-02-14 20:07:05 +00:00
yexo 37819fc8c5 (svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call. 2009-02-14 20:03:06 +00:00
michi_cc 84deeecc5b (svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window. 2009-02-14 18:42:03 +00:00
frosch b123756c9f (svn r15479) -Fix: Documentation of AIIndustryType::CanBuildIndustry(). 2009-02-14 18:40:31 +00:00
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)
2009-02-14 18:38:39 +00:00
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. 2009-02-14 01:42:12 +00:00
rubidium 7b5c5d4432 (svn r15475) -Update: do r15474 also for the other languages. 2009-02-14 01:40:26 +00:00
rubidium 53caa6cb21 (svn r15474) -Cleanup: remove some (long) unused strings. 2009-02-14 01:29:18 +00:00
rubidium 9554b8aafe (svn r15473) -Fix: add two missing tooltips in the intro gui 2009-02-13 21:24:21 +00:00
rubidium 424a494c7b (svn r15472) -Fix: consistency of capitalisation of words in the intro gui and of NewGRF. 2009-02-13 21:19:32 +00:00
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)
2009-02-13 18:45:53 +00:00
yexo e84f25a2bd (svn r15470) -Fix [NoAI]: Check the types of the parameters passed to AddSetting, AddLabels and RegisterAI. 2009-02-13 18:43:56 +00:00
rubidium f33bf2dddd (svn r15469) -Fix (r15468): why doesn't subversion trigger the save of my text editor before doing the commit? 2009-02-13 17:55:45 +00:00
rubidium 8535ceb5e2 (svn r15468) -Fix: reword the multiplayer tooltip so it doesn't mention the (incorrect) number of players anymore. 2009-02-13 17:50:33 +00:00
yexo 8e14d77d05 (svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game. 2009-02-13 17:17:34 +00:00
yexo 15b9366f06 (svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile. 2009-02-13 16:25:53 +00:00
smatz d3f018a7e3 (svn r15465) -Codechange: constify most of AIInfo/AIFileInfo methods, move definition of very simple getters to header file 2009-02-13 02:11:54 +00:00
yexo 9292c90360 (svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once and only during initialization. 2009-02-13 01:44:56 +00:00
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. 2009-02-13 01:24:30 +00:00
yexo 4c7106dad7 (svn r15462) -Change [NoAI]: Make AIController::GetTick() and AIController::GetSetting() static functions.
-Fix (r15460): ai_controller.hpp.sq was forgotten.
2009-02-13 00:18:56 +00:00
rubidium 806807e16b (svn r15461) -Fix (r15459): massive removal of strings from serbian. 2009-02-12 23:47:13 +00:00
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. 2009-02-12 22:25:53 +00:00
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)
2009-02-12 18:46:07 +00:00
frosch 565602fe90 (svn r15458) -Fix: Missing 'static'. 2009-02-12 18:08:47 +00:00
rubidium 9fb19be134 (svn r15457) -Fix: typo in stringid. 2009-02-12 15:17:10 +00:00
rubidium 0a673d870b (svn r15456) -Fix(ish): add strgen support to add 'directional formatting codes', so one can guide the bidirectional rendering a bit better. 2009-02-12 10:42:22 +00:00
rubidium 1d362442ec (svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g. 2009-02-12 10:13:30 +00:00
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.. 2009-02-11 20:41:17 +00:00
frosch 81cf1cac8f (svn r15453) -Fix [FS#2450](r14613): Founding industries as OWNER_TOWN resulted in unwanted effects. 2009-02-11 20:09:29 +00:00
frosch 032346cf8a (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. 2009-02-11 18:50:47 +00:00
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)
2009-02-11 18:49:06 +00:00
peter1138 15152cdc03 (svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... enum values, and change INVALID_RAILTYPES to be UINT_MAX. 2009-02-11 18:37:13 +00:00
frosch 3e3a158610 (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. 2009-02-11 18:33:27 +00:00
peter1138 3728df8323 (svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label. 2009-02-11 18:10:12 +00:00
peter1138 e73a4e490c (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway 2009-02-11 07:17:39 +00:00
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
2009-02-11 02:53:15 +00:00
belugas c26426a44e (svn r15445) -Fix: little typos 2009-02-11 02:30:08 +00:00
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. 2009-02-11 01:46:09 +00:00
rubidium dba12992e8 (svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant. 2009-02-11 01:28:10 +00:00
yexo 8d25202067 (svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored. 2009-02-11 00:48:15 +00:00
yexo 1eeb0f6748 (svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it. 2009-02-10 19:22:09 +00:00
smatz 3072a5d7c2 (svn r15439) -Fix [FS#2626]: call Vehicle::LeaveStation() before reversing overlength loading train (station triggers were missed, PBS reservation could cause crash) 2009-02-10 12:49:12 +00:00
glx d6e8601a62 (svn r15438) -Fix (r15434): MSVC performance warning 2009-02-10 04:23:37 +00:00
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
2009-02-10 00:50:04 +00:00
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... 2009-02-09 22:49:28 +00:00