summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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-27(svn r12450) -Codechange: Use a pointer instead of several array dereferences.peter1138
2008-03-27(svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: ↵belugas
Diificulty level
2008-03-15(svn r12368) -Codechange: use explicit body for loops and conditions and ↵smatz
remove -Wno-empty-body from the configure script
2008-03-05(svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size.peter1138
2008-03-04(svn r12333) -Fix: Switch grfstatus from 'activated' back to ↵frosch
'will-be-active' between reservation- and activation-stage. This fixes action7/9 conditions 0x06 to 0x0A to return the same in those two stages.
2008-02-29(svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other ↵peter1138
strings.
2008-02-29(svn r12316) -Codechange: Support loading full range of 0xD0xx NewGRF ↵peter1138
strings which includes 0xD000 to 0xD3FF (yes, 0xD0xx makes a lot of sense, really...) and handle 0xD400 to 0xD7FF strings which map to 0xD000 to 0xD3FF (obviously).
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