summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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
2007-11-15(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of ↵rubidium
the box. -Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5. -Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5. Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
2007-11-13(svn r11429) -Fix (r11129): some TextID to StringID 'translations' didn't ↵glx
follow our format
2007-11-12(svn r11423) -Codechange: store grfid when adding an overrideglx
2007-11-04(svn r11381) -Fix [FS#1227]: redo the fix in a less breaking wayglx
2007-11-04(svn r11380) -Revert (r11191, r11196): it worked, but broke cargo loadingglx
2007-10-30(svn r11358) -Fix: condition types 0x0B and 0x0C are also valid for variable ↵rubidium
0x88 in action 7/9.
2007-10-29(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled ↵rubidium
gracefully causing crashes and such.
2007-10-26(svn r11346) -Codechange: Add marker has_newwater to the loaded grf ↵belugas
features. Not in used yet.
2007-10-25(svn r11341) -Codechange: add missing callback ID enums, add stub for house ↵glx
property 20 and reorder unimplemented action 0 properties
2007-10-21(svn r11330) -Add: OTTD version checking for NewGRFs. This allows NewGRFs to ↵rubidium
do something different for different versions of OpenTTD, like disabling it for too low versions or loading different graphics.
2007-10-20(svn r11321) -Codechange: add support to load different graphics for ↵rubidium
halftile slopes using a NewGRF. Patch by frosch.
2007-10-19(svn r11302) -Fix (r9520): typoglx