ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.22.tar.gz
[xscreensaver] / hacks / glx / polytopes.c
index 77aaa451862871c80c771114c77ae80d3121588a..f4043dcaa78cef7e110f8025cc092082bb790a99 100644 (file)
@@ -119,19 +119,8 @@ static const char sccsid[] = "@(#)polytopes.c  1.1 03/05/18 xlockmore";
 # define HACK_RESHAPE    reshape_polytopes
 # define polytopes_opts xlockmore_opts
 # define DEFAULTS        "*delay:      25000 \n" \
-                         "*showFPS:    False \n" \
-                         "*wireframe:  False \n" \
-                         "*displayMode: "  DEF_DISPLAY_MODE  " \n" \
-                         "*polytope: "     DEF_POLYTOPE      " \n" \
-                         "*colors: "       DEF_COLORS        " \n" \
-                         "*projection3d: " DEF_3D_PROJECTION " \n" \
-                         "*projection4d: " DEF_4D_PROJECTION " \n" \
-                         "speedwx: "       DEF_DALPHA        " \n" \
-                         "speedwy: "       DEF_DBETA         " \n" \
-                         "speedwz: "       DEF_DDELTA        " \n" \
-                         "speedxy: "       DEF_DZETA         " \n" \
-                         "speedxz: "       DEF_DETA          " \n" \
-                         "speedyz: "       DEF_DTHETA        " \n"
+                         "*showFPS:    False \n"
+
 # include "xlockmore.h"         /* from the xscreensaver distribution */
 #else  /* !STANDALONE */
 # include "xlock.h"             /* from the xlockmore distribution */
@@ -175,7 +164,7 @@ static const float offset3d[4] = {  0.0,  0.0, -2.0,  0.0 };
 
 static XrmOptionDescRec opts[] =
 {
-  {"-mesh",            ".polytopes.displayMode",  XrmoptionNoArg,
+  {"-wireframe",       ".polytopes.displayMode",  XrmoptionNoArg,
                        DISP_WIREFRAME_STR },
   {"-surface",         ".polytopes.displayMode",  XrmoptionNoArg,
                        DISP_SURFACE_STR },
@@ -232,7 +221,7 @@ static argtype vars[] =
 
 static OptionStruct desc[] =
 {
-  { "-mesh",            "display the polytope as a wireframe mesh" },
+  { "-wireframe",       "display the polytope as a wireframe mesh" },
   { "-surface",         "display the polytope as a solid surface" },
   { "-transparent",     "display the polytope as a transparent surface" },
   { "-solid",           "display the polytope as a solid object" },