(svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.

Basically, it is more a gathering of IDs from grf files and ingame data.
This commit is contained in:
belugas
2007-05-15 21:36:58 +00:00
parent 7f88f14f64
commit 641d51a5ad
10 changed files with 261 additions and 106 deletions

View File

@@ -41,15 +41,7 @@ struct HouseClassMapping {
uint8 class_id; ////< The class id within the grf file
};
extern HouseIDMapping _house_id_mapping[HOUSE_MAX]; ///< Declared in newgrf_house.cpp
void AddHouseOverride(uint8 local_id, uint house_type);
void ResetHouseOverrides();
void SetHouseSpec(const HouseSpec *hs);
void CheckHouseIDs();
void ResetHouseIDMapping();
HouseClassID AllocateHouseClassID(byte grf_class_id, uint32 grfid);