Back to Evolution Project page
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) |
int get_unit_from_pixelx (int pixel) |
Definition at line 10 of file evolutionle/src/sprite.c.
int get_unit_from_pixely (int pixel) |
Definition at line 14 of file evolutionle/src/sprite.c.
void read_sprite_from_file (FILE * f, sprite * sp, gchar * sp_dir) |
Definition at line 18 of file evolutionle/src/sprite.c.
void print_sprite_info (sprite * sp) |
Definition at line 65 of file evolutionle/src/sprite.c.
void read_all_sprites (char * filename, gchar * sp_dir) |
Definition at line 69 of file evolutionle/src/sprite.c.
sprite * get_sprite_from_id (GList * splist, int id) |
Definition at line 101 of file evolutionle/src/sprite.c.
sprite_unit * sprite_unit_add (GList ** unit_list, sprite * sp, int x, int y) |
Definition at line 118 of file evolutionle/src/sprite.c.
rect add_sprite_on_unit (sprite * sp, int x, int y) |
Definition at line 130 of file evolutionle/src/sprite.c.
int can_place_sprite_on_unit (sprite * sp, int x, int y) |
Definition at line 184 of file evolutionle/src/sprite.c.
rect delete_sprite_on_unit (unit * unitmap, int x, int y) |
Definition at line 203 of file evolutionle/src/sprite.c.
void delete_sprite_unit (sprite_unit * sp_unit) |
Definition at line 235 of file evolutionle/src/sprite.c.
int save_level_to_file (FILE * f) |
Definition at line 253 of file evolutionle/src/sprite.c.
int open_level_from_file (FILE * f) |
Definition at line 313 of file evolutionle/src/sprite.c.
void resize_array_of_units (void) |
Definition at line 360 of file evolutionle/src/sprite.c.
void update_list_of_units (void) |
Definition at line 418 of file evolutionle/src/sprite.c.
int file_exists (gchar * fn) |
Definition at line 472 of file evolutionle/src/sprite.c.
void read_config (void) |
Definition at line 482 of file evolutionle/src/sprite.c.
void init_variables (void) |
Definition at line 519 of file evolutionle/src/sprite.c.