Public Member Functions | |
| HouseOverrideManager (uint16 offset, uint16 maximum, uint16 invalid) | |
| void | SetEntitySpec (const HouseSpec *hs) |
| Install the specs into the HouseSpecs array It will find itself the proper slot onwhich it will go. | |
Definition at line 69 of file newgrf_commons.h.
| void HouseOverrideManager::SetEntitySpec | ( | const HouseSpec * | hs | ) |
Install the specs into the HouseSpecs array It will find itself the proper slot onwhich it will go.
| hs | HouseSpec read from the grf file, ready for inclusion |
Definition at line 148 of file newgrf_commons.cpp.
References OverrideManagerBase::AddEntityID(), HouseSpec::grffile, grfmsg(), OverrideManagerBase::invalid_ID, HouseSpec::local_id, OverrideManagerBase::max_offset, MemCpyT(), HouseSpec::override, and HouseSpec::substitute_id.
Referenced by FinaliseHouseArray().
1.6.1