| 623 | /* Determine if window for given winid exists */ |
| 624 | |
| 625 | boolean |
| 626 | curses_window_exists(winid wid) |
| 627 | { |
| 628 | nethack_wid *widptr; |
| 629 | |
| 630 | for (widptr = nhwids; widptr; widptr = widptr->next_wid) |
| 631 | if (widptr->nhwid == wid) |
| 632 | return TRUE; |
| 633 | |
| 634 | return FALSE; |
| 635 | } |
| 636 | |
| 637 | |
| 638 | /* Return the orientation of the specified window */ |