- NULLERROR(surf_rock[i] = load_image(a));
- get_shape(surf_rock[i], &rock_shapes[i]);
- maxw = max(maxw, rock_shapes[i].w);
- maxh = max(maxh, rock_shapes[i].h);
+ load_sprite(SPRITE(&prototypes[i]), a);
+ prototypes[i].type = ROCK_SPRITE;
+ maxw = max(maxw, prototypes[i].w);
+ maxh = max(maxh, prototypes[i].h);