Searched refs:sprite_id (Results 1 – 1 of 1) sorted by relevance
200 uint16_t sprite_id; in cdtoons_decode_frame() local205 sprite_id = bytestream_get_be16(&buf); in cdtoons_decode_frame()206 if (sprite_id >= CDTOONS_MAX_SPRITES) { in cdtoons_decode_frame()208 "Sprite ID %d is too high.\n", sprite_id); in cdtoons_decode_frame()211 if (c->sprites[sprite_id].active) { in cdtoons_decode_frame()213 "Sprite ID %d is a duplicate.\n", sprite_id); in cdtoons_decode_frame()217 c->sprites[sprite_id].flags = bytestream_get_be16(&buf); in cdtoons_decode_frame()225 c->sprites[sprite_id].size = size; in cdtoons_decode_frame()226 c->sprites[sprite_id].owner_frame = frame_id; in cdtoons_decode_frame()227 c->sprites[sprite_id].start_frame = bytestream_get_be16(&buf); in cdtoons_decode_frame()[all …]