Commit Graph

11847 Commits

Author SHA1 Message Date
alberth
a079bf0a1f (svn r15809) -Codechange: Add name comments to build vehicle widgets 2009-03-22 12:14:44 +00:00
rubidium
12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 2009-03-22 12:01:21 +00:00
rubidium
64e7ab4025 (svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width. 2009-03-22 11:06:25 +00:00
rubidium
0cae096d2d (svn r15806) -Codechange: pass both left and right to the vehicle details drawing functions instead of only the left. 2009-03-22 10:37:51 +00:00
alberth
24facf771d (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 2009-03-22 09:58:38 +00:00
rubidium
06dda194e5 (svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
-Codechange: use the new string drawing API for the viewport.
2009-03-22 09:43:00 +00:00
rubidium
31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
2009-03-22 09:34:06 +00:00
alberth
fc24b775bb (svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment 2009-03-22 09:04:15 +00:00
peter1138
82a535085d (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
136bbbea9c (svn r15800) -Codechange: make the engine gui use the new multiline API. 2009-03-22 00:15:00 +00:00
peter1138
b23d16d76f (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
8517899d37 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 2009-03-21 23:45:46 +00:00
rubidium
dcd5ad8b19 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 2009-03-21 23:45:34 +00:00
rubidium
93b0548999 (svn r15796) -Codechange: unify multiline drawstrings 2009-03-21 23:23:06 +00:00
yexo
790af95126 (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
a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
frosch
6900854383 (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
12dbe1dd0f (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
2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 2009-03-21 22:22:00 +00:00
rubidium
89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 2009-03-21 22:00:00 +00:00
frosch
25b70e8c0d (svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it. 2009-03-21 21:43:23 +00:00
rubidium
2f1bfe3813 (svn r15788) -Codechange: enumify the network join status widgets and use them. 2009-03-21 21:26:10 +00:00
rubidium
fa6e82adfa (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 2009-03-21 20:40:02 +00:00
rubidium
eb058b44ff (svn r15786) -Codechange: enumify the engine preview widgets (and use them) 2009-03-21 20:39:37 +00:00
rubidium
c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 2009-03-21 20:12:12 +00:00
glx
583c756679 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 2009-03-21 20:06:00 +00:00
rubidium
303a8f9673 (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
b3b4be2dde (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
be3d672d3a (svn r15781) -Fix [NoAI]: Missing "AIs" in the information the debug AI prints. 2009-03-21 19:08:04 +00:00
translators
641cf47ddf (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
83ebb4ed74 (svn r15779) -Codechange: unify (most) of the text drawing "API". 2009-03-21 18:28:01 +00:00
rubidium
34eb5364bb (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
4eea5c9669 (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
6f1d634bc2 (svn r15776) -Fix [DoxyGen]: Our project is called OpenTTD, not openttd (which looks very ugly) 2009-03-20 10:08:12 +00:00
yexo
4b8d1a58a2 (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
f524d39963 (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 2009-03-19 23:32:39 +00:00
yexo
73e1f38934 (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
e59a6b3123 (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
47aecaee64 (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
571d3cedd4 (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
6ed503f7e9 (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
433d23a53c (svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated). 2009-03-19 17:58:25 +00:00
rubidium
485961b260 (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
c297a99eff (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
6d9b2ac76a (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
b798030c64 (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
1ba5811024 (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
47b2e67373 (svn r15758) -Fix (r15757): win9x compilation 2009-03-18 00:55:10 +00:00
glx
5793f78b16 (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
f7155ed34a (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