summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-06-08 16:53:21 +0000
committerglx <glx@openttd.org>2007-06-08 16:53:21 +0000
commit6983d0b547ce9248a658ffa5d6c76c860d08a72e (patch)
tree186a0d269b4d816fae24779c6e1e4f35dafff1bb
parentf51b869e697193bc0825d4e2c63ce09d1c21298a (diff)
downloadopenttd-6983d0b547ce9248a658ffa5d6c76c860d08a72e.tar.xz
(svn r10065) -Cleanup (r9850): remove now unneeded stuff
-rw-r--r--src/newgrf_house.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/newgrf_house.h b/src/newgrf_house.h
index 6ca6b3ebd..2ebd7601f 100644
--- a/src/newgrf_house.h
+++ b/src/newgrf_house.h
@@ -8,22 +8,6 @@
#include "town.h"
/**
- * Maps a house id stored on the map to a GRF file.
- * House IDs are stored on the map, so there needs to be a way to tie them to
- * GRF files. An array of HouseIDMapping structs is saved with the savegame so
- * that house GRFs can be loaded in a different order, or removed safely. The
- * index in the array is the house ID stored on the map.
- *
- * The substitute ID is the ID of an original house that should be used instead
- * if the GRF containing the new house is not available.
- */
-struct HouseIDMapping {
- uint32 grfid; ///< The GRF ID of the file this house belongs to
- uint8 house_id; ///< The house ID within the GRF file
- uint8 substitute_id; ///< The (original) house ID to use if this GRF is not available
-};
-
-/**
* Makes class IDs unique to each GRF file.
* Houses can be assigned class IDs which are only comparable within the GRF
* file they were defined in. This mapping ensures that if two houses have the