-/* $Id: main.c,v 1.3 2011/03/11 00:23:06 mmondor Exp $ */
+/* $Id: main.c,v 1.4 2015/04/13 05:16:12 mmondor Exp $ */
/*
* SDL-based scrolling test
*
* This implementation attempts to implement similar scrolling using SDL in
* 32-bit depth at 640x480, relying on the fact that blitting outside of the
- * clipping area shouldn't happen.
+ * clipping area shouldn't happen. Although it can run decently on a fast
+ * computer, it appears to be a difficult task for SDL to perform efficiently.
+ *
+ * TODO:
+ * - Profile performance using various video modes
+ * - Profile performance using larger and smaller tiles
+ * - Display CPU time used by process along with the existing FPS report
*/
#include <stdbool.h>
#define SCREEN_HEIGHT 480
#define SCREEN_DEPTH 32
-#define FPS 90 /* 0 = unrestricted */
+#define FPS 60 /* 0 = unrestricted */
#define SHOWFPS true
#define TILE_IMG_WIDTH 640