test/testsprite.c
changeset 1931 103c6fec2a60
parent 1907 06c27a737b7a
child 2784 9bbe3bd94be8
equal deleted inserted replaced
1930:9483df98e011 1931:103c6fec2a60
     1 /* Simple program:  Move N sprites around on the screen as fast as possible */
     1 /* Simple program:  Move N sprites around on the screen as fast as possible */
     2 
     2 
     3 #include <stdlib.h>
     3 #include <stdlib.h>
     4 #include <stdio.h>
     4 #include <stdio.h>
     5 #include <time.h>
     5 #include <time.h>
       
     6 #include <math.h>
     6 
     7 
     7 #include "SDL.h"
     8 #include "SDL.h"
     8 
     9 
     9 #define NUM_SPRITES	100
    10 #define NUM_SPRITES	100
    10 #define MAX_SPEED 	1
    11 #define MAX_SPEED 	1