Skip to content
Permalink
Browse files

iOS: Updated demo README.

  • Loading branch information
philippwiesemann committed Oct 9, 2016
1 parent 42f85aa commit f662f680668d1abee7b33120e055915722816342
Showing with 3 additions and 3 deletions.
  1. +3 −3 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):

0 comments on commit f662f68

Please sign in to comment.