Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-17 | (svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵ | smatz | |
PoolItem::IsValidID(index) | |||
2009-05-16 | (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) | smatz | |
2009-05-10 | (svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵ | smatz | |
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places | |||
2009-03-16 | (svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25. | peter1138 | |
2009-03-15 | (svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵ | rubidium | |
sources too | |||
2009-03-04 | (svn r15617) -Change [FS#2694]: vehicle variables 40-43 weren't cached ↵ | rubidium | |
(though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often. | |||
2009-02-21 | (svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase ↵ | frosch | |
list. | |||
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-18 | (svn r15517) -Fix [FS#2642](r6455): Wagonoverrides and articulated engine ↵ | frosch | |
parts use the colour scheme of the engine, but not its recolour callback, nor its 2CC flag. Same applies to roadvehicles. | |||
2009-02-18 | (svn r15516) -Fix (r10097): Livery overrides for articulated parts of ↵ | frosch | |
roadvehicles were not applied. | |||
2009-02-07 | (svn r15399) -Fix [FS#2617]: For articulated parts v->cargo_type == ↵ | frosch | |
CT_INVALID is possible. | |||
2009-02-06 | (svn r15378) -Fix: The subcargo returned by vehicle variable 0x42 should be ↵ | frosch | |
the most-common-subcargo of the most-common-cargo. If nothing is transported 0x..FFFF00 should be returned. | |||
2009-01-31 | (svn r15299) -Cleanup: remove many redundant includes | smatz | |
2009-01-10 | (svn r14949) -Cleanup: pointer coding style | rubidium | |
2009-01-09 | (svn r14945) -Feature(ette): Support var 0x45 (curvature info) also for road ↵ | frosch | |
vehicles. | |||
2009-01-03 | (svn r14801) -Codechange: don't reference Vehicle::num_orders directly but ↵ | rubidium | |
through a method GetNumOrders() (PhilSophus) | |||
2008-12-30 | (svn r14776) -Fix (r14742): ListPositionMap relied on std::map having sorted ↵ | peter1138 | |
the map, which is now done by a manual key sorter on SmallMap. This fixes engine ID list sorting. | |||
2008-12-26 | (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation ↵ | smatz | |
time and binary size | |||
2008-12-15 | (svn r14678) -Fix [FS#2435]: gradual filling graphics were not chosen ↵ | rubidium | |
according to the NewGRF spec (Maedhros) | |||
2008-12-13 | (svn r14669) -Codechange: use SmallVector instead of std::list at one place | smatz | |
2008-09-30 | (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. | rubidium | |
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-09-22 | (svn r14383) -Fix [FS#2316](r14343): handle invalid 'v->u.air.targetairport' ↵ | smatz | |
in the NewGRF code, too | |||
2008-07-30 | (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific. | frosch | |
2008-07-20 | (svn r13761) -Codechange: Remove dependency on rail for altering purchase ↵ | peter1138 | |
list position (mostly function renaming) | |||
2008-07-17 | (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵ | rubidium | |
with all other structs/classes that are in a pool. | |||
2008-06-07 | (svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with ↵ | frosch | |
zero sprites. | |||
2008-06-04 | (svn r13377) -Codechange: Let 'long format' build year work in vehicle ↵ | peter1138 | |
purchase list. | |||
2008-06-04 | (svn r13376) -Feature: Add access to current long year and date from Action ↵ | belugas | |
7/9/D and VarAction2 (23/24 or A3/A4) Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles | |||
2008-06-01 | (svn r13351) -Codechange: disable warnings about unused variable for builds ↵ | smatz | |
without asserts | |||
2008-05-29 | (svn r13325) -Codechange: split the client-side only settings from the ↵ | rubidium | |
settings stored in the savegame so there is no need to have a duplicate copy of it for new games. | |||
2008-05-25 | (svn r13251) -Codechange: rename _patches to _settings as that is more logic. | rubidium | |
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped. | |||
2008-05-06 | (svn r12982) -Fix: compiler warning when compiling without asserts | smatz | |
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-28 | (svn r12914) -Fix: Game crash when a spectator/server tried to show an ↵ | peter1138 | |
engine with no owner when a NewGRF requested a specific variable. | |||
2008-04-27 | (svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for ↵ | peter1138 | |
manually toggled vehicles. | |||
2008-04-24 | (svn r12872) -Codechange: Remove obsolete unused engine list order function | peter1138 | |
2008-04-06 | (svn r12587) -Codechange: unduplicate some code in the Unpack*Order ↵ | rubidium | |
functions and move the 'normal' case Pack/Unpack to Order. | |||
2008-04-05 | (svn r12584) -Codechange: do not access the order type directly. | rubidium | |
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-31 | (svn r12489) -Codechange: split station.h into station_base.h and ↵ | rubidium | |
station_func.h. | |||
2008-03-28 | (svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this ↵ | glx | |
chain of vehicles with the same ID' (thx DaleStan) -Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;)) | |||
2008-03-27 | (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. | glx | |
2008-03-03 | (svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8 | glx | |
2008-03-03 | (svn r12330) -Feature: [NewGRF] vehicle variable FE bit 5 and 6 | glx | |
2008-02-28 | (svn r12314) -Fix (r4896): Include prop 25 data for all train parts, not ↵ | peter1138 | |
just those that carry cargo. | |||
2008-02-20 | (svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the ↵ | smatz | |
train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form | |||
2008-02-18 | (svn r12180) -Fix: Test purchase list loading/loaded sprites instead of ↵ | peter1138 | |
unconditionally returning a possibly non-existant sprite. | |||
2008-02-13 | (svn r12134) -Change: count the number of ticks a vehicle was running this ↵ | smatz | |
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window |