summaryrefslogtreecommitdiff
path: root/Movie.h
diff options
context:
space:
mode:
Diffstat (limited to 'Movie.h')
-rwxr-xr-xMovie.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/Movie.h b/Movie.h
index 3b2feba..576f618 100755
--- a/Movie.h
+++ b/Movie.h
@@ -1,7 +1,8 @@
1/* Opaque reference to Movie in 1/* Opaque reference to Movie in
2 Movie library 2 Movie library
3*/ 3*/
4typedef void* Movie; 4struct Movie;
5typedef struct Movie Movie;
5 6
6/* Initialise Movie handler 7/* Initialise Movie handler
7 - points is number of balls 8 - points is number of balls
@@ -15,7 +16,16 @@ void Movie_destroy( void );
15/* Load one movie from File 16/* Load one movie from File
16 - filename pointer to file containing 17 - filename pointer to file containing
17 Movie 18 Movie
18 - returns handle to the Movie 19 - returns handle to the Movie or NULL
20 on error
21
22File format is:
23 %d\n number of points for Cube
24 %d\n number of frames
25 %d\n frame rate
26 foreach frame
27 foreach point * point * point
28 %d%d%d RGB of pixel
19*/ 29*/
20Movie *Movie_loadmovie( char *filename ); 30Movie *Movie_loadmovie( char *filename );
21 31