+SDL_Rect *
+GetNextPoint (void)
+{
+ static SDL_Rect rect = {0, 0, WIDTH, HEIGHT};
+ rect.x = (rect.x++) % WIDTH;
+ rect.y = (rect.y++) % HEIGHT;
+ return ▭
+}
+
+void
+ShowPoint (SDL_Surface *screen, SDL_Surface *image, SDL_Rect *rect)
+{
+ SDL_BlitSurface (image, rect, screen, NULL);
+ SDL_UpdateRect (screen, 0, 0, 0, 0);
+}
+
+Uint32
+ShowNext (Uint32 interval, void *data)
+{
+ SDL_UserEvent event;
+ event.type = SDL_USEREVENT;
+ event.code = 0;
+ SDL_PushEvent ((SDL_Event *) &event);
+ return 33;
+}
+