Commit Graph

14251 Commits

Author SHA1 Message Date
rubidium 55d1db5b28 (svn r18811) -Fix (r18803): also swap the parameters for the AI API 2010-01-15 18:22:57 +00:00
glx aff659b0b7 (svn r18810) -Fix (r18809): broken win32 compilation with SDL 2010-01-15 17:59:09 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
yexo f380a7239d (svn r18808) -Cleanup: deplicate by using an existing function 2010-01-15 16:37:19 +00:00
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 2010-01-15 12:08:08 +00:00
peter1138 c37d69d161 (svn r18806) -Codechange: Typo in comment 2010-01-15 11:56:31 +00:00
rubidium ca167791b6 (svn r18805) -Codechange: move airport_movement.h to table/ 2010-01-15 10:55:43 +00:00
rubidium 4ecb3eb33c (svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD. 2010-01-14 23:06:41 +00:00
rubidium c390e8f00e (svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen. 2010-01-14 23:05:07 +00:00
frosch ed83388faa (svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints. 2010-01-14 22:56:54 +00:00
rubidium f89d6bea0e (svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different. 2010-01-14 21:48:42 +00:00
rubidium 83c8c562bb (svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though. 2010-01-14 21:47:31 +00:00
translators f42b435d28 (svn r18799) -Update from WebTranslator v3.0:
croatian - 36 changes by 
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
2010-01-14 18:45:13 +00:00
belugas 1335914ec8 (svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen 2010-01-14 15:52:26 +00:00
rubidium 66b900215a (svn r18797) -Fix (r18781): building wagons didn't add them to a train 2010-01-13 21:49:15 +00:00
rubidium 7aeccb9bd0 (svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it 2010-01-13 21:34:48 +00:00
translators f43646cd7d (svn r18795) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
2010-01-13 18:45:15 +00:00
rubidium f9d2ccf8db (svn r18794) -Codechange: add local company and network 'state' to the crash log 2010-01-13 15:03:34 +00:00
translators 2868da2f57 (svn r18793) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
2010-01-12 18:45:15 +00:00
rubidium 9c579a5adf (svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server 2010-01-12 18:09:48 +00:00
rubidium 70aad27dcb (svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back 2010-01-12 16:38:48 +00:00
peter1138 c3fffe7496 (svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed. 2010-01-12 09:54:18 +00:00
rubidium cb820e3da3 (svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages 2010-01-12 00:10:38 +00:00
rubidium 351eb4665c (svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro. 2010-01-11 22:46:00 +00:00
rubidium a535acb549 (svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window 2010-01-11 20:58:52 +00:00
rubidium a6ebc1a77e (svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead. 2010-01-11 20:42:07 +00:00
rubidium 2365819312 (svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos. 2010-01-11 20:39:38 +00:00
rubidium ebe99fd493 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 2010-01-11 20:32:32 +00:00
rubidium 3e5a87a52c (svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable. 2010-01-11 20:21:56 +00:00
rubidium 6a047d2316 (svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there. 2010-01-11 20:00:14 +00:00
rubidium 2b97f38cd1 (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
translators 48df0d4e06 (svn r18780) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
croatian - 36 changes by 
dutch - 60 changes by Hirundo
french - 1 changes by glx
2010-01-11 18:45:15 +00:00
rubidium 833c6f36f3 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 2010-01-11 18:34:02 +00:00
michi_cc de878fad31 (svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them. 2010-01-11 00:02:14 +00:00
rubidium f51aac3523 (svn r18777) -Codechange: remove some unused parameters from a function 2010-01-10 23:20:11 +00:00
frosch d5fa74369a (svn r18776) -Codechange: Use SmallVector to collect refit options. 2010-01-10 21:45:32 +00:00
rubidium 3ebec78900 (svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation. 2010-01-10 21:20:51 +00:00
frosch fee0cebc46 (svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15. 2010-01-10 20:33:10 +00:00
translators 632280e06e (svn r18773) -Update from WebTranslator v3.0:
afrikaans - 6 changes by burgerd
croatian - 36 changes by 
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
2010-01-10 18:45:27 +00:00
rubidium aca2daf841 (svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression 2010-01-10 15:35:13 +00:00
rubidium 188c8ebd5c (svn r18771) -Codechange: minor cleanups in saveload code 2010-01-10 14:57:05 +00:00
rubidium f5053cee7e (svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it. 2010-01-10 14:30:32 +00:00
rubidium 3ca0937c1c (svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed. 2010-01-10 13:12:34 +00:00
translators 5afce5831d (svn r18768) -Update from WebTranslator v3.0:
croatian - 36 changes by 
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
2010-01-09 18:45:25 +00:00
rubidium 2f8b49134c (svn r18767) -Fix: min/max income tooltips for the details performance statistics mentioned months whereas it should be quarters. 2010-01-09 18:44:46 +00:00
peter1138 1382964fa0 (svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property 2010-01-09 15:33:41 +00:00
rubidium b9052fff9f (svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array 2010-01-09 14:57:03 +00:00
rubidium e4af35d316 (svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way 2010-01-09 14:43:08 +00:00
rubidium f65f276d10 (svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen 2010-01-09 14:41:22 +00:00
yexo 7f6016031e (svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses 2010-01-08 22:42:00 +00:00