diff options
author | Philipp Wiesemann <philipp.wiesemann@arcor.de> | 2016-10-09 20:30:49 +0200 |
---|---|---|
committer | Philipp Wiesemann <philipp.wiesemann@arcor.de> | 2016-10-09 20:30:49 +0200 |
commit | 1be57de9086ed0688ed1fdb77849d77a3c417c0d (patch) | |
tree | a6608553a23d398f215f7404c7e89c338ef1b634 /Xcode-iOS/Demos/README | |
parent | 7ec488f511ea7620b651dcf5915a87e2316a7a65 (diff) |
iOS: Updated demo README.
Diffstat (limited to 'Xcode-iOS/Demos/README')
-rw-r--r-- | Xcode-iOS/Demos/README | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xcode-iOS/Demos/README b/Xcode-iOS/Demos/README index 7f68b42bee..da6fb74908 100644 --- a/Xcode-iOS/Demos/README +++ b/Xcode-iOS/Demos/README @@ -2,15 +2,15 @@ About the iPhone OS Demo Applications ============================================================================== -Demos.xcodeproj contains several targets for iPhone oriented SDL demos. These demos are written strictly using SDL 2.0 calls. All the demos except for Fireworks (which requires OpenGL ES) should work on platforms other than iPhone OS, though you'll need to write your own compile script. To run them on your favorite platform, you may wish to set the macros SCREEN_WIDTH and SCREEN_HEIGHT, located in common.h. +Demos.xcodeproj contains several targets for iPhone oriented SDL demos. These demos are written strictly using SDL 2.0 calls. All the demos except for Fireworks (which requires OpenGL ES) should work on platforms other than iPhone OS, though you'll need to write your own compile script. Common files: - common.c and common.h contain code common to all demo applications. This includes macros about the screen dimensions (in pixels), simple error handling, and functions for generating random numbers. + common.c and common.h contain code common to all demo applications. This includes functions about delta timing (in seconds), simple error handling, and functions for generating random numbers. Rectangles (rectangles.c): - Draws randomly sized and colored rectangles all over the screen by using SDL_RenderFill. This is the simplest of all the demos. + Draws randomly sized and colored rectangles all over the screen by using SDL_RenderFillRect. This is the simplest of all the demos. Happy (happy.c): |