![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Animations graphics and animations parameters. More...
Include dependency graph for n_anim.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ANIM_DATA |
| animation properties More... | |
| struct | ANIM_FRAME |
| struct of the properties of a frame in an animation More... | |
| struct | ANIM_GFX |
| struct of an animation More... | |
| struct | ANIM_LIB |
| structure of a library of gfxs More... | |
Functions | |
| int | add_bmp_to_lib (ANIM_LIB *lib, unsigned int pos, char *file, char *resfile) |
| add a bitmap to a ANIM_LIB *lib | |
| ANIM_LIB * | create_anim_library (char *name, unsigned int size) |
| Allocate an animation library. | |
| int | delete_bmp_from_lib (ANIM_LIB *lib, unsigned int id) |
| Delete the frame at 'id' from 'lib'. | |
| int | destroy_anim_lib (ANIM_LIB **lib) |
| Destroy an animation library. | |
| int | draw_anim (ANIM_DATA *data, int x, int y) |
| blit an ANIM_DATA at position x,y ( current selected video buffer is used ) | |
| int | update_anim (ANIM_DATA *data, unsigned int delta_t) |
| compute and update an ANIM_DATA context based on elapsed delta_t time in usecs | |
Animations graphics and animations parameters.
Definition in file n_anim.h.