Commit Graph

5956 Commits (755ce4127d93755fd87508ea8f45cc39bc058a5c)

Author SHA1 Message Date
rubidium 8b47431249 (svn r15832) -Codechange: improve the aligning of right aligned/centered strings 16 years ago
smatz fa0b0a5eb7 (svn r15831) -Fix: make sure house class/ID counters don't overflow 16 years ago
smatz ce4f598cf5 (svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h 16 years ago
yexo 4bfcb07bca (svn r15827) -Fix (r15823): line still was a bit too long 16 years ago
yexo d8a0e59b9d (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 16 years ago
rubidium 927c293bb1 (svn r15824) -Fix: determine the actual length of the strings to draw in the viewport 16 years ago
yexo 9ee020c84d (svn r15823) -Codechange: prepare the WWT_FRAME and WWT_DROPDOWN(IN) widget types for rtl languages. 16 years ago
rubidium 0e96b7b7c0 (svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window. 16 years ago
peter1138 efb0ae76e0 (svn r15821) -Fix (r15813): Wrong widget selection prevented drop down label showing in vehicle list windows. Instead of drawing the label ourselves we can set the dropdown's data property to the string to draw. 16 years ago
alberth 8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 16 years ago
alberth 4ac600e2cf (svn r15819) -Add: Nested widgets framework 16 years ago
rubidium af1ffc92d1 (svn r15818) -Fix [FS#2752]: some (newer) GCCs have trouble compiling the Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie) 16 years ago
alberth 82a171f175 (svn r15817) -Codechange: Make room for additional widget types (Rubidium) 16 years ago
translators 66365c2121 (svn r15816) -Update: WebTranslator2 update to 2009-03-22 18:37:40
english_US - 3 fixed by WhiteRabbit (3)
german     - 2 changed by planetmaker (2)
japanese   - 43 fixed, 2 changed by nex259 (45)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by stykat (1)
16 years ago
rubidium fbbbe2ed30 (svn r15815) -Fix (~r15800): bridge strings got truncated too early 16 years ago
alberth f626d8935a (svn r15814) -Fix (r1): Remove double background widget from cheat gui 16 years ago
rubidium 6d3745a924 (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 16 years ago
rubidium 2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 16 years ago
rubidium 44e2b242cd (svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty. 16 years ago
alberth a151dfefe9 (svn r15810) -Fix: Airport-type labels overlapped with first button, background did not cover whole window 16 years ago
alberth a079bf0a1f (svn r15809) -Codechange: Add name comments to build vehicle widgets 16 years ago
rubidium 12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 16 years ago
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. 16 years ago
rubidium 0cae096d2d (svn r15806) -Codechange: pass both left and right to the vehicle details drawing functions instead of only the left. 16 years ago
alberth 24facf771d (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 16 years ago
rubidium 06dda194e5 (svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
-Codechange: use the new string drawing API for the viewport.
16 years ago
rubidium 31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
16 years ago
alberth fc24b775bb (svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment 16 years ago
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. 16 years ago
rubidium 136bbbea9c (svn r15800) -Codechange: make the engine gui use the new multiline API. 16 years ago
peter1138 b23d16d76f (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 16 years ago
yexo 8517899d37 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 16 years ago
rubidium dcd5ad8b19 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 16 years ago
rubidium 93b0548999 (svn r15796) -Codechange: unify multiline drawstrings 16 years ago
yexo 790af95126 (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 16 years ago
rubidium a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 16 years ago
frosch 6900854383 (svn r15793) -Feature: Allow train vehicles to be shorten to 1/8 length, even if not at the end of the train. 16 years ago
frosch 12dbe1dd0f (svn r15792) -Codechange: Use a different algorithm for train vehicles to follow the vehicle in front of them. 16 years ago
rubidium 2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 16 years ago
rubidium 89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 16 years ago
frosch 25b70e8c0d (svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it. 16 years ago
rubidium 2f1bfe3813 (svn r15788) -Codechange: enumify the network join status widgets and use them. 16 years ago
rubidium fa6e82adfa (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 16 years ago
rubidium eb058b44ff (svn r15786) -Codechange: enumify the engine preview widgets (and use them) 16 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 16 years ago
glx 583c756679 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 16 years ago
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. 16 years ago
rubidium b3b4be2dde (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 16 years ago
yexo be3d672d3a (svn r15781) -Fix [NoAI]: Missing "AIs" in the information the debug AI prints. 16 years ago
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)
16 years ago
rubidium 83ebb4ed74 (svn r15779) -Codechange: unify (most) of the text drawing "API". 16 years ago
rubidium 34eb5364bb (svn r15778) -Fix [FS#2749] (r15666): when sorting on cost don't sort on the running cost (sbr) 16 years ago
rubidium 4eea5c9669 (svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth) 16 years ago
yexo 4b8d1a58a2 (svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI. 16 years ago
rubidium f524d39963 (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 16 years ago
yexo 73e1f38934 (svn r15772) -Fix (r15767): MSVC can't find the right function anymore because the return value in the header was not updated. 16 years ago
yexo e59a6b3123 (svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values. 16 years ago
translators 47aecaee64 (svn r15770) -Update: WebTranslator2 update to 2009-03-19 18:49:29
danish     - 33 fixed by ThomasA (33)
16 years ago
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)
16 years ago
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. 16 years ago
rubidium 433d23a53c (svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated). 16 years ago
rubidium 485961b260 (svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice. 16 years ago
frosch c297a99eff (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere. 16 years ago
glx 6d9b2ac76a (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 16 years ago
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)
16 years ago
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) 16 years ago
glx 47b2e67373 (svn r15758) -Fix (r15757): win9x compilation 16 years ago
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. 16 years ago
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. 16 years ago
frosch bec067f53b (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. 16 years ago
translators 1830f72878 (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)
16 years ago
yexo 6c6e1cccb1 (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. 16 years ago
glx f58c95d532 (svn r15752) -Fix: don't try to (un)draw the cursor when the screen is not ready 16 years ago
yexo cec7005749 (svn r15750) -Fix: The big ufo sometimes landed just outside the map. Instead of landing, just disappear (fly away) in those cases. 16 years ago
yexo f7a7a1f158 (svn r15749) -Codechange: apply coding style to disaster_cmd.cpp 16 years ago
rubidium 1323e94607 (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. 16 years ago
rubidium 72a9d62638 (svn r15747) -Fix [FS#2736]: road ownership getting lost when removing a road stop. 16 years ago
orudge 1da742f010 (svn r15746) -Fix: Update threading code for OS/2, add mutex support 16 years ago
orudge de67610a7a (svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS 16 years ago
smatz f32f1a78f2 (svn r15744) -Fix (r9667): when town generator failed to create requested number of towns, there were too many cities 16 years ago
yexo cd73406b9c (svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file. 16 years ago
yexo b4fb14693a (svn r15742) -Fix (r15736): AIs with an invalid info.nut weren't ignored anymore. 16 years ago
smatz 96443c683a (svn r15741) -Fix (r15740): czech town name generator needs very long buffer, use different min size for each generator 16 years ago
smatz d23c9f7a6c (svn r15740) -Codechange: make code in namegen.cpp ~50% faster, apply coding style and add comments 16 years ago
peter1138 5f57ea7198 (svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25. 16 years ago
yexo d02548b204 (svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo. 16 years ago
rubidium da81f72532 (svn r15735) -Update: trunk ain't going to 0.7 anymore ;) 16 years ago
yexo fcff9e79e2 (svn r15733) -Fix: Enabling freeform edges could cause submarines to get stuck on land tiles. 16 years ago
rubidium f08870850e (svn r15732) -Fix: enumified constant name style 16 years ago
rubidium e0fa11dd70 (svn r15731) -Codechange: unify submarine creation 16 years ago
rubidium 6487883084 (svn r15729) -Fix: silence MSVC warning 16 years ago
translators ea36f23d53 (svn r15728) -Update: WebTranslator2 update to 2009-03-15 18:52:21
czech      - 7 fixed, 6 changed by SmatZ (13)
danish     - 4 fixed by MiR (4)
german     - 3 fixed by planetmaker (3)
hungarian  - 2 fixed by alyr (2)
indonesian - 2 fixed by fanioz (2)
korean     - 4 fixed by darkttd (4)
lithuanian - 43 fixed, 1 changed by Enternald (8), geckonas (36)
norwegian_nynorsk - 12 fixed by Thor (12)
16 years ago
smatz 2168f2f4b9 (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
16 years ago
smatz e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 16 years ago
smatz d28895c88b (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
rubidium 57c5ce84eb (svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth) 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium 51b285233f (svn r15721) -Change: give a more useful (for 'normal' users) error message when there's no AI and they want to play with an AI 16 years ago
rubidium 1e905be475 (svn r15720) -Change: put a bit more information into the crash log 16 years ago
yexo af5c6f7996 (svn r15719) -Update: the credit section. 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium 332846e9e2 (svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/ 16 years ago
yexo 6fe181ae64 (svn r15716) -Change [NoAI]: AI libraries should now be stored in ai/library/<library_name>/ instead of ai/library/<category_name>/<library_name>/. Libraries inside tar files are not affected. 16 years ago
frosch 4a02de290a (svn r15714) -Remove: 'Original vehicle names' - err - language... Use the (static) newgrf on BaNaNaS if you care. 16 years ago
frosch 3e3177d777 (svn r15713) -Feature(ette): Allow static newgrfs to set 'GRF ID engine overrides', if the source GRF is static. 16 years ago
translators f33d0f17a3 (svn r15712) -Update: WebTranslator2 update to 2009-03-14 18:38:56
catalan    - 4 fixed by arnaullv (4)
finnish    - 3 fixed by jpx_ (3)
french     - 3 fixed by glx (3)
german     - 3 fixed by planetmaker (3)
hungarian  - 1 fixed, 1 changed by alyr (2)
italian    - 3 fixed by lorenzodv (3)
lithuanian - 17 fixed by geckonas (17)
norwegian_nynorsk - 11 fixed by Thor (11)
slovenian  - 10 fixed by Necrolyte (10)
16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
glx 81361189ca (svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h. 16 years ago
rubidium f2883d4bfa (svn r15709) -Change [FS#2729]: be a tad more specific about the fact that you're building incompatible tracks when building incompatible track types on the same tile. 16 years ago
yexo 473cc5076a (svn r15708) -Feature [FS#2728]: Pop up the AI Debug Window if one of the AIs crashed and show a message that the user should report the crash. 16 years ago
michi_cc 8ffe6906af (svn r15707) -Fix (r15686): The config file was not updated on Windows because rename() can't replace existing files. 16 years ago
michi_cc 968a2c95f8 (svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding. 16 years ago
frosch f35e00844c (svn r15705) -Fix: Do not show passenger-/mail-capacity if the aircraft carries only cargo. 16 years ago
smatz 4c6afbbbe2 (svn r15704) -Cleanup: remove further includes from recently split files 16 years ago
belugas c540d40be1 (svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp. 16 years ago
rubidium 0bb1fd18ad (svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows. 16 years ago
frosch d86e821f53 (svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing. 16 years ago
rubidium 0bbb7dfd38 (svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp. 16 years ago
rubidium 473c210368 (svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp. 16 years ago
translators 73b6818f94 (svn r15698) -Update: WebTranslator2 update to 2009-03-13 18:45:47
dutch      - 1 changed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
finnish    - 1 fixed by jpx_ (1)
german     - 1 fixed, 3 changed by planetmaker (4)
italian    - 1 fixed by lorenzodv (1)
slovak     - 1 fixed by James (1)
turkish    - 3 fixed by jnmbk (3)
16 years ago
rubidium 3a3607862d (svn r15697) -Fix (r15695): warning about comparing signed vs unsigned. 16 years ago
rubidium f1605cf475 (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. 16 years ago
belugas aa441cd4d7 (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
16 years ago
rubidium 8216a0f5c9 (svn r15694) -Codechange/feature/fix: invert the order in which base graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics. 16 years ago
frosch 65b47ddc52 (svn r15692) -Fix [FS#2721]: Just sell the old engines after autorenew/replace. Don't bother about trains exceeding the trainlimit, which will be sold anyway. 16 years ago
translators 3e391ea95e (svn r15691) -Update: WebTranslator2 update to 2009-03-12 18:42:18
french     - 1 fixed by glx (1)
hungarian  - 1 fixed by alyr (1)
luxembourgish - 258 fixed, 3 changed by Gubius (261)
persian    - 146 fixed by ali sattari (146)
russian    - 1 fixed by Smoky555 (1)
spanish    - 1 fixed by eusebio (1)
16 years ago
rubidium 40a7c14bfd (svn r15690) -Feature(tte(tte)): CTRL-"New Game" skips the "World generation" window. 16 years ago
rubidium e27d12d788 (svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town. 16 years ago
rubidium d063bfe6c9 (svn r15688) -Codechange: unifiy cleaning up the map generation (normal and abort) 16 years ago
rubidium ab9788b290 (svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail builds nothing when trying to build over signals in the wrong way. 16 years ago
rubidium 7e24f67426 (svn r15686) -Codechange: make it a bit harder for crashes to trash your config file. 16 years ago
rubidium 6ace408bfe (svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage. 16 years ago
yexo 21daa3fbc9 (svn r15684) -Add [NoAI]: AIOrder::SkipToOrder(). 16 years ago
yexo 111e2691b0 (svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible. 16 years ago
rubidium 8a5eeebdc0 (svn r15682) -Codechange: some coding style 16 years ago
rubidium bc11c9e5a5 (svn r15681) -Cleanup: remove unneeded forward declaration. 16 years ago
smatz c622a81fee (svn r15680) -Cleanup: remove redundant comment 16 years ago
belugas 3afcef02aa (svn r15679) -Cleanup: Little code-style application 16 years ago
rubidium 0ca15db98f (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 16 years ago
rubidium 404cff525b (svn r15677) -Fix [FS#2546]: vehicle images would be determined during the process of moving the vehicle which means that only the (orientation) data for the vehicles in front of it is valid. Now the data for the vehicles behind the vehicle are valid too. 16 years ago
rubidium b003536ea8 (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 16 years ago
rubidium 49d6804f97 (svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor. 16 years ago
translators 44f3c56905 (svn r15674) -Update: WebTranslator2 update to 2009-03-11 18:52:10
german     - 9 changed by planetmaker (9)
indonesian - 1 fixed by fanioz (1)
luxembourgish - 121 fixed by Gubius (121)
portuguese - 4 fixed by SnowFlake (4)
russian    - 1 fixed by Smoky555 (1)
slovak     - 3 fixed by James (3)
16 years ago
glx 5896f5db57 (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) 16 years ago
rubidium 9d0c77b123 (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 16 years ago
rubidium 77a1323eef (svn r15671) -Codechange: bit of coding style/clarification. 16 years ago
yexo efd0607688 (svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself. 16 years ago
yexo fbe159ab9e (svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open. 16 years ago
yexo 28c49b694a (svn r15668) -Fix: a few typos. 16 years ago
yexo 3f9a117ad2 (svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies. 16 years ago
rubidium 0aeed2b96a (svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity. 16 years ago
peter1138 812f6b8676 (svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1. 16 years ago
glx 08862489f1 (svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved 16 years ago
rubidium e48142c4db (svn r15663) -Fix: growing of vsize as (some) threads weren't properly released. 16 years ago
peter1138 88e641282c (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. 16 years ago
yexo 03bb87c6b8 (svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times. 16 years ago
yexo 4a6a30cc52 (svn r15658) -Fix [NoAI]: Rewrite AIAbstractList::Valuate to make it more readable and fix a crash if no parameters are given to that function. 16 years ago
rubidium b743e49bf4 (svn r15657) -Fix [FS#2716]: undeterministic file sorting when the date is equal for all files 16 years ago
frosch 4cc20fe0ae (svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager. 16 years ago
michi_cc 1c9749dba8 (svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values. 16 years ago
frosch 90a81da62b (svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16) 16 years ago
translators 0f2af50231 (svn r15653) -Update: WebTranslator2 update to 2009-03-09 18:42:57
dutch      - 1 fixed by habell (1)
german     - 1 fixed by planetmaker (1)
luxembourgish - 387 fixed by Gubius (387)
romanian   - 1 fixed by kkmic (1)
thai       - 29 fixed by meemee1983 (29)
welsh      - 1 fixed by PlayDead (1)
16 years ago
michi_cc 80133f67ea (svn r15652) -Fix [FS#2706]: new (this) is seldom a good idea as destructors of member variables aren't run causing memory leaks. 16 years ago
peter1138 0418e2c9d1 (svn r15651) -Codechange: Codestyle and comments. 16 years ago
peter1138 c952464447 (svn r15650) -Codechange: Use a ReusableBuffer for loading NewGRF pseudo-sprites into instead of using malloc()/free() for every single one. 16 years ago
rubidium 75a32223c6 (svn r15649) -Fix (r15556): don't unnecessarily reallocate 16 years ago
rubidium 236ca3ae17 (svn r15648) -Fix (r14773): hack around an OSX stupidity in < 10.4 w.r.t. signals by not having any signal handling support for OSX < 10.4. Thanks to PearPC and TrueBrain's OSX compiler. 16 years ago
translators 59cdb3e085 (svn r15647) -Update: WebTranslator2 update to 2009-03-08 18:32:50
arabic_egypt - 2 fixed, 20 changed by khaloofah (22)
catalan    - 1 fixed by arnaullv (1)
dutch      - 4 changed by Yexo (4)
english_US - 3 fixed by WhiteRabbit (3)
finnish    - 1 fixed, 1 changed by jpx_ (2)
french     - 1 fixed by glx (1)
greek      - 57 fixed by hellis (57)
hungarian  - 1 fixed by alyr (1)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed by leejaeuk5 (1)
traditional_chinese - 2 changed by josesun (2)
ukrainian  - 1 fixed by mad (1)
16 years ago
frosch fd1609fd11 (svn r15646) -Fix: Be lenient on users who do stupid things like loading newgrfs statically, which modify engine names, while dynamic_engines is enabled or the to be modified engine is not (yet) present. 16 years ago
frosch 959c297fb9 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 16 years ago
rubidium 880d296b25 (svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting 16 years ago
smatz e57699d8c0 (svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits 16 years ago
smatz f5b24edc1e (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 16 years ago
rubidium c718984618 (svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard... 16 years ago
smatz 19c01ee0ec (svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block 16 years ago
yexo 47803bc3a7 (svn r15639) -Change: When you disable "Towns are allowed to build roads", pressing "Expand" in the town window in the scenario editor will no longer build roads. 16 years ago
truebrain 6f9cb26000 (svn r15638) -Fix: there is a time in your life you should stop coding for a project. You know that time is there when you make two huge mistakes in just 10 lines of code. I wish you all the best of luck :) (ps: HUGE mistakes!) 16 years ago
truebrain bc56b0edf7 (svn r15637) -Fix: when you try to protect something from doing something it shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases. 16 years ago
translators 08aa328934 (svn r15636) -Update: WebTranslator2 update to 2009-03-07 18:58:32
greek      - 211 fixed, 4 changed by hellis (215)
korean     - 2 changed by dlunch (2)
16 years ago
rubidium 7c084bb3e6 (svn r15635) -Fix [FS#2707]: don't allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time. 16 years ago
rubidium 8c68010ace (svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf. 16 years ago
yexo 83c6b98232 (svn r15633) -Fix (r15632): apparently there are several conflicting definitions of the arguments / return values of strrchr. 16 years ago
rubidium d5762a5069 (svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas. 16 years ago
translators 86229361c8 (svn r15631) -Update: WebTranslator2 update to 2009-03-06 18:47:57
catalan    - 1 fixed by arnaullv (1)
german     - 33 changed by planetmaker (33)
greek      - 14 fixed by hellis (14)
korean     - 1 fixed by darkttd (1)
luxembourgish - 818 fixed by Gubius (818)
persian    - 72 fixed by ali sattari (72)
romanian   - 1 fixed by kkmic (1)
russian    - 1 fixed by Smoky555 (1)
welsh      - 1 fixed by PlayDead (1)
16 years ago
yexo 76c0f51cf5 (svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file. 16 years ago
yexo a53062dd80 (svn r15629) -Fix (r15027): Validate strings that are passed from squirrel to the API, not strings passed from the API to squirrel. 16 years ago
smatz 154b4da4cc (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 16 years ago
belugas ef4476d92d (svn r15627) -Documentation: Add two Doxygen strings (Alberth). 16 years ago
rubidium 34bd9ee636 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 16 years ago
smatz 9c6d6c0d0e (svn r15625) -Codechange: remove unneeded assert 16 years ago
smatz 488b7e6bf6 (svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types 16 years ago
rubidium bb48bfe1df (svn r15623) -Fix (r15615): close the files you've opened 16 years ago
peter1138 85569a4559 (svn r15622) -Codechange: Duplication. 16 years ago
peter1138 c50730d57b (svn r15621) -Feature: When cloning a vehicle with a custom name, add and/or increment a number at the end of name and assign it to the new vehicle (for emma) 16 years ago
belugas 866e0d0924 (svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith). 16 years ago
michi_cc 09f95fa801 (svn r15619) -Fix [FS#2701]: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely. 16 years ago
rubidium b9aa5e17f2 (svn r15617) -Change [FS#2694]: vehicle variables 40-43 weren't cached (though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often. 16 years ago
yexo 0860685417 (svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags(). 16 years ago
rubidium 8a6f72d26a (svn r15615) -Feature: show scenarios/heightmaps from both your home directory and installation directory.
-Change [FS#2692]: make it more likely that scenarios are saved to the directory where openttd.cfg is and not the installation directory (gives problems with e.g. Vista). The working directory still overrides the openttd.cfg directory though, but only if it has a scenario directory.
16 years ago
yexo 89fc2b2b08 (svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type). 16 years ago
translators 25d0b8893a (svn r15613) -Update: WebTranslator2 update to 2009-03-04 18:38:03
finnish    - 1 fixed by UltimateSephiroth (1)
french     - 1 fixed by glx (1)
german     - 17 changed by planetmaker (17)
icelandic  - 73 fixed by pall (73)
italian    - 1 fixed by lorenzodv (1)
ukrainian  - 1 fixed by mad (1)
16 years ago
rubidium 013e354c47 (svn r15612) -Codechange: unduplicate directory creation 16 years ago
rubidium f16f7e2c92 (svn r15611) -Change: when sorting files on modification date and the modification date is equal sort on the title so reversing the sorting direction actually reverses the order the listed files 16 years ago
rubidium a6ca7b8237 (svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files 16 years ago
peter1138 ceea4927df (svn r15609) -Fix: Code style... 16 years ago
rubidium 1bd82bf71d (svn r15608) -Codechange: use the file scanner to find the files for the saveload window. 16 years ago
rubidium d82e5d205f (svn r15607) -Codechange: support searching files without filtering on extension. 16 years ago
rubidium fb978c04b1 (svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory). 16 years ago
rubidium 9e3449ecc9 (svn r15605) -Codechange: constify a function 16 years ago
rubidium 56b6d78bf7 (svn r15604) -Fix [FS#2661]: towns would only build houses where the grid would not be, even when they aren't allowed to build roads and the user 'implements' another layout. 16 years ago
rubidium 2972ad372b (svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large sprite as cursor. 16 years ago
translators 08cf37ccc2 (svn r15602) -Update: WebTranslator2 update to 2009-03-03 18:40:15
brazilian_portuguese - 1 fixed by tucalipe (1)
dutch      - 1 fixed by habell (1)
german     - 1 fixed, 12 changed by planetmaker (13)
hungarian  - 1 fixed by alyr (1)
indonesian - 1 fixed by fanioz (1)
persian    - 102 fixed by ali sattari (102)
spanish    - 1 fixed by eusebio (1)
16 years ago
rubidium 9f2a906bc1 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
yexo 90841d55ab (svn r15600) -Fix (r0): Replace a newline in a news message by four spaces before drawing it in the statusbar. 16 years ago
translators c63629116c (svn r15599) -Update: WebTranslator2 update to 2009-03-02 18:39:38
brazilian_portuguese - 4 fixed by tucalipe (4)
german     - 35 changed by planetmaker (35)
lithuanian - 49 fixed, 33 changed by Devastator (82)
16 years ago
rubidium 83888098db (svn r15598) -Fix [FS#2695]: crash when opening viewport while scrolling the map and the mouse 'lands' on the window decoration of the viewport. 16 years ago
rubidium 251f6f676f (svn r15596) -Change: road vehicles can stop at stops when they own the stop, not when they own the road/tram track. 16 years ago
translators a715775bcf (svn r15595) -Update: WebTranslator2 update to 2009-03-01 18:35:59
german     - 39 changed by planetmaker (39)
icelandic  - 80 fixed by scrooge (80)
italian    - 2 changed by lorenzodv (2)
lithuanian - 116 fixed by Devastator (116)
persian    - 219 fixed by ali sattari (219)
serbian    - 4 fixed by marko85nis (4)
16 years ago
translators 4a77721795 (svn r15594) -Update: WebTranslator2 update to 2009-02-28 18:51:15
arabic_egypt - 7 fixed by khaloofah (7)
french     - 1 fixed by glx (1)
frisian    - 51 fixed by luc (51)
german     - 25 changed by planetmaker (25)
italian    - 2 changed by lorenzodv (2)
korean     - 1 changed by leejaeuk5 (1)
persian    - 147 fixed, 2 changed by ali sattari (149)
swedish    - 4 fixed by Wiggelicous (4)
traditional_chinese - 87 changed by josesun (87)
ukrainian  - 4 fixed by mad (4)
urdu       - 22 fixed by yasirniazkhan (22)
16 years ago
yexo 9352acf271 (svn r15593) -Change: the background of the the waypoint sign is now in the company color. 16 years ago
frosch da78726e0c (svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part. 16 years ago
translators d97b0ce864 (svn r15591) -Update: WebTranslator2 update to 2009-02-27 18:16:01
afrikaans  - 6 changed by Ludslad (6)
catalan    - 1 fixed by arnaullv (1)
danish     - 4 fixed by ThomasA (4)
dutch      - 4 fixed by habell (4)
finnish    - 1 fixed by jpx_ (1)
frisian    - 41 fixed, 8 changed by luc (49)
german     - 1 fixed by planetmaker (1)
hungarian  - 1 fixed by alyr (1)
indonesian - 4 fixed by fanioz (4)
italian    - 1 fixed, 2 changed by lorenzodv (3)
korean     - 4 fixed, 35 changed by leejaeuk5 (8), darkttd (31)
portuguese - 1 fixed by izhirahider (1)
romanian   - 1 fixed, 1 changed by kkmic (2)
russian    - 1 fixed by Smoky555 (1)
spanish    - 4 fixed by eusebio (3), erregerre (1)
turkish    - 4 fixed by Emin (4)
welsh      - 1 fixed, 5 changed by PlayDead (6)
16 years ago
yexo c1b27cf648 (svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer. 16 years ago
smatz faf959de65 (svn r15589) -Fix: drawing of waypoints with invalid owner was broken
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
16 years ago
smatz e7c2479216 (svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts 16 years ago
yexo 1362d2c16b (svn r15587) -Fix (r15345): I should really test even those simple api functions better. 16 years ago
yexo ddca27b1ab (svn r15586) -Fix [FS#2687]: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes. 16 years ago
yexo 894d61ca47 (svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()). 16 years ago
yexo b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
frosch 8ebe68b01b (svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map. 16 years ago
frosch 751a9bdf0a (svn r15582) -Cleanup: Remove unused function AdjustTileCoordRandomly(). Btw. it would also cause desyncs and wrap around the map. 16 years ago
translators f6d8e60799 (svn r15581) -Update: WebTranslator2 update to 2009-02-25 18:44:53
afrikaans  - 7 changed by Ludslad (7)
catalan    - 3 fixed by arnaullv (3)
czech      - 3 fixed by Hadez (3)
danish     - 12 fixed, 13 changed by ThomasA (25)
dutch      - 3 fixed by habell (3)
english_US - 3 fixed by WhiteRabbit (3)
estonian   - 54 fixed by t2t2 (54)
finnish    - 3 fixed by jpx_ (3)
french     - 3 fixed, 8 changed by belugas (8), glx (3)
german     - 3 fixed by planetmaker (3)
hungarian  - 3 fixed by alyr (3)
italian    - 3 fixed by lorenzodv (3)
norwegian_bokmal - 7 fixed by christian (7)
romanian   - 3 fixed, 5 changed by kkmic (8)
russian    - 3 fixed by Smoky555 (3)
slovak     - 3 fixed by James (3)
traditional_chinese - 37 fixed by irvin (37)
welsh      - 3 fixed by welshdragon (3)
16 years ago
rubidium 0d12c46b5e (svn r15580) -Fix [FS#2684]: last activity time not properly updated causing downloads to be aborted after a minute. 16 years ago
rubidium a9dd6dc2f5 (svn r15578) -Change: unexternalise squirrel. 16 years ago
rubidium b2def94607 (svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp 16 years ago
yexo 7e818f0456 (svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum. 16 years ago
yexo bd2544b5ea (svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte. 16 years ago
rubidium a23818b146 (svn r15574) -Fix [FS#2680]: force unload not working when trying to force unload at the station where you received the cargo 16 years ago
yexo 5707f2c028 (svn r15573) -Fix (r15538): Terrain type and sea level couldn't be changed in the scenario editor. 16 years ago
smatz 2f63571203 (svn r15572) -Fix (r13730): theoretical buffer overflow when company with too long name funded a road reconstruction 16 years ago
smatz 3707a11e5e (svn r15571) -Fix: incorrect use of memset 16 years ago
yexo d96b151859 (svn r15570) -Fix: Too long strings in the advanced settings window are now truncated. 16 years ago
smatz 1f42f44092 (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 16 years ago
smatz 34bfb35105 (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 16 years ago
yexo 471c770a08 (svn r15567) -Fix [FS#2674]: When building signals by dragging from a pre/entry/combo block signal, the signal you started at became a normal block signal. 16 years ago
rubidium 926b721cc2 (svn r15566) -Change: reintroduce space as valid method of selecting 'content' as long as the filter box is not focused. Enter will also work when the filter box is focused. 16 years ago
rubidium 39b6a2a507 (svn r15565) -Fix [FS#2675]: dependency information wasn't requested after the content state was reset causing the dependencies not always being selected (and thus downloaded) automatically. 16 years ago
yexo 8a1d11ed85 (svn r15564) -Fix: Refresh all industry windows if the modify production cheat is enabled/disabled. 16 years ago
yexo 11ce4538b4 (svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID(). 16 years ago
yexo c144d8fa90 (svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier. 16 years ago
rubidium 27ae9fbd7e (svn r15561) -Fix [FS#2646]: segfault when saving a preset with unknown NewGRFs 16 years ago
rubidium 8976465c69 (svn r15560) -Fix: typos in Spanish town names (Erregerre) 16 years ago
frosch b95fa2b7a3 (svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed) 16 years ago
yexo 301dcb6dc4 (svn r15558) -Cleanup: Remove some unnecessary friend declarations. 16 years ago
rubidium 6137a9e953 (svn r15557) -Fix: the font width cache was not updated when changing fonts causing the font spacing to be off when changing fonts in-game (auto font detection). 16 years ago
rubidium 9ab8a2aab1 (svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding. 16 years ago
rubidium 44821e60eb (svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites. 16 years ago
rubidium 2a2ee1fdb9 (svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high score of the spectator. 16 years ago
translators 5c27b42a77 (svn r15553) -Update: WebTranslator2 update to 2009-02-22 18:58:31
french     - 2 changed by belugas (2)
japanese   - 67 fixed by ickoonite (67)
polish     - 3 fixed by xaxa (3)
spanish    - 38 changed by erregerre (38)
16 years ago
rubidium 5c127d51b8 (svn r15552) -Fix (r15544): some compiler/OS combinations don't like closing the same FD twice and zlib's docs weren't very clear about whether it would close a FD it didn't open. 16 years ago
rubidium c2658c1105 (svn r15551) -Fix [FS#2656]: [NoAI] crash when setting a depot order to the southern part of a ship depot 16 years ago
rubidium 49ab7c3b50 (svn r15550) -Fix [FS#2654]: bogus secondary error message when dynamiting industries/unmoveables; "X is in the way" isn't helpful at all in that case. 16 years ago
translators c50e837db8 (svn r15549) -Update: WebTranslator2 update to 2009-02-21 18:48:25
brazilian_portuguese - 5 changed by tucalipe (5)
german     - 7 changed by planetmaker (7)
indonesian - 4 changed by fanioz (4)
korean     - 2 changed by darkttd (2)
norwegian_nynorsk - 1 fixed, 7 changed by Thor (8)
polish     - 15 fixed by xaxa (11), coolik (4)
romanian   - 2 changed by kkmic (2)
simplified_chinese - 3 fixed by ww9980 (3)
spanish    - 2 changed by eusebio (2)
16 years ago
rubidium 656933e95f (svn r15548) -Fix: incorrect error message when removing non-existing diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail). 16 years ago
frosch 7e925a5781 (svn r15547) -Codechange: Eliminate all == and != comparisons between v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs. 16 years ago
rubidium 68282c4172 (svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators. 16 years ago
rubidium dec552f229 (svn r15545) -Fix [FS#2653]: if a buoy was placed directly in front of a dock, that dock was seen as a buoy and thus skipped once within 3 tiles. 16 years ago
rubidium fcdeb5c522 (svn r15544) -Fix [FS#2650]: extracting downloaded content didn't work for Windows if one uses a non-ASCII. 16 years ago
rubidium 38d66e69af (svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D). 16 years ago
frosch a9cccbd53a (svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase list. 16 years ago
frosch abe4692da2 (svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
  Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
  Note: It is intentional that you cannot control refittability by CB 36.
16 years ago
frosch 9eb880ab43 (svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue'. 16 years ago
frosch 0e4a490a92 (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 598d20eedc (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 057ceec51c (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 85ea21a5d0 (svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs 16 years ago
frosch 8eb906dda9 (svn r15534) -Codechange: Rename some variables. 16 years ago
rubidium 1f028894b5 (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 310446d448 (svn r15531) -Fix (r15467): AIs were stopped at every error, whether they caught it or not. 16 years ago
yexo d9caae1635 (svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel. 16 years ago
rubidium e3ac127617 (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 5223212624 (svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ). 16 years ago
yexo 14f6bd6ce1 (svn r15527) -Fix (r15526): A ')' too much. 16 years ago
yexo 05856bf05f (svn r15526) -Add [NoAI]: Support for conditional orders. 16 years ago
yexo 8d4fed85e9 (svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server. 16 years ago
yexo 157bf66b01 (svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and AIEngine::GetMaxTractiveEffort. 16 years ago
translators 581c0a9a5d (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 02c52430c8 (svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle. 16 years ago
yexo 9a507acf37 (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 69df9f2787 (svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList. 16 years ago
rubidium 29173de379 (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 8aab3b09f5 (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 72c632742a (svn r15516) -Fix (r10097): Livery overrides for articulated parts of roadvehicles were not applied. 16 years ago
translators 993f704eb1 (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 2b8dd76cfa (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 3bafe9b0e2 (svn r15513) -Cleanup: Unavailable varaction variable value does not matter, but at least it can be consistent. 16 years ago
peter1138 f1620f6984 (svn r15512) -Cleanup: Codestyle fixes. 16 years ago
yexo 43d80ce6f6 (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 a15b98c5cc (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 af90d021f4 (svn r15509) -Codechange: move definition of some Window methods to class definition 16 years ago
smatz d6d2da171f (svn r15508) -Fix: three header files had incorrect 'anti-multiple-inclusion' header 16 years ago
smatz 4882214646 (svn r15507) -Update (r15506): rename strings in other languages too 16 years ago
smatz cb13180774 (svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow 16 years ago
smatz b8438555df (svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN 16 years ago
smatz b83b58dd54 (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 91d6c1bb31 (svn r15499) -Fix (r15340): the default town layout was changed 16 years ago
translators 6296973c43 (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 ff706b1e63 (svn r15497) -Fix (r15027): when trains crashed, AIEvent was created only for one train 16 years ago
smatz 26cdcb2dd5 (svn r15496) -Codechange: one division less in the train acceleration code 16 years ago
yexo 6381cbeeae (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 a6350c0287 (svn r15494) -Change [API CHANGE]: Split AIRoad::BuildRoadStation in BuildRoadStation and BuildDriveThroughRoadStation. 16 years ago
yexo fa0cf4bbd1 (svn r15492) -Change [API CHANGE]: Split AIVehicle::MoveWagon in MoveWagon and MoveWagonChain (frosch). 16 years ago
yexo c59caa45b7 (svn r15491) -Change [API CHANGE]: AIMarine::BuildWaterDepot now accepts a front tile instead of a bool is_vertical (frosch). 16 years ago
yexo d8de2d1413 (svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges. 16 years ago
yexo e7eb6d05a0 (svn r15489) -Change [API CHANGE]: Remove AIAirport::AirportAvailable. AIAirport::IsValidAirportType now only returns true for available AirportTypes. 16 years ago
yexo 8583274f18 (svn r15488) -Change [API CHANGE]: Add support for distant-join stations. 16 years ago
yexo a79524c805 (svn r15487) -Change [API CHANGE]: Remove the never implemented function AIEventVehicleCrashed::CloneCrashedVehicle. 16 years ago
yexo 320018aac1 (svn r15486) -Change [API CHANGE]: Remove AITown::GetMaxTownID. 16 years ago
yexo f20378dcf7 (svn r15485) -Change [API CHANGE]: Split AIIndustry::HasHeliportAndDock and GetHeliportAndDockLocation in HasHeliport/HasDock and GetHeliportLocation/GetDockLocation. 16 years ago
yexo efc8a034b1 (svn r15484) -Change [API CHANGE]: Remove AICompany::GetCompanyName and SetCompanyName. They've been replaced with GetName and SetName. 16 years ago
yexo 8bb601f8ae (svn r15483) -Change [API CHANGE]: Remove AIIndustry::GetProduction, use AIIndustry::GetLastMonthProduction instead. 16 years ago
yexo d0895a65ce (svn r15482) -Fix [NoAI]: Typos in api docs. 16 years ago
yexo 8e75f5244c (svn r15481) -Fix [NoAI]: Make sure AIs can't call functions they shouldn't call. 16 years ago
michi_cc 0dcf301d6d (svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window. 16 years ago
frosch de9c91ecee (svn r15479) -Fix: Documentation of AIIndustryType::CanBuildIndustry(). 16 years ago
translators d1ae738dc3 (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 63f0ff25fc (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 6dae4da156 (svn r15475) -Update: do r15474 also for the other languages. 16 years ago
rubidium 645fe6c27c (svn r15474) -Cleanup: remove some (long) unused strings. 16 years ago
rubidium 6ff86bf692 (svn r15473) -Fix: add two missing tooltips in the intro gui 16 years ago
rubidium ef2aeabbec (svn r15472) -Fix: consistency of capitalisation of words in the intro gui and of NewGRF. 16 years ago
translators d69f8468ae (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 6f163ad8c9 (svn r15470) -Fix [NoAI]: Check the types of the parameters passed to AddSetting, AddLabels and RegisterAI. 16 years ago
rubidium 8bd5067e58 (svn r15469) -Fix (r15468): why doesn't subversion trigger the save of my text editor before doing the commit? 16 years ago
rubidium 7748882bbf (svn r15468) -Fix: reword the multiplayer tooltip so it doesn't mention the (incorrect) number of players anymore. 16 years ago
yexo 3e53890348 (svn r15467) -Fix [NoAI]: AIs with an error in their info.nut are no longer available in-game. 16 years ago
yexo 8370da7a33 (svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile. 16 years ago
smatz 232d21df13 (svn r15465) -Codechange: constify most of AIInfo/AIFileInfo methods, move definition of very simple getters to header file 16 years ago
yexo 312e57df5f (svn r15464) -Codechange [NoAI]: Call all info.nut functions exactly once and only during initialization. 16 years ago
yexo 8eecd774ff (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 526edf35a5 (svn r15462) -Change [NoAI]: Make AIController::GetTick() and AIController::GetSetting() static functions.
-Fix (r15460): ai_controller.hpp.sq was forgotten.
16 years ago
rubidium 7e1f40ccdc (svn r15461) -Fix (r15459): massive removal of strings from serbian. 16 years ago
rubidium 0111a10d7a (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 87bc20e7dd (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 904bb64254 (svn r15458) -Fix: Missing 'static'. 16 years ago
rubidium 31f3d5b6d5 (svn r15457) -Fix: typo in stringid. 16 years ago
rubidium a6ea606bb3 (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 218f53d3fd (svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g. 16 years ago
rubidium 6a4ab97d36 (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 2fc6c2d0b0 (svn r15453) -Fix [FS#2450](r14613): Founding industries as OWNER_TOWN resulted in unwanted effects. 16 years ago
frosch d5525b8f2d (svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING. 16 years ago
translators 202e5ea78d (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 f2e1a315c1 (svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... enum values, and change INVALID_RAILTYPES to be UINT_MAX. 16 years ago
frosch f9feb4a0e6 (svn r15449) -Codechange: Rename DC_NO_TOWN_RATING to DC_NO_TEST_TOWN_RATING as that is what it does. 16 years ago
peter1138 519277f980 (svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label. 16 years ago
peter1138 eeaa4c8d9a (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway 16 years ago
belugas 06bdc9d575 (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 002c9b7c67 (svn r15445) -Fix: little typos 16 years ago
rubidium 7043f48078 (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 426857bc72 (svn r15442) -Codechange: don't do magic on magic numbers when you can also use a single named constant. 16 years ago
yexo ec9d949434 (svn r15441) -Cleanup: Use a return value instead of passing a pointer to where the result should be stored. 16 years ago
yexo 8ef2024b96 (svn r15440) -Fix: Backup AIObject::GetAllowDoCommand and restore the old value so AIs can't work around it. 16 years ago
smatz 2c317b7321 (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 a16a970e84 (svn r15438) -Fix (r15434): MSVC performance warning 16 years ago
belugas 4574858f0a (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 4b1728079c (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 5c8cf85613 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 16 years ago
peter1138 545804b67a (svn r15433) -Fix (r15126): Content download progress bar was not centered properly. 16 years ago
translators 2b10cf55b6 (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 b1a1c022fb (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 5fa99b177e (svn r15429) -Change: do r15428 also for the string names. 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium c7f3daacbf (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 a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 16 years ago
rubidium 5080feba0d (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 16 years ago
rubidium 66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
rubidium a7264bd5aa (svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings. 16 years ago
peter1138 1877d33629 (svn r15418) -Codechange: Add action7/9 support to detect available rail type labels 16 years ago
peter1138 793eabf61e (svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table. 16 years ago
rubidium fc342a0d68 (svn r15416) -Fix (r15412): revert the removal of the road side drop down box handling. 16 years ago
rubidium d88f2a0120 (svn r15415) -Change: close the (station) joiner window when pressing the bulldozer. 16 years ago
rubidium cba3be0b4f (svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/ 16 years ago
rubidium 412f93b877 (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 5429c5a095 (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 7603f77f3c (svn r15411) -Feature(ttette): make 'set' a alias for the setting/patch console command 16 years ago
rubidium 283b3d16ab (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 9eee0a6a81 (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 1fbb8d3ac3 (svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times they're not allowed to sleep. 16 years ago
peter1138 bf42e60bba (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 2a66e934b8 (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 26c4a02c8b (svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness. 16 years ago
translators 982f310e5a (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 a92653c800 (svn r15402) -Codechange: verify _current_company didn't change when executing a command 16 years ago
smatz 487b0ed95e (svn r15401) -Fix [FS#2619](r15027): AI::Stop changed _current_company, but didn't restore its original value 16 years ago
frosch f1240daed6 (svn r15400) -Fix: Typos in comments. 16 years ago
frosch 85b49d72ce (svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == CT_INVALID is possible. 16 years ago
smatz 5b377ed53b (svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code (Swallow) 16 years ago
rubidium 4431e82beb (svn r15397) -Fix [FS#2618]: a town could build a statue under a bridge. 16 years ago
smatz d5e2154e90 (svn r15396) -Fix [FS#2601](r15027): since AIs can have vehicle groups now, convert the groups correctly 16 years ago
rubidium 6ad9fcc6ec (svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server. 16 years ago