Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-03 | (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed | rubidium | |
2011-12-20 | (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵ | truebrain | |
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) | |||
2011-12-13 | (svn r23504) -Feature: Aircraft range. | michi_cc | |
2011-11-09 | (svn r23176) -Codechange: Deduplicate code between ↵ | frosch | |
Engine::DetermineCapacity() and Engine::GetDisplayDefaultCapacity(). | |||
2011-11-09 | (svn r23173) -Codechange: Rename GetVehicleCapacity() to ↵ | frosch | |
Engine::DetermineCapacity(). | |||
2011-11-01 | (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵ | frosch | |
Vehicle to simplify code. | |||
2011-03-13 | (svn r22239) -Doc: Further engine doxyment additions. | alberth | |
2011-02-05 | (svn r21986) -Codechange: Add helper function to test whether an engine is ↵ | frosch | |
still associated to a GRF. | |||
2011-02-05 | (svn r21975) -Add: console command to reset the engine pool. It removes the ↵ | frosch | |
traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though. | |||
2010-12-22 | (svn r21593) -Codechange: endif comment correcttions. | alberth | |
2010-12-14 | (svn r21517) -Codechange: Add IsGroundVehicle function to the Engine class. | terkhen | |
2010-08-10 | (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well | rubidium | |
2010-01-15 | (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵ | rubidium | |
if a header require a header make it include that header | |||
2009-10-31 | (svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵ | frosch | |
consistent. Now always the cargo class decides. | |||
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-08-17 | (svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo ↵ | frosch | |
to EngineInfo. | |||
2009-06-17 | (svn r16586) -Codechange: don't store lifelength in the savegame; it can ↵ | rubidium | |
easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect. | |||
2009-06-16 | (svn r16581) -Codechange: unify the access to Engine::lifelength. | rubidium | |
2009-06-16 | (svn r16580) -Codechange: rename Engine::image_index to original_image_index ↵ | rubidium | |
to not confuse it with image_index from *VehInfo. | |||
2009-05-22 | (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp | smatz | |
2009-05-22 | (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵ | smatz | |
time, binary size and run time (with asserts disabled) should be improved | |||
2009-05-22 | (svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵ | smatz | |
variable instead of var->index | |||
2009-05-18 | (svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too | smatz | |
2009-05-16 | (svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵ | smatz | |
PoolItem::GetPoolSize() | |||
2009-05-16 | (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) | smatz | |
2009-03-18 | (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and ↵ | frosch | |
use it everywhere, so CB 36 is also used everywhere. | |||
2009-03-08 | (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give ↵ | frosch | |
the term 'compatible newgrf' again some sense and to not crash because of trivial changes. | |||
2009-02-21 | (svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, ↵ | frosch | |
which cannot accept CT_INVALID. -Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them. -Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection. -Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'. Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects. Note: It is intentional that you cannot control refittability by CB 36. | |||
2009-02-19 | (svn r15521) -Codechange: add helper function to get the display tractive ↵ | rubidium | |
effort of a vehicle. | |||
2009-02-01 | (svn r15306) -Codechange: Deduplicate code by adding ↵ | frosch | |
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them) | |||
2009-01-25 | (svn r15263) -Codechange: added Engine::GetCost() to remove some code ↵ | glx | |
duplication. | |||
2009-01-24 | (svn r15261) -Add: added Engine::GetRunningCost() to remove some code ↵ | glx | |
duplication. Also stops AIs decrementing vehicle counter of first company | |||
2008-09-30 | (svn r14421) -Codechange: rename all player variables/types to company *or* ↵ | rubidium | |
client so it is immediatelly clear which one you are working with. | |||
2008-07-25 | (svn r13825) -Revert (r13821 partially): preview_player_rank wasn't a ↵ | peter1138 | |
PlayerByte value in r12143, and still isn't a PlayerByte value. | |||
2008-07-25 | (svn r13821) -Codechange: replace some uint8/bytes with more specificly ↵ | rubidium | |
named typedefs and replace a few magic numbers. | |||
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. |