12 #include "../stdafx.h" 
   13 #include "../industry.h" 
   18 #include "../safeguards.h" 
   22 static const SaveLoad _industry_desc[] = {
 
   68 static void Save_INDY()
 
   73   FOR_ALL_INDUSTRIES(ind) {
 
   74     SlSetArrayIndex(ind->
index);
 
   79 static void Save_IIDS()
 
   84 static void Save_TIDS()
 
   89 static void Load_INDY()
 
  110 static void Load_IIDS()
 
  115 static void Load_TIDS()
 
  120 static void Ptrs_INDY()
 
  124   FOR_ALL_INDUSTRIES(i) {
 
  168     if ((uint)index >= NUM_INDUSTRYTYPES) 
SlErrorCorrupt(
"Too many industry builder datas");
 
  173 extern const ChunkHandler _industry_chunk_handlers[] = {
 
  174   { 
'INDY', Save_INDY,     Load_INDY,     Ptrs_INDY, NULL, CH_ARRAY},
 
  175   { 
'IIDS', Save_IIDS,     Load_IIDS,     NULL,      NULL, CH_ARRAY},
 
  176   { 
'TIDS', Save_TIDS,     Load_TIDS,     NULL,      NULL, CH_ARRAY},