summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-20(svn r16103) -Fix (r11429): missing constsmatz
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15713) -Feature(ette): Allow static newgrfs to set 'GRF ID engine ↵frosch
overrides', if the source GRF is static.
2009-03-09(svn r15650) -Codechange: Use a ReusableBuffer for loading NewGRF ↵peter1138
pseudo-sprites into instead of using malloc()/free() for every single one.
2009-03-08(svn r15646) -Fix: Be lenient on users who do stupid things like loading ↵frosch
newgrfs statically, which modify engine names, while dynamic_engines is enabled or the to be modified engine is not (yet) present.
2009-03-08(svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give ↵frosch
the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
2009-02-21(svn r15539) -Fix: If an aircraft cannot carry any available cargo, it ↵frosch
should not be available either instead of falling back to passenger/mail. Just like the other vehicle types also do.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15418) -Codechange: Add action7/9 support to detect available rail ↵peter1138
type labels
2009-02-08(svn r15417) -Codechange: Add default rail type labels and support for ↵peter1138
per-GRF translation table.
2009-02-04(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly ↵smatz
road networks -Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore -Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-02(svn r15321) -Codechange: Load road vehicle 'realistic' acceleration ↵peter1138
properties from NewGRF, and supply defaults as used by TTDPatch. These values are not yet used.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-24(svn r15259) -Fix: [NewGRF] small memory leak when scanning labelsrubidium
2009-01-21(svn r15192) -Cleanup: remove unused includerubidium
2009-01-16(svn r15114) -Codechange: Add support for 8 byte action7/9 data, used as a ↵peter1138
mask for GRFID checks.
2009-01-10(svn r14979) -Fix: Disable a NewGRF from loading if it contains multiple ↵peter1138
Action 8s
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-09(svn r14939) -Codechange: Follow standard *ChangeInfo() pattern for global ↵peter1138
variables during reservation. Whilst not strictly necessary for global variables, following the same pattern makes it easier to follow. This also solves the long standing ChangeInfoResult/bool warning for MSVC.
2009-01-08(svn r14926) -Feature: Automatically set last engine ageing year to the last ↵peter1138
'introduction year plus half model life', to allow engines later than 2050 to appear.
2009-01-06(svn r14869) -Feature: Allow road vehicles to move multiple steps in a tick ↵peter1138
(code based on train movement code) and add support for RV prop 15. This gives RVs a maximum speed of 318mph instead 79mph. This only implements higher speeds, not 'realistic acceleration'.
2009-01-02(svn r14788) -Fix [FS#2489]: some TTDPatch flags were wrong (Swallow)rubidium
2008-12-29(svn r14769) -Change: when loading games in "network" mode use the start ↵rubidium
date of the save game for the server and all clients when loading the NewGRFs instead of the current date. Prevents desyncs caused by action 7/9s skipping parts of the GRF based on the date or some other variables that can differ at NewGRF load time.
2008-12-24(svn r14740) -Fix (r13675)(r14739): we shouldn't skip all remaining sprites ↵smatz
neither