add: } else if (!strcmp(argv[i],"-fps")) { gfxflags |= TFB_GFXFLAGS_SHOWFPS;
context: main (int argc, char *argv[]){	int i;	int gfxdriver = TFB_GFXDRIVER_SDL_PURE;	int gfxflags = 0;	int width = 640, height = 480, bpp = 16;	int frequency = 44100;	// TODO: proper commandline parser, this is just a quick hack	for (i=1;i<argc;++i) 	{		if (!strcmp(argv[i],"-res")) 		{			i++;			sscanf(argv[i],"%dx%d",&width,&height);		}		else if (!strcmp(argv[i],"-bpp")) 		{			i++;			sscanf(argv[i],"%d",&bpp);		}		else if (!strcmp(argv[i],"-fullscreen")) 		{			gfxflags |= TFB_GFXFLAGS_FULLSCREEN;		}		else if (!strcmp(argv[i],"-opengl")) 		{			gfxdriver = TFB_GFXDRIVER_SDL_OPENGL;			gfxflags |= TFB_GFXFLAGS_BILINEAR_FILTERING;		}		else if (!strcmp(argv[i],"-linear")) 		{			gfxflags &= ~TFB_GFXFLAGS_BILINEAR_FILTERING;		}		else if (!strcmp(argv[i],"-frequency"))		{			i++;			sscanf(argv[i],"%d",&frequency);		}	}	TFB_InitGraphics (gfxdriver, gfxflags, width, height, bpp);	TFB_InitSound (TFB_SOUNDDRIVER_SDL, 0, frequency);	TFB_InitInput (TFB_INPUTDRIVER_SDL, 0);	TFB_CreateGamePlayThread ();	for (;;)	{		TFB_ProcessEvents ();		TFB_FlushGraphics ();	}	return 0;}