tags 313033 patch I've creates a simple patch to work around the problem. by default, use GFX_AUTODETECT mode for maximal compatibility, unless provided with a "-f" paramater to force full screen mode.
diff -rcb kball-0.0.20041216/debian/kball.6 kball-0.0.20041216-idansof/debian/kball.6 *** kball-0.0.20041216/debian/kball.6 2005-06-11 15:46:36.000000000 +0300 --- kball-0.0.20041216-idansof/debian/kball.6 2005-06-11 15:46:00.000000000 +0300 *************** *** 59,65 **** Pressing <F1> in the map editor you will see a list with all the available commands. .SH "OPTIONS" These command line options are available: ! \-w Runs the game in a window instead of full screen. \-nosound Disables music and sound system. \-bpp16 Selects a 16 bits color depth. \-bpp15 Selects a 15 bits color depth. --- 59,66 ---- Pressing <F1> in the map editor you will see a list with all the available commands. .SH "OPTIONS" These command line options are available: ! \-w Runs the game in a window. ! \-f Runs the game in a full screen. \-nosound Disables music and sound system. \-bpp16 Selects a 16 bits color depth. \-bpp15 Selects a 15 bits color depth. diff -rcb kball-0.0.20041216/src/main.cpp kball-0.0.20041216-idansof/src/main.cpp *** kball-0.0.20041216/src/main.cpp 2004-08-14 23:38:27.000000000 +0300 --- kball-0.0.20041216-idansof/src/main.cpp 2005-06-11 15:43:43.000000000 +0300 *************** *** 73,79 **** int main(int argc, char *argv[] ) { int i; ! int vid_m = GFX_AUTODETECT_FULLSCREEN; // screen desired graphic mode int game_color_depth = -1; // default color depth, -1 = autodetect from desktop default int vid_w = 640; // desired video resolution int vid_h = 480; --- 73,79 ---- int main(int argc, char *argv[] ) { int i; ! int vid_m = GFX_AUTODETECT; // screen desired graphic mode int game_color_depth = -1; // default color depth, -1 = autodetect from desktop default int vid_w = 640; // desired video resolution int vid_h = 480; *************** *** 102,107 **** --- 102,110 ---- if (stricmp(argv[i], "-w") == 0) vid_m = GFX_AUTODETECT_WINDOWED; + if (stricmp(argv[i], "-f") == 0) + vid_m = GFX_AUTODETECT_FULLSCREEN; + if (stricmp(argv[i], "-bpp16") == 0) game_color_depth = 16;