comparison xrogue/help.c @ 220:f54901b9c39b

XRogue: convert to ANSI-style function declarations.
author John "Elwin" Edwards
date Wed, 02 Mar 2016 21:13:26 -0500
parents e6179860cb76
children 0250220d8cdd
comparison
equal deleted inserted replaced
219:f9ef86cf22b2 220:f54901b9c39b
297 HORZWALL, " Horizontal wall of a room", 297 HORZWALL, " Horizontal wall of a room",
298 VERTWALL, " Vertical wall of a room", 298 VERTWALL, " Vertical wall of a room",
299 0, 0 299 0, 0
300 }; 300 };
301 301
302 ident_hero() 302 void
303 ident_hero(void)
303 { 304 {
304 bool doit = TRUE; 305 bool doit = TRUE;
305 306
306 wclear(hw); 307 wclear(hw);
307 wprintw(hw, "Characters, Items, and Game Descriptions:\n"); 308 wprintw(hw, "Characters, Items, and Game Descriptions:\n");
473 474
474 /* 475 /*
475 * Real Help 476 * Real Help
476 */ 477 */
477 478
478 help() 479 void
480 help(void)
479 { 481 {
480 register struct h_list *strp = helpstr; 482 register struct h_list *strp = helpstr;
481 register struct item_list *itemp = item_help; 483 register struct item_list *itemp = item_help;
482 struct h_list *wizp = wiz_help; 484 struct h_list *wizp = wiz_help;
483 register char helpch; 485 register char helpch;
585 /* 587 /*
586 * identify: 588 * identify:
587 * Tell the player what a certain thing is. 589 * Tell the player what a certain thing is.
588 */ 590 */
589 591
590 identify(ch) 592 void
591 register unsigned char ch; 593 identify(unsigned char ch)
592 { 594 {
593 register char *str = NULL; 595 register char *str = NULL;
594 596
595 if (ch == 0) { 597 if (ch == 0) {
596 msg("What do you want identified? "); 598 msg("What do you want identified? ");