Commit Graph

13218 Commits (446363aac4c791cf39254c3da7f1bc34e2aebf57)
 

Author SHA1 Message Date
rubidium 446363aac4 (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. 15 years ago
rubidium 9b045ac7b2 (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. 15 years ago
rubidium 80f0df17ba (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. 15 years ago
rubidium d52fa73bb1 (svn r17731) -Codechange: do not cache a boolean which states whether some other variable is not 0. 15 years ago
rubidium 31acc42b21 (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. 15 years ago
frosch 1cab0dbc1d (svn r17729) -Cleanup: Deduplicate some code. 15 years ago
frosch 9a9d0ee7c0 (svn r17728) -Cleanup: Remove some more unneeded/unused parameters. 15 years ago
rubidium 1e2dc25582 (svn r17727) -Codechange: some coding style and documentation fixes 15 years ago
frosch 7a8a97e68a (svn r17726) -Cleanup: Remove some unneeded/unused parameters. 15 years ago
frosch f3aacb8fe3 (svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present. 15 years ago
alberth 95dfee1c60 (svn r17724) -Codechange: Merge magic height values toghether in finances window. 15 years ago
translators 68a20b2130 (svn r17723) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
15 years ago
rubidium 832b21191d (svn r17722) -Codechange: simplify the cargopacket constructor; unduplicate if and don't set a value to 0 if it already is 0. 15 years ago
rubidium e0e5eae1ee (svn r17721) -Codechange: replace a magic number with a constant 15 years ago
rubidium 5f59d0c5b4 (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) 15 years ago
frosch a4835e3f0b (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. 15 years ago
translators cccda0d864 (svn r17718) -Update from WebTranslator v3.0:
afrikaans - 35 changes by Maccie123
frisian - 50 changes by Minifan
15 years ago
michi_cc d900b0d628 (svn r17717) -Codechange: [OSX] Replace deprecated variable type. 15 years ago
michi_cc 6ad7440ae5 (svn r17716) -Codechange: [OSX] Invoke a (semi-)private Objective-C method in a way that does not rely on the SDK version. 15 years ago
michi_cc dbb13fd856 (svn r17715) -Cleanup: [OSX] And a final round of coding style and some cleaning. 15 years ago
michi_cc ba6866128d (svn r17714) -Cleanup: [OSX] Apply more coding style. 15 years ago
michi_cc 9b54d5bbd7 (svn r17713) -Cleanup: [OSX] Move variable definitions to first use and apply more coding style. 15 years ago
michi_cc ec90a8778f (svn r17712) -Codechange [FS#1411]: [OSX] Replace undocumented process manager API calls with a documented alternative. (pyth) 15 years ago
michi_cc 8484e08ee0 (svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a Cocoa string. 15 years ago
michi_cc dffd1be12d (svn r17710) -Feature [FS#3223]: [OSX] Add a MIDI driver using Cocoa/CoreAudio. 15 years ago
michi_cc 37284fad19 (svn r17709) -Fix (r17706): Missing svn-props. Sigh. 15 years ago
michi_cc 049d62b35c (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 15 years ago
michi_cc a831143f45 (svn r17707) -Fix: [OSX] Show the OS mouse cursor when displaying a dialog box if it was hidden. 15 years ago
michi_cc 5f67762a7f (svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure. 15 years ago
michi_cc 4f98178fcd (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. 15 years ago
michi_cc e2ef24919e (svn r17704) -Codechange: [OSX] Improve detection of OS X version. (planetmaker) 15 years ago
michi_cc 48106b817a (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.
15 years ago
michi_cc 10ca710e98 (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.
15 years ago
smatz 6c7f8fc8b4 (svn r17701) -Codechange: don't start line with a space if it's not inside comment 15 years ago
frosch b243f6ca97 (svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation. 15 years ago
rubidium 5ff6053326 (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 15 years ago
frosch 1ee5520854 (svn r17698) -Fix (r17140) [FS#3205]: Convert endian after loading sounds from file. 15 years ago
rubidium e7fb5f00e7 (svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code 15 years ago
rubidium 54806e7437 (svn r17696) -Fix (r17693): compile failure when compiling without freetype 15 years ago
translators b2f50e79b2 (svn r17695) -Update from WebTranslator v3.0:
frisian - 37 changes by Minifan
hebrew - 133 changes by dnd_man
hungarian - 2 changes by alyr
thai - 66 changes by ityellow
vietnamese - 12 changes by nglekhoi
15 years ago
smatz 854af7d70f (svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awk 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 32cbe57178 (svn r17692) -Codechange: minor coding style fixes 15 years ago
rubidium 1666f7a1a9 (svn r17691) -Codechange: make the status bar nested 15 years ago
smatz 5c2fb2f8c1 (svn r17690) -Fix: minor coding style issue 15 years ago
glx 1e665c7639 (svn r17689) -Fix (r16307): depend could segfault in some case (TrueBrain) 15 years ago
smatz c344ae2e1d (svn r17688) -Fix (r17684): incorrect comments 15 years ago
translators de798c5ae9 (svn r17687) -Update from WebTranslator v3.0:
traditional_chinese - 8 changes by josesun
polish - 14 changes by amateja
spanish - 1 changes by Terkhen
vietnamese - 40 changes by nglekhoi
15 years ago
rubidium f76ef2f6ce (svn r17686) -Fix [FS#3247]: make the -c <config file> location relative to the current directory instead of the directory of the binary 15 years ago
rubidium afed4330da (svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers. 15 years ago