Ignore:
Timestamp:
Nov 16, 2003, 1:33:35 AM (19 years ago)
Author:
Sam Hocevar
Message:
  • Renamed libee to libcaca. Far less collisions.
Location:
libcaca/trunk/libcaca
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/libcaca/caca.h

    r184 r185  
    11/*
    2  *   libee         ASCII-Art library
     2 *   libcaca       ASCII-Art library
    33 *   Copyright (c) 2002, 2003 Sam Hocevar <sam@zoy.org>
    44 *                 All Rights Reserved
     
    3232 * Colors
    3333 */
    34 enum ee_colors
     34enum caca_colors
    3535{
    3636    EE_BLACK = 0,
     
    5555 * Types
    5656 */
    57 struct ee_sprite;
     57struct caca_sprite;
    5858
    5959/*
    6060 * Prototypes
    6161 */
    62 int ee_init(void);
    63 void ee_set_delay(unsigned int);
    64 unsigned int ee_get_rendertime(void);
    65 unsigned int ee_get_width(void);
    66 unsigned int ee_get_height(void);
    67 const char *ee_get_color_name(unsigned int);
    68 void ee_refresh(void);
    69 void ee_end(void);
     62int caca_init(void);
     63void caca_set_delay(unsigned int);
     64unsigned int caca_get_rendertime(void);
     65unsigned int caca_get_width(void);
     66unsigned int caca_get_height(void);
     67const char *caca_get_color_name(unsigned int);
     68void caca_refresh(void);
     69void caca_end(void);
    7070
    71 char ee_get_key(void);
     71char caca_get_key(void);
    7272
    73 void ee_set_color(int);
    74 int ee_get_color(void);
    75 void ee_putchar(int, int, char);
    76 void ee_putstr(int, int, const char *);
    77 void ee_printf(int, int, const char *, ...);
    78 void ee_clear(void);
     73void caca_set_color(int);
     74int caca_get_color(void);
     75void caca_putchar(int, int, char);
     76void caca_putstr(int, int, const char *);
     77void caca_printf(int, int, const char *, ...);
     78void caca_clear(void);
    7979
    80 void ee_draw_line(int, int, int, int, char);
    81 void ee_draw_polyline(const int[], const int[], int, char);
    82 void ee_draw_thin_line(int, int, int, int);
    83 void ee_draw_thin_polyline(const int[], const int[], int);
     80void caca_draw_line(int, int, int, int, char);
     81void caca_draw_polyline(const int[], const int[], int, char);
     82void caca_draw_thin_line(int, int, int, int);
     83void caca_draw_thin_polyline(const int[], const int[], int);
    8484
    85 void ee_draw_circle(int, int, int, char);
    86 void ee_draw_ellipse(int, int, int, int, char);
    87 void ee_draw_thin_ellipse(int, int, int, int);
    88 void ee_fill_ellipse(int, int, int, int, char);
     85void caca_draw_circle(int, int, int, char);
     86void caca_draw_ellipse(int, int, int, int, char);
     87void caca_draw_thin_ellipse(int, int, int, int);
     88void caca_fill_ellipse(int, int, int, int, char);
    8989
    90 void ee_draw_box(int, int, int, int, char);
    91 void ee_draw_thin_box(int, int, int, int);
    92 void ee_fill_box(int, int, int, int, char);
     90void caca_draw_box(int, int, int, int, char);
     91void caca_draw_thin_box(int, int, int, int);
     92void caca_fill_box(int, int, int, int, char);
    9393
    94 void ee_draw_triangle(int, int, int, int, int, int, char);
    95 void ee_draw_thin_triangle(int, int, int, int, int, int);
    96 void ee_fill_triangle(int, int, int, int, int, int, char);
     94void caca_draw_triangle(int, int, int, int, int, int, char);
     95void caca_draw_thin_triangle(int, int, int, int, int, int);
     96void caca_fill_triangle(int, int, int, int, int, int, char);
    9797
    98 int ee_rand(int, int);
    99 unsigned int ee_sqrt(unsigned int);
     98int caca_rand(int, int);
     99unsigned int caca_sqrt(unsigned int);
    100100
    101 struct ee_sprite * ee_load_sprite(const char *);
    102 int ee_get_sprite_frames(struct ee_sprite *);
    103 int ee_get_sprite_width(struct ee_sprite *, int);
    104 int ee_get_sprite_height(struct ee_sprite *, int);
    105 int ee_get_sprite_dx(struct ee_sprite *, int);
    106 int ee_get_sprite_dy(struct ee_sprite *, int);
    107 void ee_draw_sprite(int, int, struct ee_sprite *, int);
    108 void ee_free_sprite(struct ee_sprite *);
     101struct caca_sprite * caca_load_sprite(const char *);
     102int caca_get_sprite_frames(struct caca_sprite *);
     103int caca_get_sprite_width(struct caca_sprite *, int);
     104int caca_get_sprite_height(struct caca_sprite *, int);
     105int caca_get_sprite_dx(struct caca_sprite *, int);
     106int caca_get_sprite_dy(struct caca_sprite *, int);
     107void caca_draw_sprite(int, int, struct caca_sprite *, int);
     108void caca_free_sprite(struct caca_sprite *);
    109109
    110 void ee_blit(int, int, int, int, void *, int, int);
     110void caca_blit(int, int, int, int, void *, int, int);
    111111
    112112#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.