Commit Graph

11689 Commits

Author SHA1 Message Date
peter1138 4c02622cae (svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on. 2009-03-22 08:10:20 +00:00
rubidium a07fae67c3 (svn r15800) -Codechange: make the engine gui use the new multiline API. 2009-03-22 00:15:00 +00:00
peter1138 3abddfe705 (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 2009-03-21 23:58:20 +00:00
yexo d1fd756755 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 2009-03-21 23:45:46 +00:00
rubidium d837fc4d03 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 2009-03-21 23:45:34 +00:00
rubidium 676bf31e82 (svn r15796) -Codechange: unify multiline drawstrings 2009-03-21 23:23:06 +00:00
yexo 0f7b9af9fa (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 2009-03-21 23:16:09 +00:00
rubidium f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
frosch ce513b46b7 (svn r15793) -Feature: Allow train vehicles to be shorten to 1/8 length, even if not at the end of the train. 2009-03-21 22:32:51 +00:00
frosch 88a95661a3 (svn r15792) -Codechange: Use a different algorithm for train vehicles to follow the vehicle in front of them. 2009-03-21 22:25:38 +00:00
rubidium 69decac406 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 2009-03-21 22:22:00 +00:00
rubidium 9003641095 (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
frosch d452a0a0ec (svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it. 2009-03-21 21:43:23 +00:00
rubidium fd0f0bda72 (svn r15788) -Codechange: enumify the network join status widgets and use them. 2009-03-21 21:26:10 +00:00
rubidium 2d66f8e467 (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 2009-03-21 20:40:02 +00:00
rubidium 5c8906bff7 (svn r15786) -Codechange: enumify the engine preview widgets (and use them) 2009-03-21 20:39:37 +00:00
rubidium 45f189fdca (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
glx 9fcff01850 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 2009-03-21 20:06:00 +00:00
rubidium 93fe44a3c5 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 2009-03-21 19:31:47 +00:00
rubidium 8a758beec3 (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 2009-03-21 19:10:26 +00:00
yexo 971ed8d2a3 (svn r15781) -Fix [NoAI]: Missing "AIs" in the information the debug AI prints. 2009-03-21 19:08:04 +00:00
translators 42dc3bf742 (svn r15780) -Update: WebTranslator2 update to 2009-03-21 18:49:32
german     - 2 changed by planetmaker (2)
hebrew     - 18 fixed by EScake (18)
lithuanian - 27 fixed, 1 changed by Devastator (28)
polish     - 29 fixed by coolik (29)
portuguese - 9 fixed by SnowFlake (9)
russian    - 1 changed by Smoky555 (1)
spanish    - 1 fixed by erregerre (1)
2009-03-21 18:49:45 +00:00
rubidium a22559ff95 (svn r15779) -Codechange: unify (most) of the text drawing "API". 2009-03-21 18:28:01 +00:00
rubidium 529dd0867f (svn r15778) -Fix [FS#2749] (r15666): when sorting on cost don't sort on the running cost (sbr) 2009-03-21 11:16:10 +00:00
rubidium 3ef8a09e20 (svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth) 2009-03-21 01:34:31 +00:00
truebrain da37ab321d (svn r15776) -Fix [DoxyGen]: Our project is called OpenTTD, not openttd (which looks very ugly) 2009-03-20 10:08:12 +00:00
yexo d2dae07595 (svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI. 2009-03-19 23:38:51 +00:00
rubidium ee4a660b0c (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 2009-03-19 23:32:39 +00:00
yexo 096debebe7 (svn r15772) -Fix (r15767): MSVC can't find the right function anymore because the return value in the header was not updated. 2009-03-19 23:03:53 +00:00
yexo 5933a07a86 (svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values. 2009-03-19 22:37:41 +00:00
translators d405795bf1 (svn r15770) -Update: WebTranslator2 update to 2009-03-19 18:49:29
danish     - 33 fixed by ThomasA (33)
2009-03-19 18:49:31 +00:00
translators 6e5f5c5811 (svn r15769) -Update: WebTranslator2 update to 2009-03-19 18:46:01
arabic_egypt - 4 fixed, 1 changed by khaloofah (5)
brazilian_portuguese - 5 fixed by tucalipe (5)
esperanto  - 9 fixed by maristo (9)
polish     - 7 fixed by Simek (7)
slovak     - 3 fixed by James (3)
swedish    - 6 fixed by Wiggelicous (6)
2009-03-19 18:46:09 +00:00
rubidium d20b8a95dd (svn r15768) -Change: remove an "experimental" marker for something that has been working fine for a long time and remove the ununderstandable part of the description. 2009-03-19 18:23:51 +00:00
rubidium 9fd7774235 (svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated). 2009-03-19 17:58:25 +00:00
rubidium f5cb1873d6 (svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice. 2009-03-19 17:56:45 +00:00
frosch 6dd04a9a78 (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere. 2009-03-18 19:32:13 +00:00
glx ea2c50281e (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 2009-03-18 17:55:47 +00:00
translators 3a80b4213b (svn r15761) -Update: WebTranslator2 update to 2009-03-18 17:44:55
croatian   - 10 fixed by tifached (10)
indonesian - 4 fixed by adjayanto (4)
japanese   - 60 fixed by ickoonite (60)
latvian    - 5 fixed by silentKnight (5)
russian    - 4 fixed by Smoky555 (4)
2009-03-18 17:48:58 +00:00
rubidium 35e4dc0f4b (svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth) 2009-03-18 01:06:48 +00:00
glx c0a4498518 (svn r15758) -Fix (r15757): win9x compilation 2009-03-18 00:55:10 +00:00
glx 5654966e75 (svn r15757) -Fix/hackaround (r15314): of course on some system searching a font using its english name fails. So now we search the font using the localised name and use the english name for the final 'validation' only. 2009-03-18 00:51:44 +00:00
rubidium 022a929e2d (svn r15756) -Codechange: remove the assumption that the second windget is always the title bar. Also replace a few magic numbers with a const. 2009-03-17 23:26:28 +00:00
frosch c7345c6db0 (svn r15755) -Fix: Number of houses in house variables 0x44, 0x60 and 0x61 were incorrect after 0xFF had been reached and could desync clients joining afterwards. 2009-03-17 19:40:10 +00:00
translators ef28042bf1 (svn r15754) -Update: WebTranslator2 update to 2009-03-17 18:42:46
bulgarian  - 63 fixed by thetitan (63)
dutch      - 4 fixed by habell (4)
romanian   - 3 fixed by kkmic (3)
spanish    - 3 fixed by eusebio (3)
turkish    - 3 fixed by Emin (3)
ukrainian  - 4 fixed by mad (4)
2009-03-17 18:42:54 +00:00
yexo 5e1cad1b1b (svn r15753) -Fix (r15702)[FS#2742]: Crash when clicking the small area between the savegame list and the save button in the save game window. 2009-03-17 17:17:52 +00:00
glx e968f5c572 (svn r15752) -Fix: don't try to (un)draw the cursor when the screen is not ready 2009-03-17 16:28:21 +00:00
yexo 93be9a1c90 (svn r15750) -Fix: The big ufo sometimes landed just outside the map. Instead of landing, just disappear (fly away) in those cases. 2009-03-17 01:30:39 +00:00
yexo 72dc128915 (svn r15749) -Codechange: apply coding style to disaster_cmd.cpp 2009-03-17 00:47:01 +00:00
rubidium f044ef6564 (svn r15748) -Fix (r1722): the assumption that the number of tiles on the X side equals the number of tiles on the Y side does not hold anymore. As a result of this submarines could be created far outside of the map. Later in r15733 we would test whether that tile would be a water tile and we'd find out the tile isn't within the map. 2009-03-16 23:23:33 +00:00
rubidium 7bbdd4f119 (svn r15747) -Fix [FS#2736]: road ownership getting lost when removing a road stop. 2009-03-16 20:45:32 +00:00