int main(int argc, char **argv)
{
SDL_Init(SDL_INIT_VIDEO);
+#if USE_FULLSCREEN
screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, 32, SDL_DOUBLEBUF | SDL_FULLSCREEN);
+#else
+ screen = SDL_SetVideoMode(SCREEN_WIDTH, SCREEN_HEIGHT, 32, SDL_DOUBLEBUF);
+#endif
if (screen == NULL) {
fprintf(stderr, "Video initialization failed: %s\n", SDL_GetError());
exit(1);
#define SCREEN_HEIGHT 480
#define SCREEN_LCD 0
+#define USE_FULLSCREEN 1
+
/*
* This is used in the screens, mostly for historical reasons (they were
* first hard-coded to 800x600, and changing them to be resolution-independent