------------------------------------------------------------------------ r12904 | smatz | 2008-04-25 16:33:40 +0000 (Fri, 25 Apr 2008) | 1 line -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash ------------------------------------------------------------------------ r12898 | rubidium | 2008-04-25 15:25:28 +0000 (Fri, 25 Apr 2008) | 2 lines -Codechange: coding style in unmovable_cmd.cpp. ------------------------------------------------------------------------ r12897 | rubidium | 2008-04-25 15:22:32 +0000 (Fri, 25 Apr 2008) | 2 lines -Codechange: some coding style in station_cmd.cpp. ------------------------------------------------------------------------ r12895 | glx | 2008-04-25 15:05:08 +0000 (Fri, 25 Apr 2008) | 1 line -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again) ------------------------------------------------------------------------ r12892 | rubidium | 2008-04-25 06:15:58 +0000 (Fri, 25 Apr 2008) | 2 lines -Fix: too many items in the vehicle toolbars were greyed out. ------------------------------------------------------------------------ r12882 | glx | 2008-04-24 23:50:40 +0000 (Thu, 24 Apr 2008) | 1 line -Fix (r12764): the check for missing header files could find more files than needed ------------------------------------------------------------------------ r12881 | glx | 2008-04-24 23:40:42 +0000 (Thu, 24 Apr 2008) | 1 line -Fix (r12770): the check for missing header files could find more files than needed ------------------------------------------------------------------------ r12876 | rubidium | 2008-04-24 20:07:12 +0000 (Thu, 24 Apr 2008) | 2 lines -Fix [FS#1928]: gcc on FreeBSD does not support -dumpmachine. As gcc is not necessary for FreeBSD compiles we 'just' use g++ as that support -dumpmachine. ------------------------------------------------------------------------ r12875 | belugas | 2008-04-24 18:30:41 +0000 (Thu, 24 Apr 2008) | 1 line -Codechange: Use defined const instead of cast magic ------------------------------------------------------------------------ r12874 | belugas | 2008-04-24 18:17:53 +0000 (Thu, 24 Apr 2008) | 2 lines -Codechange: The closest town is already known. Do not search for it again. ------------------------------------------------------------------------ r12873 | rubidium | 2008-04-24 17:53:45 +0000 (Thu, 24 Apr 2008) | 2 lines -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints. ------------------------------------------------------------------------ r12872 | peter1138 | 2008-04-24 15:51:29 +0000 (Thu, 24 Apr 2008) | 2 lines -Codechange: Remove obsolete unused engine list order function ------------------------------------------------------------------------ r12870 | smatz | 2008-04-24 13:05:51 +0000 (Thu, 24 Apr 2008) | 1 line -Codechange: remove some magic numbers from u.ship.state handling ------------------------------------------------------------------------ r12863 | rubidium | 2008-04-24 11:11:50 +0000 (Thu, 24 Apr 2008) | 2 lines -Codechange: rewrite GeneratePlayerColour to be better understandable. ------------------------------------------------------------------------ r12862 | smatz | 2008-04-24 09:55:20 +0000 (Thu, 24 Apr 2008) | 1 line -Codechange: reduce code duplication for VehicleType -> WindowClass lookup ------------------------------------------------------------------------ r12861 | miham | 2008-04-24 08:53:04 +0000 (Thu, 24 Apr 2008) | 19 lines -Update: WebTranslator2 update to 2008-04-24 10:49:17 brazilian_portuguese - 74 fixed, 2 changed by fukumori (38), tucalipe (38) bulgarian - 59 fixed by thetitan (59) catalan - 75 fixed by arnaullv (75) czech - 70 fixed, 42 changed by Hadez (112) danish - 46 fixed by MiR (46) dutch - 75 fixed by habell (75) estonian - 91 fixed, 33 changed by kristjans (124) french - 74 fixed, 2 changed by glx (76) italian - 76 fixed, 9 changed by lorenzodv (85) latvian - 24 fixed, 39 changed by stripe4 (63) russian - 86 fixed by Smoky555 (86) slovak - 3 fixed by lengyel (3) slovenian - 75 fixed by Necrolyte (75) spanish - 91 fixed, 2 changed by eusebio (93) swedish - 72 fixed by ChrillDeVille (72) traditional_chinese - 82 fixed, 4 changed by xbddc (86) ukrainian - 76 fixed, 36 changed by mad (112) ------------------------------------------------------------------------ r12860 | peter1138 | 2008-04-24 07:44:21 +0000 (Thu, 24 Apr 2008) | 2 lines -Fix [FS#1947]: Train depart animation trigger was not called in some cases. ------------------------------------------------------------------------ r12859 | rubidium | 2008-04-23 22:55:11 +0000 (Wed, 23 Apr 2008) | 2 lines -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs. ------------------------------------------------------------------------ r12858 | rubidium | 2008-04-23 22:17:33 +0000 (Wed, 23 Apr 2008) | 2 lines -Add: small piece of code that can help hunting desyncs. Has to be enabled by --enable-desync-debug=1 though. ------------------------------------------------------------------------ r12857 | rubidium | 2008-04-23 22:16:41 +0000 (Wed, 23 Apr 2008) | 2 lines -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. ------------------------------------------------------------------------ r12856 | peter1138 | 2008-04-23 21:55:24 +0000 (Wed, 23 Apr 2008) | 2 lines -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties. ------------------------------------------------------------------------ r12855 | rubidium | 2008-04-23 20:56:08 +0000 (Wed, 23 Apr 2008) | 2 lines -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. ------------------------------------------------------------------------ r12854 | smatz | 2008-04-23 20:22:31 +0000 (Wed, 23 Apr 2008) | 1 line -Codechange: make drawing of rail catenary a bit faster ------------------------------------------------------------------------ r12853 | smatz | 2008-04-23 19:47:23 +0000 (Wed, 23 Apr 2008) | 1 line -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases ------------------------------------------------------------------------ r12852 | smatz | 2008-04-23 19:07:18 +0000 (Wed, 23 Apr 2008) | 1 line -Fix: do not try to draw rail catenary above non-rail station tiles ------------------------------------------------------------------------ r12850 | glx | 2008-04-23 13:36:52 +0000 (Wed, 23 Apr 2008) | 1 line -Fix (r12848): compilation was broken for some platforms ------------------------------------------------------------------------ r12848 | peter1138 | 2008-04-23 12:03:47 +0000 (Wed, 23 Apr 2008) | 2 lines -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. ------------------------------------------------------------------------ r12847 | peter1138 | 2008-04-23 11:57:58 +0000 (Wed, 23 Apr 2008) | 2 lines -Cleanup: Identing and variable scope ------------------------------------------------------------------------ r12845 | rubidium | 2008-04-23 00:16:21 +0000 (Wed, 23 Apr 2008) | 2 lines -Change: use YAPF for fairly old savegames from before YAPF was introduced. ------------------------------------------------------------------------ r12844 | rubidium | 2008-04-23 00:14:49 +0000 (Wed, 23 Apr 2008) | 2 lines -Fix: the industry tick trigger should only be triggered once every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway. ------------------------------------------------------------------------ r12843 | bjarni | 2008-04-22 23:16:36 +0000 (Tue, 22 Apr 2008) | 3 lines -Feature [FS#1945]: The autoreplace window is now resizable in both directions The code to open this window is also unified for all vehicle types ------------------------------------------------------------------------ r12842 | glx | 2008-04-22 21:18:55 +0000 (Tue, 22 Apr 2008) | 1 line -Codechange [FS#1604]: scale message history by map size ------------------------------------------------------------------------ r12839 | peter1138 | 2008-04-22 18:20:41 +0000 (Tue, 22 Apr 2008) | 2 lines -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically. ------------------------------------------------------------------------ r12837 | belugas | 2008-04-22 14:40:09 +0000 (Tue, 22 Apr 2008) | 1 line -Codechange: Alignment of widget array ------------------------------------------------------------------------ r12836 | rubidium | 2008-04-21 23:04:05 +0000 (Mon, 21 Apr 2008) | 2 lines -Fix: SunOS non-dedicated server compilation. ------------------------------------------------------------------------ r12824 | peter1138 | 2008-04-21 20:50:58 +0000 (Mon, 21 Apr 2008) | 2 lines -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication. ------------------------------------------------------------------------ r12820 | frosch | 2008-04-21 17:04:17 +0000 (Mon, 21 Apr 2008) | 1 line -Documentation: Mark callbacks as 8 or 15 bit in 'newgrf_callbacks.h'. ------------------------------------------------------------------------ r12819 | rubidium | 2008-04-21 14:33:33 +0000 (Mon, 21 Apr 2008) | 2 lines -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits. ------------------------------------------------------------------------ r12818 | rubidium | 2008-04-21 13:45:03 +0000 (Mon, 21 Apr 2008) | 2 lines -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. ------------------------------------------------------------------------ r12817 | rubidium | 2008-04-21 11:29:01 +0000 (Mon, 21 Apr 2008) | 2 lines -Feature: the ability to play NewGRF sounds for industries and stations. ------------------------------------------------------------------------ r12816 | rubidium | 2008-04-21 09:27:47 +0000 (Mon, 21 Apr 2008) | 2 lines -Fix: the cargo count in the performance rating window could be wrong. ------------------------------------------------------------------------ r12815 | rubidium | 2008-04-21 09:20:42 +0000 (Mon, 21 Apr 2008) | 2 lines -Codechange: reshuffle some variables in the CargoPacket struct saving 4 of 36 bytes with a 32 bit compiler and 8 of 48 bytes on 64 bit compiler per cargo packets. There are generally more cargopackets in game than vehicles. ------------------------------------------------------------------------ r12814 | rubidium | 2008-04-21 08:35:27 +0000 (Mon, 21 Apr 2008) | 2 lines -Codechange: reshuffle some variables in the Vehicle struct saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle. ------------------------------------------------------------------------ r12813 | rubidium | 2008-04-21 07:57:51 +0000 (Mon, 21 Apr 2008) | 2 lines -Fix [FS#1943]: the 'last built railtype' got reset too often. ------------------------------------------------------------------------ r12810 | glx | 2008-04-20 21:49:57 +0000 (Sun, 20 Apr 2008) | 1 line -Codechange: style and useless casts in CmdSetAutoReplace() ------------------------------------------------------------------------ r12809 | peter1138 | 2008-04-20 21:38:20 +0000 (Sun, 20 Apr 2008) | 2 lines -Fix (r1704): Possible out of bounds array access. ------------------------------------------------------------------------ r12808 | glx | 2008-04-20 21:36:41 +0000 (Sun, 20 Apr 2008) | 2 lines -Fix: enforce autorenew values range in command -Fix: typo in english.txt ------------------------------------------------------------------------ r12805 | rubidium | 2008-04-20 11:40:33 +0000 (Sun, 20 Apr 2008) | 2 lines -Codechange: remove some bit magic related to the news display states. Patch by cirdan. ------------------------------------------------------------------------ r12804 | rubidium | 2008-04-20 11:12:07 +0000 (Sun, 20 Apr 2008) | 2 lines -Codechange: move the effect vehicle handling out of vehicle.cpp ------------------------------------------------------------------------ r12803 | rubidium | 2008-04-20 10:13:54 +0000 (Sun, 20 Apr 2008) | 2 lines -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. ------------------------------------------------------------------------ r12802 | rubidium | 2008-04-20 09:43:30 +0000 (Sun, 20 Apr 2008) | 2 lines -Fix (r12800): do not commit from the src directory when you want to commit source.list too. ------------------------------------------------------------------------ r12801 | rubidium | 2008-04-20 08:43:31 +0000 (Sun, 20 Apr 2008) | 2 lines -Codechange: remove the dependency of function.h in town_map.h ------------------------------------------------------------------------ r12800 | rubidium | 2008-04-20 08:22:59 +0000 (Sun, 20 Apr 2008) | 2 lines -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions. ------------------------------------------------------------------------ r12799 | peter1138 | 2008-04-19 23:34:42 +0000 (Sat, 19 Apr 2008) | 2 lines -Fix (r12798): Empty for-loop warnings from gcc 4.3+ ------------------------------------------------------------------------ r12798 | peter1138 | 2008-04-19 23:19:12 +0000 (Sat, 19 Apr 2008) | 2 lines -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) ------------------------------------------------------------------------ r12797 | bjarni | 2008-04-19 22:51:52 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: [autoreplace] moved wagon removal to a function of it's own ------------------------------------------------------------------------ r12796 | rubidium | 2008-04-19 21:51:05 +0000 (Sat, 19 Apr 2008) | 2 lines -Fix: the dedicated blitter did segfault too, like the null blitter did. ------------------------------------------------------------------------ r12795 | rubidium | 2008-04-19 21:23:42 +0000 (Sat, 19 Apr 2008) | 2 lines -Fix [FS#1938]: vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading. ------------------------------------------------------------------------ r12794 | bjarni | 2008-04-19 19:01:57 +0000 (Sat, 19 Apr 2008) | 1 line -Doc: added missing doxygen comment in autoreplace_cmd.cpp ------------------------------------------------------------------------ r12793 | peter1138 | 2008-04-19 18:03:24 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: Use enum values for station types instead of mysterious hex (ln) ------------------------------------------------------------------------ r12792 | bjarni | 2008-04-19 17:47:56 +0000 (Sat, 19 Apr 2008) | 3 lines -Codechange: [autoreplace] added a function to figure out if a replacement is needed and if so, to which EngineID It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle) ------------------------------------------------------------------------ r12791 | bjarni | 2008-04-19 15:14:20 +0000 (Sat, 19 Apr 2008) | 3 lines -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost This allowed cleaning up the code in MaybeReplaceVehicle() ------------------------------------------------------------------------ r12790 | rubidium | 2008-04-19 13:28:48 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: code style fixes. Patch by Alberth. ------------------------------------------------------------------------ r12789 | rubidium | 2008-04-19 13:17:19 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. ------------------------------------------------------------------------ r12788 | rubidium | 2008-04-19 13:07:37 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: unduplicate some vehicle GUI code. Patch by Alberth. ------------------------------------------------------------------------ r12787 | rubidium | 2008-04-19 13:05:05 +0000 (Sat, 19 Apr 2008) | 2 lines -Documentation: add/fix documentation of some functions. Patch by Alberth. ------------------------------------------------------------------------ r12786 | rubidium | 2008-04-19 13:04:29 +0000 (Sat, 19 Apr 2008) | 2 lines -Change: remove more function from functions.h. ------------------------------------------------------------------------ r12785 | rubidium | 2008-04-19 12:50:02 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: put all news-type related constants in the same array. Patch by cirdan. ------------------------------------------------------------------------ r12784 | rubidium | 2008-04-19 10:18:38 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp. ------------------------------------------------------------------------ r12783 | rubidium | 2008-04-19 08:34:03 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. ------------------------------------------------------------------------ r12782 | rubidium | 2008-04-19 08:21:55 +0000 (Sat, 19 Apr 2008) | 2 lines -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore. ------------------------------------------------------------------------ r12780 | rubidium | 2008-04-18 23:32:10 +0000 (Fri, 18 Apr 2008) | 2 lines -Fix: the null blitter did segfault. ------------------------------------------------------------------------ r12779 | rubidium | 2008-04-18 21:49:38 +0000 (Fri, 18 Apr 2008) | 2 lines -Codechange: remove a few constants from openttd.h. ------------------------------------------------------------------------ r12778 | smatz | 2008-04-18 21:38:36 +0000 (Fri, 18 Apr 2008) | 1 line -Codechange: add the NORETURN attribute to *allocError() functions ------------------------------------------------------------------------ r12777 | smatz | 2008-04-18 21:33:21 +0000 (Fri, 18 Apr 2008) | 1 line -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute ------------------------------------------------------------------------ r12776 | egladil | 2008-04-18 21:21:25 +0000 (Fri, 18 Apr 2008) | 1 line -Fix: [OSX] In some rare cases when using an uncalibrated monitor the system colour space could not be retrieved. Show an error when this happens instead of just trying an assertion. ------------------------------------------------------------------------ r12773 | rubidium | 2008-04-18 19:26:52 +0000 (Fri, 18 Apr 2008) | 2 lines -Codechange: replace some magic numbers with enums. ------------------------------------------------------------------------