Changeset 653 for libcaca/trunk/src


Ignore:
Timestamp:
Mar 21, 2006, 10:52:32 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of useless parameters in cucul_*_bitmap and cucul_*_sprite.
Location:
libcaca/trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/aafire.c

    r568 r653  
    142142#ifdef LIBCACA
    143143  cucul_bitmap = cucul_create_bitmap(qq, 8, XSIZ, YSIZ - 2, XSIZ, 0, 0, 0, 0);
    144   cucul_set_bitmap_palette(qq, cucul_bitmap, r, g, b, a);
     144  cucul_set_bitmap_palette(cucul_bitmap, r, g, b, a);
    145145  bitmap = malloc(4 * cucul_get_width(qq) * cucul_get_height(qq) * sizeof(char));
    146146  memset(bitmap, 0, 4 * cucul_get_width(qq) * cucul_get_height(qq));
  • libcaca/trunk/src/cacaball.c

    r647 r653  
    124124
    125125        /* Set the palette */
    126         cucul_set_bitmap_palette(qq, cucul_bitmap, r, g, b, a);
     126        cucul_set_bitmap_palette(cucul_bitmap, r, g, b, a);
    127127
    128128        /* Silly paths for our balls */
     
    158158    /* End, bye folks */
    159159end:
    160     cucul_free_bitmap(qq, cucul_bitmap);
     160    cucul_free_bitmap(cucul_bitmap);
    161161    caca_detach(kk);
    162162    cucul_end(qq);
  • libcaca/trunk/src/cacamoir.c

    r614 r653  
    8989        blue[1] = 0.5 * (1 + cos(0.05 * frame + 5.0)) * 0xfff;
    9090
    91         cucul_set_bitmap_palette(qq, bitmap, red, green, blue, alpha);
     91        cucul_set_bitmap_palette(bitmap, red, green, blue, alpha);
    9292
    9393        /* Draw circles */
     
    110110
    111111end:
    112     cucul_free_bitmap(qq, bitmap);
     112    cucul_free_bitmap(bitmap);
    113113    caca_detach(kk);
    114114    cucul_end(qq);
  • libcaca/trunk/src/cacaplas.c

    r649 r653  
    100100
    101101        /* Set the palette */
    102         cucul_set_bitmap_palette(qq, bitmap, red, green, blue, alpha);
     102        cucul_set_bitmap_palette(bitmap, red, green, blue, alpha);
    103103
    104104        do_plasma(screen,
     
    122122
    123123end:
    124     cucul_free_bitmap(qq, bitmap);
     124    cucul_free_bitmap(bitmap);
    125125    caca_detach(kk);
    126126    cucul_end(qq);
  • libcaca/trunk/src/cacaview.c

    r540 r653  
    488488#endif
    489489    if(bitmap)
    490         cucul_free_bitmap(qq, bitmap);
     490        cucul_free_bitmap(bitmap);
    491491    bitmap = NULL;
    492492}
     
    691691
    692692    if(bpp == 8)
    693         cucul_set_bitmap_palette(qq, bitmap, red, green, blue, alpha);
     693        cucul_set_bitmap_palette(bitmap, red, green, blue, alpha);
    694694#endif
    695695}
Note: See TracChangeset for help on using the changeset viewer.