src/newgrf.cpp
changeset 9003 7972fa66d9c9
parent 8969 6d1c74e0e2cd
child 9025 be4668a781b8
equal deleted inserted replaced
9002:65efdd3cfa3f 9003:7972fa66d9c9
  1118 
  1118 
  1119 			case 0x15: // Blocked tiles
  1119 			case 0x15: // Blocked tiles
  1120 				statspec->blocked = grf_load_byte(&buf);
  1120 				statspec->blocked = grf_load_byte(&buf);
  1121 				break;
  1121 				break;
  1122 
  1122 
  1123 			case 0x16: // @todo Animation info
  1123 			case 0x16: // Animation info
  1124 				grf_load_word(&buf);
  1124 				statspec->anim_frames = grf_load_byte(&buf);
  1125 				ret = true;
  1125 				statspec->anim_status = grf_load_byte(&buf);
  1126 				break;
  1126 				break;
  1127 
  1127 
  1128 			case 0x17: // @todo Animation speed
  1128 			case 0x17: // Animation speed
  1129 				grf_load_byte(&buf);
  1129 				statspec->anim_speed = grf_load_byte(&buf);
  1130 				ret = true;
  1130 				break;
  1131 				break;
  1131 
  1132 
  1132 			case 0x18: // Animation triggers
  1133 			case 0x18: // @todo Animation triggers
  1133 				statspec->anim_triggers = grf_load_word(&buf);
  1134 				grf_load_word(&buf);
       
  1135 				ret = true;
       
  1136 				break;
  1134 				break;
  1137 
  1135 
  1138 			default:
  1136 			default:
  1139 				ret = true;
  1137 				ret = true;
  1140 				break;
  1138 				break;