struct ToonInfo toons[NUM_TOONS] =
{
{
- IMG_MENU_TOONS,
+ IMG_GLOBAL_TOONS,
DWARF_XSIZE, DWARF_YSIZE,
DWARF_X, DWARF_Y,
DWARF_FRAMES,
ANIMPOS_DOWN
},
{
- IMG_MENU_TOONS,
+ IMG_GLOBAL_TOONS,
DWARF_XSIZE, DWARF_YSIZE,
DWARF_X, DWARF2_Y,
DWARF_FRAMES,
ANIMPOS_DOWN
},
{
- IMG_MENU_TOONS,
+ IMG_GLOBAL_TOONS,
JUMPER_XSIZE, JUMPER_YSIZE,
JUMPER_X, JUMPER_Y,
JUMPER_FRAMES,
ANIMPOS_DOWN
},
{
- IMG_MENU_TOONS,
+ IMG_GLOBAL_TOONS,
CLOWN_XSIZE, CLOWN_YSIZE,
CLOWN_X, CLOWN_Y,
CLOWN_FRAMES,
ANIMPOS_ANY
},
{
- IMG_MENU_TOONS,
+ IMG_GLOBAL_TOONS,
BIRD_XSIZE, BIRD_YSIZE,
BIRD1_X, BIRD1_Y,
BIRD_FRAMES,
ANIMPOS_UPPER
},
{
- IMG_MENU_TOONS,
+ IMG_GLOBAL_TOONS,
BIRD_XSIZE, BIRD_YSIZE,
BIRD2_X, BIRD2_Y,
BIRD_FRAMES,
{
int graphic = toons[i].graphic;
- toons[i].bitmap = new_graphic_info[graphic].bitmap;
+ toons[i].bitmap = graphic_info[graphic].bitmap;
if (toons[i].src_x == -1 && toons[i].src_y == -1)
{
- int anim_frames = new_graphic_info[graphic].anim_frames;
- int anim_delay = new_graphic_info[graphic].anim_delay;
- int anim_mode = new_graphic_info[graphic].anim_mode;
- int start_frame = new_graphic_info[graphic].anim_start_frame;
+ int anim_frames = graphic_info[graphic].anim_frames;
+ int anim_delay = graphic_info[graphic].anim_delay;
+ int anim_mode = graphic_info[graphic].anim_mode;
+ int start_frame = graphic_info[graphic].anim_start_frame;
- toons[i].src_x = new_graphic_info[graphic].src_x;
- toons[i].src_y = new_graphic_info[graphic].src_y;
+ toons[i].src_x = graphic_info[graphic].src_x;
+ toons[i].src_y = graphic_info[graphic].src_y;
toons[i].width = TILEX;
toons[i].height = TILEY;