Commit Graph

14264 Commits

Author SHA1 Message Date
frosch
84ece021fd (svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13) 2010-01-16 14:17:03 +00:00
frosch
e6faf06b68 (svn r18824) -Codechange: Turn some public members into protected ones. (skidd13) 2010-01-16 14:12:18 +00:00
frosch
085e9251c5 (svn r18823) -Codechange: Some uints for unsigned ints. (skidd13) 2010-01-16 14:02:22 +00:00
frosch
c7dafb9a26 (svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13) 2010-01-16 13:52:24 +00:00
rubidium
21fff6407d (svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable 2010-01-15 23:47:28 +00:00
rubidium
f74ce1890e (svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly 2010-01-15 23:45:26 +00:00
rubidium
1a1797ec4d (svn r18819) -Change [FS#3493]: be consistent with airport naming 2010-01-15 22:29:47 +00:00
rubidium
879668811c (svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed 2010-01-15 22:21:50 +00:00
yexo
31d1e9c051 (svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert 2010-01-15 21:00:46 +00:00
yexo
72572a0586 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too 2010-01-15 20:20:24 +00:00
translators
785b7e3382 (svn r18814) -Update from WebTranslator v3.0:
croatian - 36 changes by 
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2010-01-15 18:45:15 +00:00
yexo
bd102b78ee (svn r18813) -Codechange: deduplicate copying a newgrf config 2010-01-15 18:28:30 +00:00
rubidium
aaf0b4b46c (svn r18812) -Codechange: make some functions in train.h functions of Train. 2010-01-15 18:23:52 +00:00
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