Subversion Repositories Games.Rick Dangerous

Rev

Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 10
Line 35... Line 35...
35
 
35
 
36
 
36
 
37
extern U8 want_infinitelives;
37
extern U8 want_infinitelives;
38
extern U8 want_fullscreen;
38
extern U8 want_fullscreen;
39
extern U8 want_filter;
39
extern U8 want_filter;
-
 
40
extern U8 enable_endkey;
40
 
41
 
41
 
42
 
42
/*
43
/*
43
 * Fail
44
 * Fail
44
 */
45
 */
Line 54... Line 55...
54
               " -score <N> : Start directly with score N.\n"
55
               " -score <N> : Start directly with score N.\n"
55
               " -s <0-99>, --speed <0-99> : Set the game speed to a given value.\n"
56
               " -s <0-99>, --speed <0-99> : Set the game speed to a given value.\n"
56
               " -vol <0-10> : Set the sound volume to a given value.\n"
57
               " -vol <0-10> : Set the sound volume to a given value.\n"
57
               " -n, --nosound : Disable sound completely.\n"
58
               " -n, --nosound : Disable sound completely.\n"
58
               " -x, --togglefilter : Start with xBRZ filter disabled (F7 to enable).\n"
59
               " -x, --togglefilter : Start with xBRZ filter disabled (F7 to enable).\n"
59
               " -i, --infinitelives : Enable infinite lives.\n",
60
               " -i, --infinitelives : Enable infinite lives.\n"
-
 
61
               " -e, --noendkey : Disable END key.\n",
60
               msg);
62
               msg);
61
   exit (1);
63
   exit (1);
62
}
64
}
63
 
65
 
64
 
66
 
Line 127... Line 129...
127
      else if (!strcmp(argv[i], "-x") || !strcmp(argv[i], "--togglefilter"))
129
      else if (!strcmp(argv[i], "-x") || !strcmp(argv[i], "--togglefilter"))
128
         want_filter = FALSE;
130
         want_filter = FALSE;
129
 
131
 
130
      else if (!strcmp(argv[i], "-i") || !strcmp(argv[i], "--infinitelives"))
132
      else if (!strcmp(argv[i], "-i") || !strcmp(argv[i], "--infinitelives"))
131
         want_infinitelives = TRUE;
133
         want_infinitelives = TRUE;
-
 
134
 
-
 
135
      else if (!strcmp(argv[i], "-e") || !strcmp(argv[i], "--disableendkey"))
-
 
136
         enable_endkey = FALSE;
132
 
137
 
133
      else
138
      else
134
         sysarg_fail ("invalid argument(s)");
139
         sysarg_fail ("invalid argument(s)");
135
   }
140
   }
136
 
141