src/engine.cpp
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.
Tue, 16 Dec 2008 18:09:40 +0000 frosch (svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for wagons.
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
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.
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)
Sat, 13 Sep 2008 15:49:29 +0000 frosch (svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
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.
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.
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.
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.
Fri, 18 Jul 2008 16:40:29 +0000 rubidium (svn r13731) -Codechange: make a pool of the array of players.
Thu, 05 Jun 2008 12:08:20 +0000 peter1138 (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
Thu, 29 May 2008 17:54:02 +0000 peter1138 (svn r13331) -Fix (r12924): Wrong include type for (sdt::)map
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.
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
Sun, 25 May 2008 22:36:44 +0000 rubidium (svn r13255) -Codechange: move _opt to _settings.
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
Sun, 18 May 2008 20:01:54 +0000 smatz (svn r13168) -Fix (r13072): forgot to 'fix' EngList_SortPartial() together with EngList_Sort()
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.
Wed, 14 May 2008 18:27:39 +0000 smatz (svn r13089) -Fix (r13072): MorphOS compilation was broken
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
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
Tue, 13 May 2008 18:39:15 +0000 smatz (svn r13072) -Fix (r12995): possible out-of-bounds access
Tue, 13 May 2008 10:17:04 +0000 rubidium (svn r13065) -Codechange: remove the need for the news string callbacks. Patch by Cirdan.
Wed, 07 May 2008 18:31:29 +0000 smatz (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
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.
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.
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.
Sun, 06 Apr 2008 23:49:45 +0000 smatz (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining
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.
Fri, 28 Mar 2008 08:53:36 +0000 rubidium (svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
Mon, 25 Feb 2008 02:09:04 +0000 smatz (svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer
Fri, 15 Feb 2008 21:05:46 +0000 smatz (svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable
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.
Fri, 08 Feb 2008 15:34:54 +0000 frosch (svn r12084) -Fix: 'Early retirement'-properties are signed.
Mon, 04 Feb 2008 11:28:12 +0000 peter1138 (svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types...
Thu, 24 Jan 2008 10:47:44 +0000 peter1138 (svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops
Thu, 24 Jan 2008 10:41:12 +0000 peter1138 (svn r11970) -Cleanup: Remove old comment
Wed, 16 Jan 2008 01:27:24 +0000 bjarni (svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP
Sun, 13 Jan 2008 14:37:30 +0000 rubidium (svn r11834) -Codechange: only include settings_type.h if needed.
Sun, 13 Jan 2008 13:36:01 +0000 rubidium (svn r11832) -Codechange: get rid of (quite) some VARDEFs.
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.
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
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces.
Wed, 09 Jan 2008 10:15:20 +0000 peter1138 (svn r11789) -Codechange: coding style for global variable names
Wed, 09 Jan 2008 09:57:48 +0000 rubidium (svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
Tue, 08 Jan 2008 18:25:51 +0000 peter1138 (svn r11784) -Codechange: set up initial engine data in one place
Tue, 08 Jan 2008 18:16:26 +0000 peter1138 (svn r11783) -Codechange: compare engine type with its type property, not by its index
Mon, 07 Jan 2008 14:23:25 +0000 rubidium (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
Mon, 07 Jan 2008 09:19:53 +0000 rubidium (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
Thu, 27 Dec 2007 13:35:39 +0000 rubidium (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
Wed, 26 Dec 2007 13:50:40 +0000 rubidium (svn r11702) -Codechange: move all date related stuff to date*.
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
Sat, 22 Dec 2007 23:30:28 +0000 rubidium (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places.
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions.
Tue, 20 Nov 2007 13:35:54 +0000 skidd13 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Thu, 02 Aug 2007 22:32:47 +0000 rubidium (svn r10757) -Codechange: make the engine renew struct use the pool item class as super class.
Sat, 14 Jul 2007 23:10:27 +0000 rubidium (svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by Matthias Wolf.