Commit Graph

6352 Commits (e6a165881cba611a4475db21068d64caa67796ea)

Author SHA1 Message Date
rubidium 460d99abcf (svn r16610) -Fix: remove rogue space before '?' 15 years ago
alberth e994d1ddaa (svn r16609) -Codechange: Introduction of widget sizes and offsets used while drawing. 15 years ago
translators 05bb636ba4 (svn r16607) -Update: WebTranslator2 update to 2009-06-20 17:50:41
estonian   - 1 changed by lible (1)
russian    - 31 fixed, 40 changed by Lone Wolf (71)
15 years ago
alberth c1ef6abc6a (svn r16606) -Doc: Added/fixed doxygen comments. 15 years ago
alberth 0aed5bf7d7 (svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file. 15 years ago
alberth 8aa51823fc (svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts. 15 years ago
smatz 4419366f94 (svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo) 15 years ago
peter1138 88ec646c1f (svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode instead of palette_mode. (Why did it work at some point?) 15 years ago
rubidium 9b156c1bd4 (svn r16601) -Fix [FS#2880]: try 2... hopefully better this time 15 years ago
frosch 83f8d52a67 (svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one. 15 years ago
rubidium 6a3a304283 (svn r16599) -Fix [FS#2987] (r16584): reset the 'current' font size after drawing, this way we won't draw other strings too small; only caused problems when tiny/big text strings would use SETX. 15 years ago
smatz 0961668e14 (svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame 15 years ago
translators ca15d98db3 (svn r16595) -Update: WebTranslator2 update to 2009-06-18 17:50:03
russian    - 31 fixed, 11 changed by Lone Wolf (42)
15 years ago
rubidium 904d2bc458 (svn r16594) -Fix [FS#2969]: mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible. 15 years ago
rubidium 1359471d3f (svn r16593) -Cleanup: realign the TTDP flags table. 15 years ago
rubidium a497e3ff4a (svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'. 15 years ago
rubidium cdc0c092f1 (svn r16591) -Codechange: some coding style in strgen 15 years ago
rubidium 98b4f1fce2 (svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found. 15 years ago
translators 05e5f80ebd (svn r16587) -Update: WebTranslator2 update to 2009-06-17 17:39:59
estonian   - 16 changed by lible (16)
russian    - 10 changed by Lone Wolf (10)
slovenian  - 27 fixed by Necrolyte (27)
15 years ago
rubidium 35aabc1d4c (svn r16586) -Codechange: don't store lifelength in the savegame; it can easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect. 15 years ago
yexo d09d3566dd (svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys 15 years ago
rubidium 121a569125 (svn r16584) -Fix [FS#2965]: sometimes SETX/SETXY would lead to unexpected results for NewGRF texts.
Note: This readds support for centering strings with SETX, however the text part of the string will not be in the exact center, as the SETX offsets that.
Note: All means of aligning vehicle names behind wide sprites (SETX or lots of spaces) in the buy menu will cause the vehicle names to be misaligned in other places, like the new vehicle news message, exclusive use of vehicle message, detailed vehicle information or autoreplace.
15 years ago
rubidium 56fea2bb2b (svn r16583) -Update: the order of the language files so it's in sync with english.txt. Normally WT2 would do this, but only with activity for those languages. Now we'd like to the order to match so we can more easily spot import bugs while developing WT3. 15 years ago
translators 67876f56e9 (svn r16582) -Update: WebTranslator2 update to 2009-06-16 17:10:36
estonian   - 3 fixed, 47 changed by lible (50)
russian    - 31 fixed, 225 changed by Lone Wolf (256)
15 years ago
rubidium 512b021e26 (svn r16581) -Codechange: unify the access to Engine::lifelength. 15 years ago
rubidium 4b05617c42 (svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo. 15 years ago
rubidium 20f73b2f50 (svn r16579) -Codechange: rework smallmap code a bit; remove goto, remove some unneeded variables, return value directly instead of writing it to a variable to later return that 15 years ago
translators 238872d3bd (svn r16578) -Update: WebTranslator2 update to 2009-06-14 17:33:27
russian    - 39 fixed, 121 changed by Lone Wolf (160)
simplified_chinese - 3 fixed by ww9980 (3)
traditional_chinese - 3 fixed by ww9980 (3)
15 years ago
rubidium fa1dcd4194 (svn r16577) -Fix: signed/unsigned comparison 15 years ago
rubidium 28e6b46a41 (svn r16576) -Fix: show the line of the translation file that has the fault and not the line of the string in english.txt. 15 years ago
alberth f23afd988f (svn r16575) -Fix (r15760): Move resize sprite to the right when widget is lowered for RTL languages also. 15 years ago
rubidium 4cd94e17a1 (svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs. 15 years ago
rubidium f8bccce555 (svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file. 15 years ago
rubidium 2a7b07137a (svn r16572) -Codechange: also catch FPEs in saveload and the warning about missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing. 15 years ago
smatz 62f120b296 (svn r16571) -Fix [FS#2974](r16322): in some cases, train could be stuck in depot 15 years ago
yexo ea03c76bd6 (svn r16569) -Codechange: remove the gaps in the AirportTiles enum 15 years ago
yexo 1e9ddd18b3 (svn r16568) -Codechange: rename all arrays with airport-tile sprites 15 years ago
yexo f0e31a36df (svn r16567) -Fix (r16566): some minor corrections 15 years ago
yexo 4b34957987 (svn r16566) -Codechange: enumify all airport tiles 15 years ago
translators 88a20b7ea2 (svn r16565) -Update: WebTranslator2 update to 2009-06-11 17:32:14
russian    - 3 fixed, 1 deleted, 209 changed by Lone Wolf (213)
serbian    - 95 fixed by etran (95)
15 years ago
yexo b3c3cf6e6d (svn r16563) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile 15 years ago
yexo f92feb2a95 (svn r16562) -Revert (r16561) 15 years ago
yexo 176e55a8a3 (svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile 15 years ago
smatz c756fdd6da (svn r16560) -Fix (r16559): wrong replacement at one place 15 years ago
smatz bea3fe2b8b (svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible 15 years ago
alberth bc7e9514d2 (svn r16558) -Codechange: Switch found-town window to nested widgets. 15 years ago
smatz 8563b77fee (svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background in the AIDebug window 15 years ago
smatz 83e2df5b72 (svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead 15 years ago
smatz 35635c6248 (svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker) 15 years ago
smatz 3eb8f643fb (svn r16554) -Fix (r16433): compilation with disabled network was broken 15 years ago
smatz 5a6bb53894 (svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks 15 years ago
smatz 5e1c59c3de (svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster 15 years ago
smatz d6996c110a (svn r16551) -Codechange: use shift instead of multiplication in TileXY() 15 years ago
smatz ec78a39f9e (svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults 15 years ago
smatz 4e2c1ef08f (svn r16549) -Codechange: use bool in TileLoopClearHelper 15 years ago
smatz 498d2b0caa (svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly 15 years ago
smatz 0c0943fe83 (svn r16547) -Codechange: make CircularTileSearch a tiny bit faster 15 years ago
smatz fd191dd616 (svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor 15 years ago
smatz 1c5ca9822d (svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1 15 years ago
smatz 249b6e6798 (svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles) 15 years ago
translators ea1a523a89 (svn r16543) -Update: WebTranslator2 update to 2009-06-09 17:05:46
russian    - 6 deleted, 276 changed by Lone Wolf (282)
15 years ago
smatz e16314d58f (svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char 15 years ago
rubidium afdeab52ab (svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one 15 years ago
translators 050bbb4dac (svn r16537) -Update: WebTranslator2 update to 2009-06-08 17:40:35
french     - 1 fixed by glx (1)
german     - 1 changed by planetmaker (1)
russian    - 31 fixed, 89 changed by Lone Wolf (120)
15 years ago
frosch 8cbf116c62 (svn r16536) -Fix (r16535): W != S 15 years ago
frosch 53a711ede0 (svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections. 15 years ago
yexo 1df029de1d (svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state 15 years ago
translators 95f7c05199 (svn r16533) -Update: WebTranslator2 update to 2009-06-07 17:45:47
icelandic  - 8 fixed, 50 changed by scrooge (58)
russian    - 8 fixed, 28 changed by Lone Wolf (36)
serbian    - 100 fixed by etran (100)
15 years ago
yexo 9db1f5925c (svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL 15 years ago
alberth e3ba9c487f (svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given away to a child from the total (Hirundo). 15 years ago
yexo 726ba50868 (svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API. 15 years ago
frosch 8745a30971 (svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead. 15 years ago
smatz 0c10006907 (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 15 years ago
smatz c90819ff6d (svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle 15 years ago
frosch 5b497d6b49 (svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost. 15 years ago
rubidium ec3ef70adb (svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD. 15 years ago
frosch 0b8ceb3007 (svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles. 15 years ago
yexo 59ae226ab1 (svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI was stopped an a human company took it's CompanyID 15 years ago
frosch 4554c79b54 (svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392) 15 years ago
yexo ad5f018195 (svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge) 15 years ago
alberth ec5db12adc (svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar. 15 years ago
translators 69d86f0b11 (svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
swedish    - 39 fixed by daishan (39)
15 years ago
alberth 19ccf6912c (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 15 years ago
alberth b144a5451c (svn r16516) -Codechange: Added click and drag handling for nested widgets. 15 years ago
alberth 1a4934ef07 (svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree. 15 years ago
alberth 5c9071fcff (svn r16514) -Codechange: Add widget flags, and drawing and invalidating. 15 years ago
alberth 1ba3755aa7 (svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array. 15 years ago
rubidium caf98238e3 (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 15 years ago
yexo 13c69b897e (svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function 15 years ago
smatz d1a50f5258 (svn r16507) -Fix (r16503): segfault when deleting non-last graphics set 15 years ago
smatz 2b4d37de3d (svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit 15 years ago
rubidium 2fc0cb3e76 (svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble. 15 years ago
smatz 78a25e84e9 (svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor 15 years ago
rubidium be04b7e29c (svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ). 15 years ago
yexo 4ea3e511bd (svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
15 years ago
alberth 9b15b8cd4a (svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree. 15 years ago
translators c077796ac6 (svn r16499) -Update: WebTranslator2 update to 2009-06-01 17:32:36
luxembourgish - 3 fixed, 11 changed by *jigo* (14)
serbian    - 105 fixed by etran (105)
15 years ago
frosch 0d782b0f96 (svn r16498) -Codechange: Remove hardly used HASBITS. 15 years ago
smatz da57fe63f3 (svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool 15 years ago
smatz 1a506f5912 (svn r16496) -Codechange: remove one useless dynamic_cast<> 15 years ago