summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2008-02-27(svn r12295) -Codechange: Make plane speed option available to NewGRFspeter1138
2008-02-21(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road ↵peter1138
vehicles' running cost, and show running cost of wagons if they have it.
2008-02-20(svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to ↵peter1138
running_cost, inline with other vehicle types (It is the factor, not the base)
2008-02-16(svn r12158) -Codechange: merge all the sprite recolouring mapping under a ↵belugas
single function -Fix: Handle the bridge recolouring mapping as the other features. Although not specified by the specs, it seems to be implicit.
2008-02-15(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of ↵frosch
DrawTileSprites into one PalSpriteID
2008-02-15(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into ↵frosch
one PalSpriteID
2008-02-12(svn r12124) -Codechange: Move newgrf-variables that are common to ↵frosch
VarAction2 and Action7/9/D to their own function. -Fix: Add some variables that were missing in one or both cases.
2008-02-12(svn r12122) -Codechange: Add framework for generic feature callbacks, along ↵peter1138
with some parts for AI use.
2008-02-12(svn r12119) -Codechange: Rename grfspec_feature to match code style, and ↵peter1138
expose in header for use elsewhere.
2008-02-12(svn r12118) -Codechange: Put the two descriptions of bridges in an array ↵belugas
instead of two single variables, following the transport type it represents
2008-02-11(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy ↵belugas
with other Specs in used.
2008-02-06(svn r12069) -Feature[newGRF]: Specify the purchase, rail and road ↵belugas
description of a bridge.
2008-02-05(svn r12064) -Codechange : Give grf bridges their own ResetBridges function, ↵belugas
and put bridge spec in table/bridge_land.h, where it should be.
2008-02-04(svn r12059) -Fix (r12041): industries prop 24 is a wordglx
2008-02-03(svn r12052) -Fix [FS#1737] (r11494): The cargo translation table was loaded ↵maedhros
at the right time, but all the other global variables were now loaded too early. ;)
2008-02-02(svn r12041) -Codechange: Add the loader and the property for action 00 ↵belugas
industries, prop 24, nearby station name. No assignation yet, no real work either.
2008-01-30(svn r12019) -Codechange: Add support for passenger engine designation for ↵peter1138
AI-use, NewGRF property 0x08 for trains.
2008-01-28(svn r12001) -Fix: When skipping Action 11 or 12, also skip belonging sprites.frosch
2008-01-24(svn r11973) -Fix (r11726, r11947)[FS#1683]: Use grass tiles for corner ↵frosch
shores, if shores got replaced by ActionA.
2008-01-23(svn r11963) -Fix(r11961): Forgot to specify the meaning of the magical 6 ↵belugas
substraction
2008-01-23(svn r11961) -Feature[newGRF]: Add support for Action 0D, var 13: ↵belugas
informations about current map size.
2008-01-21(svn r11938) -Codechange: support loading of canal/river properties (though ↵peter1138
still ignored)
2008-01-17(svn r11888) -Codechange: simplify sorting of the strings in town names dropdownglx
2008-01-15(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same ↵rubidium
cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
2008-01-14(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int ↵peter1138
caused compilation failure with MSVC.
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.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-10(svn r11807) -Codechange: Make Action5 handler more upwards- and ↵frosch
TTDP-compatible by allowing specifiing more sprites than needed.
2008-01-09(svn r11803) -Fix: unlikely but possible infinite loop leading to undefined ↵peter1138
behaviour
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11799) -Codechange: no need to special-case helicopter rotor 'overrides'peter1138
2008-01-08(svn r11784) -Codechange: set up initial engine data in one placepeter1138
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-05(svn r11761) -Codechange: Use appropriate variable types for NewGRF engine ↵peter1138
overrides, and adjust scope while there.
2008-01-04(svn r11757) -Fix(r11727): Don't use a function's default parameter when the ↵belugas
value can be (more adequately, even better) computed from another source. Thanks peter1138.
2008-01-03(svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727belugas
-Codechange: A few bad coding style inadvertendly applied too
2008-01-03(svn r11746) -Fix(r11727): Make sure that action 0A does follow the same new ↵belugas
ordering of shore sprites. It was not considered in the missing shore patch
2007-12-31(svn r11728) -Fix [FS#1577]: if there are no houses that can be build in a ↵rubidium
specific year yet, force the houses with the earliest introduction year to be available.
2007-12-31(svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch ↵belugas
by BigBB
2007-12-29(svn r11721) -Fix: do not disable NewGRFs for 'eternity' during games.rubidium
2007-12-29(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile ↵peter1138
layouts; forcing a sprite to always be opaque.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11712) -Fix (r9315): Add more house string id ranges to MapGRFStringID ↵maedhros
so NewGRFs use the proper string ids.
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-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.