log src/engine.cpp @ 10969:208ba3fba382 draft

age author description
Sun, 01 Feb 2009 17:14:39 +0000 frosch (svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions. draft
Sun, 01 Feb 2009 16:10:06 +0000 frosch (svn r15306) -Codechange: Deduplicate code by adding Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) draft
Sat, 31 Jan 2009 20:16:06 +0000 smatz (svn r15299) -Cleanup: remove many redundant includes draft
Sun, 25 Jan 2009 00:57:03 +0000 glx (svn r15263) -Codechange: added Engine::GetCost() to remove some code duplication. draft
Sat, 24 Jan 2009 20:14:15 +0000 glx (svn r15261) -Add: added Engine::GetRunningCost() to remove some code duplication. Also stops AIs decrementing vehicle counter of first company draft
Fri, 23 Jan 2009 02:35:17 +0000 smatz (svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter draft
Tue, 13 Jan 2009 22:58:03 +0000 smatz (svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR draft
Mon, 12 Jan 2009 17:11:45 +0000 truebrain (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see. draft
Sat, 10 Jan 2009 15:54:07 +0000 smatz (svn r14958) -Codechange [FS#1923]: when checking for unique names, compare only with manually set names draft
Thu, 08 Jan 2009 21:48:59 +0000 peter1138 (svn r14926) -Feature: Automatically set last engine ageing year to the last 'introduction year plus half model life', to allow engines later than 2050 to appear. draft
Sun, 04 Jan 2009 15:32:25 +0000 smatz (svn r14828) -Codechange: move most of save/load-specific code to separate files draft
Sun, 28 Dec 2008 14:37:19 +0000 rubidium (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. draft
Wed, 24 Dec 2008 09:53:15 +0000 rubidium (svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous. draft
Tue, 23 Dec 2008 21:03:43 +0000 rubidium (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. draft
Tue, 16 Dec 2008 22:02:12 +0000 rubidium (svn r14683) -Change: only say a engine/vehicle is refittable when it can be refitted to at least two cargo type or when it has subcargos. draft
Tue, 16 Dec 2008 18:09:40 +0000 frosch (svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for wagons. draft
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. draft
Tue, 30 Sep 2008 20:39:50 +0000 rubidium (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. draft
Mon, 15 Sep 2008 19:02:50 +0000 smatz (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) draft
Sat, 13 Sep 2008 15:49:29 +0000 frosch (svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file. draft
Thu, 28 Aug 2008 19:53:25 +0000 peter1138 (svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early. draft
Wed, 13 Aug 2008 06:22:04 +0000 rubidium (svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client. draft
Fri, 25 Jul 2008 17:33:53 +0000 peter1138 (svn r13825) -Revert (r13821 partially): preview_player_rank wasn't a PlayerByte value in r12143, and still isn't a PlayerByte value. draft
Fri, 25 Jul 2008 10:00:03 +0000 rubidium (svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers. draft
Fri, 18 Jul 2008 16:40:29 +0000 rubidium (svn r13731) -Codechange: make a pool of the array of players. draft
Thu, 05 Jun 2008 12:08:20 +0000 peter1138 (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon" draft
Thu, 29 May 2008 17:54:02 +0000 peter1138 (svn r13331) -Fix (r12924): Wrong include type for (sdt::)map draft
Thu, 29 May 2008 15:13:28 +0000 rubidium (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. draft
Tue, 27 May 2008 12:24:23 +0000 peter1138 (svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp draft
Sun, 25 May 2008 22:36:44 +0000 rubidium (svn r13255) -Codechange: move _opt to _settings. draft
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic. draft
Sun, 18 May 2008 20:01:54 +0000 smatz (svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort() draft
Thu, 15 May 2008 13:39:36 +0000 rubidium (svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls. draft
Wed, 14 May 2008 18:27:39 +0000 smatz (svn r13089) -Fix (r13072): MorphOS compilation was broken draft
Wed, 14 May 2008 15:29:48 +0000 smatz (svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often draft
Tue, 13 May 2008 21:36:09 +0000 smatz (svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop draft
Tue, 13 May 2008 18:39:15 +0000 smatz (svn r13072) -Fix (r12995): possible out-of-bounds access draft
Tue, 13 May 2008 10:17:04 +0000 rubidium (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan. draft
Wed, 07 May 2008 18:31:29 +0000 smatz (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT draft
Tue, 06 May 2008 15:11:33 +0000 rubidium (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. draft
Tue, 29 Apr 2008 21:31:29 +0000 peter1138 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. draft
Wed, 23 Apr 2008 20:56:08 +0000 rubidium (svn r12855) -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. draft
Sun, 06 Apr 2008 23:49:45 +0000 smatz (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining draft
Mon, 31 Mar 2008 00:17:39 +0000 rubidium (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. draft
Fri, 28 Mar 2008 08:53:36 +0000 rubidium (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. draft
Mon, 25 Feb 2008 02:09:04 +0000 smatz (svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer draft
Fri, 15 Feb 2008 21:05:46 +0000 smatz (svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable draft
Fri, 15 Feb 2008 11:02:50 +0000 peter1138 (svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion. draft
Fri, 08 Feb 2008 15:34:54 +0000 frosch (svn r12084) -Fix: 'Early retirement'-properties are signed. draft
Mon, 04 Feb 2008 11:28:12 +0000 peter1138 (svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types... draft
Thu, 24 Jan 2008 10:47:44 +0000 peter1138 (svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops draft
Thu, 24 Jan 2008 10:41:12 +0000 peter1138 (svn r11970) -Cleanup: Remove old comment draft
Wed, 16 Jan 2008 01:27:24 +0000 bjarni (svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP draft
Sun, 13 Jan 2008 14:37:30 +0000 rubidium (svn r11834) -Codechange: only include settings_type.h if needed. draft
Sun, 13 Jan 2008 13:36:01 +0000 rubidium (svn r11832) -Codechange: get rid of (quite) some VARDEFs. draft
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. draft
Sat, 12 Jan 2008 19:58:06 +0000 peter1138 (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is draft
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces. draft
Wed, 09 Jan 2008 10:15:20 +0000 peter1138 (svn r11789) -Codechange: coding style for global variable names draft
Wed, 09 Jan 2008 09:57:48 +0000 rubidium (svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed... draft