summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2009-10-04(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into ↵frosch
EngineInfo::refit_mask during initialisation.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-09-28(svn r17663) -Change: [NewGRF] Apply default refitmasks only when the NewGRF ↵frosch
did not set any of the three refittability properties (xor mask, positive classes, negative classes).
2009-09-22(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback ↵frosch
0x36. Based on Terkhen's work.
2009-09-21(svn r17605) -Fix [FS#3218]: [NewGRF] Crash when defining the same tile in a ↵rubidium
tile layout twice
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-20(svn r17584) -Codechange: split the NewGRF StringID mapping in a 'global' ↵rubidium
part and a part that's for NewGRF strings
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-04(svn r17420) -Codechange: replace assert() by assert_compile() where possiblesmatz
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-08-18(svn r17211) -Cleanup: Remove unused RailVehicleInfo::ai_rank.frosch
2009-08-17(svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo ↵frosch
to EngineInfo.
2009-08-11(svn r17154) -Fix (r11129): several times copypasted typosmatz
2009-08-11(svn r17153) -Fix (r11429): don't allow further remapping of already ↵smatz
remapped string
2009-08-10(svn r17150) -Codechange: when MapGRFStringID() fails to remap, return ↵smatz
STR_EMPTY instead of 'random' string
2009-08-10(svn r17143) -Fix [FS#3097]: NewGRFs sometimes got the wrong string causing ↵rubidium
crashes later on
2009-07-17(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains ↵frosch
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
2009-07-16(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all ↵smatz
valid CargoSpecs
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16842) -Cleanup: add some spaces around a few operatorsrubidium
2009-07-05(svn r16755) -Codechange: apply some codestyle to newgrf.cppyexo
2009-07-04(svn r16737) -Fix (r15645): When loading a savegame Engine::grffile might be ↵frosch
left NULL in certain cases. (dynamic_engines enabled, articulated vehicle with only wagon-override action3s)
2009-06-26(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide ↵smatz
_house_specs[]
2009-06-21(svn r16614) -Codechange: Make the airport min/max available year a property ↵yexo
of the Airport class. -Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
2009-06-18(svn r16593) -Cleanup: realign the TTDP flags table.rubidium
2009-06-18(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just ↵rubidium
tell the file could be opened/found.
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-24(svn r16422) -Codechange: use const_cast for removing const and warn when ↵rubidium
const is (accidentally?) removed using C-style casts.
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-23(svn r16408) -Codechange: Silence a pointless newgrf debug message.frosch
2009-05-23(svn r16399) -Fix (r4540): Don't treat pointer values as integer.frosch
2009-05-23(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses ↵rubidium
instead of using a big union
2009-05-22(svn r16383) -Fix/Change: Disable multitile houses with non-zero population ↵frosch
on additional tiles as they cause desyncs and because the specs do not allow that either.
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-21(svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic ↵frosch
newgrf strings of vehicles are requested.
2009-05-17(svn r16344) -Codechange: s/FileEntry/SoundEntry/rubidium
2009-05-17(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of ↵rubidium
SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17(svn r16339) -Fix: [NewGRF] When overriding 'original sounds', only allow ↵rubidium
overriding of the 'original sounds' and not any other that is already loaded.
2009-05-17(svn r16337) -Codechange: remove pointless variable + wrapper function; ↵rubidium
having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
2009-05-17(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' poolsrubidium
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-13(svn r16296) -Codechange: silence some ICC warningsrubidium
2009-05-10(svn r16274) -Fix: Disable multitile houses for which the newgrf does not ↵frosch
define proper additional tiles. (instead of crashing later)
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-09(svn r16263) -Change: Interpret setting bridge property 08 to 0 as always ↵frosch
available.
2009-05-04(svn r16223) -Fix (r8881): ActionB should use the online parameters from ↵frosch
GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown.
2009-04-25(svn r16144) -Fix (r16129): setting the custom digit grouping separator ↵rubidium
required to restart OpenTTD to take effect. Now also support non 1 ASCII character custom grouping separators.