Home | History | Annotate | Download | only in hack

Lines Matching defs:opts

79 	char           *opts;
89 if ((opts = getenv("HACKOPTIONS")) != NULL)
90 parseoptions(opts, TRUE);
94 parseoptions(char *opts, boolean from_env)
100 if ((op = strchr(opts, ',')) != NULL) {
104 if ((op = strchr(opts, ' ')) != NULL) {
110 if (!*opts)
113 while ((*opts == '!') || !strncmp(opts, "no", 2)) {
114 if (*opts == '!')
115 opts++;
117 opts += 2;
121 if (!strncmp(opts, "standout", 8)) {
125 if (!strncmp(opts, "null", 3)) {
129 if (!strncmp(opts, "tombstone", 4)) {
133 if (!strncmp(opts, "news", 4)) {
137 if (!strncmp(opts, "time", 4)) {
142 if (!strncmp(opts, "restonspace", 4)) {
146 if (!strncmp(opts, "fixinv", 4)) {
153 if (!strncmp(opts, "male", 4)) {
157 if (!strncmp(opts, "female", 6)) {
162 if (!strncmp(opts, "name", 4)) {
167 op = strchr(opts, ':');
174 if (!strncmp(opts, "endgame", 3)) {
175 op = strchr(opts, ':');
210 if (!strncmp(opts, "help", 4)) {
227 pline("Bad option: %s.", opts);