summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)Author
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
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.
2008-04-06(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵smatz
compiler's decisions about inlining
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-28(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.rubidium
2008-02-25(svn r12244) -Fix (r12150): typo resulting in no players are given the ↵smatz
engine preview offer
2008-02-15(svn r12150) -Fix (r12143): compiler warnings - possible use of ↵smatz
uninitialised variable
2008-02-15(svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ↵peter1138
ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.
2008-02-08(svn r12084) -Fix: 'Early retirement'-properties are signed.frosch
2008-02-04(svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types...peter1138
2008-01-24(svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead ↵peter1138
of for-loops
2008-01-24(svn r11970) -Cleanup: Remove old commentpeter1138
2008-01-16(svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ↵bjarni
ALL_GROUP
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11832) -Codechange: get rid of (quite) some VARDEFs.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11789) -Codechange: coding style for global variable namespeter1138
2008-01-09(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...rubidium
2008-01-08(svn r11784) -Codechange: set up initial engine data in one placepeter1138
2008-01-08(svn r11783) -Codechange: compare engine type with its type property, not by ↵peter1138
its index
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-08-02(svn r10757) -Codechange: make the engine renew struct use the pool item ↵rubidium
class as super class.
2007-07-14(svn r10567) -Add [FS#915]: a "group" with ungrouped vehicles. Patch by ↵rubidium
Matthias Wolf.
2007-06-27(svn r10364) -Fix [FS#706]: checking for duplicate custom names was ↵peter1138
inconsistent, and tested all 'namespaces'. now only check names of the same type.
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-05-25(svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF ↵rubidium
updates.
2007-05-25(svn r9917) -Codechange: prepare some more areas for more road types. rubidium
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-10(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.peter1138
2007-04-26(svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't ↵peter1138
available yet. This also affects the rail purchase window.
2007-04-20(svn r9688) -Codechange: Created a function to get default cargo type for a ↵bjarni
cargo type
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-03(svn r9001) -Codechange: remove duplication of functions and strings with ↵rubidium
respect to the news of new vehicles.
2007-02-28(svn r8944) -Codechange: Move the enum describing the bitmask of ↵maedhros
Engine.flags to engine.h and give the enum values better names.
2007-02-23(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and ↵belugas
a few comments style. Some documentation addition, when i can easily supply them