12 #include "../stdafx.h" 
   18 #include "../safeguards.h" 
   34   for (uint i = 0; i < mapping.GetMaxMapping(); i++) {
 
   50   uint max_id = mapping.GetMaxMapping();
 
   54     if ((uint)index >= max_id) 
SlErrorCorrupt(
"Too many NewGRF entity mappings");
 
   60 static const SaveLoad _grfconfig_desc[] = {
 
   72 static void Save_NGRF()
 
   78     SlSetArrayIndex(index++);
 
   84 static void Load_NGRF_common(
GRFConfig *&grfconfig)
 
   95 static void Load_NGRF()
 
  103 static void Check_NGRF()
 
  109   { 
'NGRF', Save_NGRF, Load_NGRF, NULL, Check_NGRF, CH_ARRAY | 
CH_LAST }