Mercurial > hg > early-roguelike
comparison srogue/main.c @ 86:8757a0593e6e
srogue: add arrow-key support.
This is a first attempt which may not be completely portable.
| author | John "Elwin" Edwards | 
|---|---|
| date | Sat, 10 Aug 2013 17:43:58 -0700 | 
| parents | 3aa87373c908 | 
| children | 88ab59f06dfc | 
   comparison
  equal
  deleted
  inserted
  replaced
| 85:d852b8f088c5 | 86:8757a0593e6e | 
|---|---|
| 233 /* Set up windows */ | 233 /* Set up windows */ | 
| 234 | 234 | 
| 235 cw = newwin(0, 0, 0, 0); | 235 cw = newwin(0, 0, 0, 0); | 
| 236 mw = newwin(0, 0, 0, 0); | 236 mw = newwin(0, 0, 0, 0); | 
| 237 hw = newwin(0, 0, 0, 0); | 237 hw = newwin(0, 0, 0, 0); | 
| 238 keypad(cw, 1); | |
| 238 waswizard = wizard; | 239 waswizard = wizard; | 
| 239 | 240 | 
| 240 /* Draw current level */ | 241 /* Draw current level */ | 
| 241 | 242 | 
| 242 new_level(NORMLEV); | 243 new_level(NORMLEV); | 
