comparison rogue3/command.c @ 3:e551d384f7c6

Rest on '.' instead of ' ', like all the other roguelikes
author edwarj4
date Thu, 15 Oct 2009 01:22:54 +0000
parents 527e2150eaf0
children 78df7025783b
comparison
equal deleted inserted replaced
2:e676d52b5d09 3:e551d384f7c6
94 case 'h': case 'j': case 'k': case 'l': 94 case 'h': case 'j': case 'k': case 'l':
95 case 'y': case 'u': case 'b': case 'n': 95 case 'y': case 'u': case 'b': case 'n':
96 case 'H': case 'J': case 'K': case 'L': 96 case 'H': case 'J': case 'K': case 'L':
97 case 'Y': case 'U': case 'B': case 'N': 97 case 'Y': case 'U': case 'B': case 'N':
98 case 'q': case 'r': case 's': case 'f': 98 case 'q': case 'r': case 's': case 'f':
99 case 't': case 'C': case 'I': case ' ': 99 case 't': case 'C': case 'I': case '.':
100 case 'z': case 'p': 100 case 'z': case 'p':
101 break; 101 break;
102 default: 102 default:
103 count = 0; 103 count = 0;
104 } 104 }
189 wclrtoeol(cw); 189 wclrtoeol(cw);
190 draw(cw); 190 draw(cw);
191 endwin(); 191 endwin();
192 exit(0); 192 exit(0);
193 } 193 }
194 when ' ' : ; /* Rest command */ 194 when '.' : ; /* Rest command */
195 when CTRL('P') : 195 when CTRL('P') :
196 after = FALSE; 196 after = FALSE;
197 if (wizard) 197 if (wizard)
198 { 198 {
199 wizard = FALSE; 199 wizard = FALSE;