summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2008-05-06(svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not ↵peter1138
necessarily specific to GRM sprites...
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-05-05(svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of ↵peter1138
'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded.
2008-05-05(svn r12950) -Fix: two includes is one too muchbelugas
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2008-04-30(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.peter1138
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-22(svn r12839) -Codechange: Allocate temporary engine data when loading GRFs ↵peter1138
as needed instead of statically.
2008-04-19(svn r12798) -Feature: Add some support for NewGRF station animation. ↵peter1138
(Thanks to mart3p for samples and fixes)
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12751) -Codechange: do what has been done in r11862 in a different way ↵rubidium
so it uses less memory.
2008-04-10(svn r12648) -Feature: allow four different non-stop types in a single game ↵rubidium
instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains. -Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
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-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