Commit Graph

13782 Commits

Author SHA1 Message Date
alberth
18bcbd08ef (svn r17750) -Codechange: Financial expenses panel handles different font size, replaced magic numbers by constants. 2009-10-09 19:10:05 +00:00
translators
a9d916717b (svn r17749) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
romanian - 2 changes by kkmic
spanish - 1 changes by Terkhen
2009-10-09 17:45:13 +00:00
rubidium
24dbdac0ac (svn r17748) -Fix: crash when right clicking on the 'toggle' toolbar button 2009-10-09 17:35:01 +00:00
smatz
c2c23ec661 (svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless 2009-10-09 11:03:00 +00:00
translators
33f2700c36 (svn r17745) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by Gavin
dutch - 1 changes by habell
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
serbian - 48 changes by AtzaMan
vietnamese - 14 changes by nglekhoi
2009-10-08 17:45:30 +00:00
rubidium
7312bdb362 (svn r17743) -Fix: (post 0.7) memory leak in server in case handling a packet caused the connection to be closed. Also force-close the connection on invalid packets. 2009-10-07 21:11:56 +00:00
rubidium
65f97fb38c (svn r17742) -Codechange: remove unused variable from Recv_Packet 2009-10-07 20:58:14 +00:00
rubidium
65d4612d2a (svn r17741) -Feature-ish [FS#3116]: show the nickname of the person you're PMing 2009-10-07 19:35:05 +00:00
alberth
2145e02fde (svn r17740) -Codechange: Extract financial expenses drawing routines. 2009-10-07 19:18:36 +00:00
rubidium
79a0aca3bc (svn r17739) -Cleanup: compiler didn't warn about an unused variable, fonsinchen did 2009-10-07 17:46:58 +00:00
translators
0f7152f7c9 (svn r17738) -Update from WebTranslator v3.0:
russian - 1 changes by Lone_Wolf
2009-10-07 17:45:07 +00:00
rubidium
3a9a88782b (svn r17737) -Codechange: remove the chat window when you were chatting with someone who lost his/her connection or when you were team chatting and moved out of the company. 2009-10-07 17:36:33 +00:00
rubidium
b7b1224ef3 (svn r17736) -Codechange [FS#3135]: rewrite CargoList::MoveTo; don't require the secondary list, use cache updates instead of rebuilds. This is usually faster because of primarily gradual loading that only moves a (small) part of the cargo each time. Based on patch by fonsinchen. 2009-10-07 08:31:42 +00:00
rubidium
de43874182 (svn r17735) -Codechange: update the cache one inserting/removing CargoPackets from the CargoList via Append/Truncate instead of rebuilding the whole cache. For Append this changes the O(n) cache rebuild into a O(1) cache update. For Truncate no temporary list is needed anymore (based on patch by fonsinchen) 2009-10-07 08:25:12 +00:00
rubidium
96d098e120 (svn r17734) -Fix (r17732): broke the assumption that 'this->packets == this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption. 2009-10-06 23:01:35 +00:00
rubidium
702deb8366 (svn r17733) -Codechange: store the 'days in transit' cache as the sum of the days in transit instead of the average; the variable isn't requested that often (primarily station NewGRFs) that the dividing/testing for dividing by 0 step needs to be cached. 2009-10-06 21:24:03 +00:00
rubidium
0a621eae7e (svn r17732) -Codechange: reorder some variables of cargo packets/cargo lists to get better alignment *and* smaller structs; both from 40 bytes to 32 bytes on 64 bits. 2009-10-06 21:19:20 +00:00
rubidium
27d62a7ec6 (svn r17731) -Codechange: do not cache a boolean which states whether some other variable is not 0. 2009-10-06 21:12:35 +00:00
rubidium
49739b3c67 (svn r17730) -Codechange: do not cache the source of a packet in the cargo list. It's only used for (some) GUI/NewGRF purposes so precalculating it costs more than calculating when it's actually used. 2009-10-06 21:06:26 +00:00
frosch
d26efe0433 (svn r17729) -Cleanup: Deduplicate some code. 2009-10-06 19:56:43 +00:00
frosch
241415e76a (svn r17728) -Cleanup: Remove some more unneeded/unused parameters. 2009-10-06 19:52:38 +00:00
rubidium
10428de7a3 (svn r17727) -Codechange: some coding style and documentation fixes 2009-10-06 19:52:27 +00:00
frosch
b25f03a447 (svn r17726) -Cleanup: Remove some unneeded/unused parameters. 2009-10-06 19:30:31 +00:00
frosch
4cb5a3e8a2 (svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present. 2009-10-06 19:17:07 +00:00
alberth
b6efdf108e (svn r17724) -Codechange: Merge magic height values toghether in finances window. 2009-10-06 18:24:06 +00:00
translators
4545e2c126 (svn r17723) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
2009-10-06 17:45:07 +00:00
rubidium
72dd637e92 (svn r17722) -Codechange: simplify the cargopacket constructor; unduplicate if and don't set a value to 0 if it already is 0. 2009-10-06 17:33:01 +00:00
rubidium
9b94441eb8 (svn r17721) -Codechange: replace a magic number with a constant 2009-10-06 17:28:06 +00:00
rubidium
ec3a0dc064 (svn r17720) -Codechange: guard the CargoPacket variables that are cached in CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen) 2009-10-06 17:23:15 +00:00
frosch
fd38bbe706 (svn r17719) -Change: [NoAI] Make AIEngine:CanRefitCargo() not report refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API. 2009-10-05 20:21:12 +00:00
translators
aa07782f8c (svn r17718) -Update from WebTranslator v3.0:
afrikaans - 35 changes by Maccie123
frisian - 50 changes by Minifan
2009-10-05 17:45:10 +00:00
michi_cc
a3b1717282 (svn r17717) -Codechange: [OSX] Replace deprecated variable type. 2009-10-04 21:39:12 +00:00
michi_cc
f4f5387537 (svn r17716) -Codechange: [OSX] Invoke a (semi-)private Objective-C method in a way that does not rely on the SDK version. 2009-10-04 21:39:08 +00:00
michi_cc
375fd4b2cf (svn r17715) -Cleanup: [OSX] And a final round of coding style and some cleaning. 2009-10-04 21:36:26 +00:00
michi_cc
997f1c191a (svn r17714) -Cleanup: [OSX] Apply more coding style. 2009-10-04 21:36:22 +00:00
michi_cc
c477544b92 (svn r17713) -Cleanup: [OSX] Move variable definitions to first use and apply more coding style. 2009-10-04 21:36:17 +00:00
michi_cc
9e3be2ff33 (svn r17712) -Codechange [FS#1411]: [OSX] Replace undocumented process manager API calls with a documented alternative. (pyth) 2009-10-04 21:33:36 +00:00
michi_cc
3bf4f13f3b (svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a Cocoa string. 2009-10-04 21:33:31 +00:00
michi_cc
5517e5371c (svn r17710) -Feature [FS#3223]: [OSX] Add a MIDI driver using Cocoa/CoreAudio. 2009-10-04 21:24:09 +00:00
michi_cc
c16dbfcae4 (svn r17709) -Fix (r17706): Missing svn-props. Sigh. 2009-10-04 21:12:57 +00:00
michi_cc
d6da4f24ad (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 2009-10-04 21:08:38 +00:00
michi_cc
434bd81ef0 (svn r17707) -Fix: [OSX] Show the OS mouse cursor when displaying a dialog box if it was hidden. 2009-10-04 21:08:34 +00:00
michi_cc
83e1f7358f (svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure. 2009-10-04 21:08:30 +00:00
michi_cc
9e85c8da66 (svn r17705) -Fix: [OSX] Re-enable signal handling on OSX 10.3.9. Trying to link with an undefined symbols that lives in the system library seems to confuse the loader on 10.3.9. Use a different function to circumvent it. 2009-10-04 21:08:25 +00:00
michi_cc
1c7e5658cd (svn r17704) -Codechange: [OSX] Improve detection of OS X version. (planetmaker) 2009-10-04 20:53:30 +00:00
michi_cc
6db8927ecc (svn r17703) -Change: [OSX] Rework the configure OSX SDK detection to actually try different SDK versions and use the best SDK for each universal target.
-Change: [OSX] Improve the configure checks for QuickDraw and QuickTime.
2009-10-04 20:53:26 +00:00
michi_cc
e583861798 (svn r17702) -Change: [OSX] Assure that the minimal OSX version is defined in all cases.
-Codechange: [OSX] Improve conditional defines for OS version dependant code.
2009-10-04 20:53:22 +00:00
smatz
fa937901cb (svn r17701) -Codechange: don't start line with a space if it's not inside comment 2009-10-04 20:51:50 +00:00
frosch
2adc2f4324 (svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation. 2009-10-04 20:33:18 +00:00
rubidium
67a11a5776 (svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files 2009-10-04 20:00:56 +00:00