Back to Evolution Project page
Main Page Class Hierarchy Alphabetical List Compound List File List Header Files Sources Compound Members File Members
sprite.c File Reference
Functions |
 |  | int | get_unit_from_pixelx (int pixel) |
 |  | int | get_unit_from_pixely (int pixel) |
 |  | void | read_sprite_from_file (FILE* f, sprite* sp, gchar *sp_dir) |
 |  | void | print_sprite_info (sprite* sp) |
 |  | void | read_all_sprites (char* filename, gchar *sp_dir) |
 |  | sprite* | get_sprite_from_id (GList *splist, int id) |
 |  | sprite_unit* | sprite_unit_add (GList **unit_list, sprite *sp, int x, int y) |
 |  | rect | add_sprite_on_unit (sprite *sp, int x, int y) |
 |  | int | can_place_sprite_on_unit (sprite *sp, int x, int y) |
 |  | rect | delete_sprite_on_unit (unit *unitmap, int x, int y) |
 |  | void | delete_sprite_unit (sprite_unit *sp_unit) |
 |  | int | save_level_to_file (FILE *f) |
 |  | int | open_level_from_file (FILE *f) |
 |  | void | resize_array_of_units (void) |
 |  | void | update_list_of_units (void) |
 |  | int | file_exists (gchar *fn) |
 |  | void | read_config (void) |
 |  | void | init_variables (void) |
Function Documentation
int get_unit_from_pixelx (int pixel)
|
int get_unit_from_pixely (int pixel)
|
void read_sprite_from_file (FILE * f, sprite * sp, gchar * sp_dir)
|
void print_sprite_info (sprite * sp)
|
void read_all_sprites (char * filename, gchar * sp_dir)
|
sprite * get_sprite_from_id (GList * splist, int id)
|
rect add_sprite_on_unit (sprite * sp, int x, int y)
|
int can_place_sprite_on_unit (sprite * sp, int x, int y)
|
rect delete_sprite_on_unit (unit * unitmap, int x, int y)
|
int save_level_to_file (FILE * f)
|
int open_level_from_file (FILE * f)
|
void resize_array_of_units (void)
|
void update_list_of_units (void)
|
int file_exists (gchar * fn)
|
void init_variables (void)
|
Generated at Mon Nov 6 22:47:01 2000 for TheGameofEvolution by
1.0.0 written by Dimitri van Heesch,
© 1997-1999