• Home
  • Raw
  • Download

Lines Matching refs:sprites

398    struct sprite sprites[csprites];  in simpleover_process()  local
412 sprites[nsprites].width = sprites[nsprites].height = 0; in simpleover_process()
413 sprites[nsprites].name[0] = 0; in simpleover_process()
416 &sprites[nsprites].width, &sprites[nsprites].height, in simpleover_process()
417 sprites[nsprites].name, &tombstone); in simpleover_process()
420 sprites[nsprites].width > 0 && sprites[nsprites].height > 0) in simpleover_process()
425 if (sprites[nsprites].name[0] == 0) in simpleover_process()
426 sprintf(sprites[nsprites].name, "sprite-%d", nsprites+1); in simpleover_process()
432 buf_size *= sprites[nsprites].width; in simpleover_process()
433 buf_size *= sprites[nsprites].height; in simpleover_process()
437 tmp /= sprites[nsprites].width; in simpleover_process()
438 tmp /= sprites[nsprites].height; in simpleover_process()
442 sprites[nsprites].buffer = malloc(buf_size); in simpleover_process()
444 memset(sprites[nsprites].buffer, 0, buf_size); in simpleover_process()
446 if (sprites[nsprites].buffer != NULL) in simpleover_process()
448 sprites[nsprites].file = NULL; in simpleover_process()
451 if (create_sprite(sprites+nsprites++, &argc, &argv)) in simpleover_process()
469 argv[0], sprites[nsprites].width, sprites[nsprites].height); in simpleover_process()
490 if (strcmp(sprites[isprite].name, name) == 0) in simpleover_process()
492 if (!add_sprite(output, out_buf, sprites+isprite, &argc, &argv)) in simpleover_process()
519 if (sprites[nsprites].buffer != NULL) in simpleover_process()
520 free(sprites[nsprites].buffer); in simpleover_process()
522 if (sprites[nsprites].file != NULL) in simpleover_process()
523 (void)fclose(sprites[nsprites].file); in simpleover_process()