Mercurial > sdl-ios-xcode
comparison test/testsprite.c @ 1931:103c6fec2a60
The Mac OS X Cocoa video driver is under construction...
Note that SDLmain is no longer necessary on Mac OS X. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 23 Jul 2006 09:11:10 +0000 |
parents | 06c27a737b7a |
children | 9bbe3bd94be8 |
comparison
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 |