Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5131 clevermous 1
SDL_flic version 1.2
2
 
3
http://www.geocities.com/andre_leiradella/
4
 
5
For copyright information see the source files.
6
 
7
SDL_flic is a small library that renders frames of FLI and FLC animation files.
8
 
9
The library has been tested with under Windows but should work on any platform.
10
The functions provided are:
11
 
12
. int FLI_Version(void): Returns the library version in the format
13
  MAJOR << 16 | MINOR.
14
. FLI_Animation *FLI_Open(SDL_RWops *rwops, int *error): Opens a FLIC animation
15
  and returns a pointer to it. rwops is left at the same point it was before
16
  the the call. error receives the result of the call.
17
. void FLI_Close(FLI_Animation *flic): Closes the animation, closes the stream
18
  and frees all used memory.
19
. int FLI_NextFrame(FLI_Animation *flic): Renders the next frame of the
20
  animation returning an int to indicate if it was successfull or not.
21
. int FLI_Rewind(FLI_Animation *flic): Rewinds the animation to the first
22
  frame.
23
. int FLI_Skip(FLI_Animation *flic): Skips the current frame without rendering
24
  it.
25
 
26
TODO:
27
 
28
. Handle other formats of FLIC animation.
29
. Play animation inside a thread?
30
. What else? Tell me: leiradella@bigfoot.com
31