summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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.
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
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-12-18(svn r11665) -Fix: Animation informations should not be copied from original ↵belugas
industry tile spec, while doing an action 00, industry tile, prop 08. Fix directly inspired by Csaboka
2007-12-18(svn r11664) -Codechange: use more specific ("rail_type.h" instead of ↵rubidium
"rail.h" that includes way more than only "rail_type.h") includes at some places.
2007-12-16(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the ↵rubidium
later 'activation' pass.
2007-12-16(svn r11645) -Fix (r8128): station ground tiles may have transparency or ↵glx
company colour
2007-12-15(svn r11635) -Codechange: Give a more informative debug message when ↵belugas
encountering unknown newgrf feature in action 00 handling.(FS#1551, Bilbo)
2007-12-08(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now ↵glx
done in *allocT functions.
2007-12-01(svn r11544) -Fix [FS#1501]: revert r11453 as it translated cargo when it ↵glx
should not
2007-11-27(svn r11534) -Feature(newgrf): Implement property 23h for Industries.belugas
This will add a cost to the removal of an industry using the cheat magic bulldozer. Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to. This is a difference from original spec, where a default base cost is added.
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-24(svn r11509) -Fix: off-by-one error in some sprite numbers; increase sprite ↵rubidium
number counter before loading the next sprite instead of after doing so.
2007-11-22(svn r11494) -Fix [FS#1461] (r11450): cargo translation table was now loaded ↵glx
too late ;)
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 r11482) -Codechange: Remove the doubled function ClrBitT 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-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-11-17(svn r11453) -Fix (r11450): unrevert r11239, as we now need itglx
2007-11-17(svn r11450) -Fix [FS#1432](r8886): cargo translation table was loaded too earlyglx
2007-11-16(svn r11443) -Fix: [NewGRF] Action 0 <id> is an extended byteglx