src/newgrf.cpp
branchnoai
changeset 10294 7798ae816af8
parent 10249 58810805030e
child 10355 ee4b5f7a5bf2
equal deleted inserted replaced
10292:7856e972f8aa 10294:7798ae816af8
  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;