summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2009-11-10(svn r18036) -Fix (r17999): Always two they are.frosch
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-11-08(svn r18016) -Codechange: Move the arbitrary basecost multiplier offset (8) ↵frosch
to newgrf loading and make the internal state zero-based instead.
2009-11-08(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 ↵frosch
'running cost factor'.
2009-11-08(svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price ↵frosch
enum some more.
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-11-07(svn r18004) -Codechange: Deduplicate some magic.frosch
2009-11-07(svn r17999) -Fix: [NewGRF] Improve parsing of RIFF data. Skip unknown ↵frosch
chunks and check chunk sizes.
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-24(svn r17857) -Fix (r10442): [NewGRF] 'subtract-in' is also signed for ↵frosch
production callback version 0.
2009-10-20(svn r17824) -Fix (r4594): _date_fract runs from 0 to 73 since r2041. ↵frosch
Variable 0x09 should not.
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.