$$$*/ ARGSUSED*/
(argcp, argv)
| 142 | /*$$$*/ |
| 143 | /*ARGSUSED*/ |
| 144 | void |
| 145 | Gem_init_nhwindows(argcp, argv) |
| 146 | int *argcp; |
| 147 | char **argv; |
| 148 | { |
| 149 | argv = argv, argcp = argcp; |
| 150 | colors_changed = TRUE; |
| 151 | |
| 152 | set_wc_option_mod_status(WC_ALIGN_MESSAGE | WC_ALIGN_STATUS |
| 153 | | WC_TILE_WIDTH | WC_TILE_HEIGHT |
| 154 | | WC_TILE_FILE, |
| 155 | set_gameview); |
| 156 | set_wc_option_mod_status( |
| 157 | WC_HILITE_PET | WC_SCROLL_MARGIN | WC_FONT_MESSAGE | WC_FONT_MAP |
| 158 | | WC_FONT_STATUS | WC_FONT_MENU | WC_FONT_TEXT |
| 159 | | WC_FONTSIZ_MESSAGE | WC_FONTSIZ_MAP | WC_FONTSIZ_STATUS |
| 160 | | WC_FONTSIZ_MENU | WC_FONTSIZ_TEXT | WC_VARY_MSGCOUNT, |
| 161 | set_in_game); |
| 162 | if (iflags.wc_align_message == 0) |
| 163 | iflags.wc_align_message = ALIGN_TOP; |
| 164 | if (iflags.wc_align_status == 0) |
| 165 | iflags.wc_align_status = ALIGN_BOTTOM; |
| 166 | if (iflags.wc_scroll_margin == 0) |
| 167 | iflags.wc_scroll_margin = DEF_CLIPAROUND_MARGIN; |
| 168 | if (iflags.wc_tile_width == 0) |
| 169 | iflags.wc_tile_width = TILE_X; |
| 170 | if (iflags.wc_tile_height == 0) |
| 171 | iflags.wc_tile_height = TILE_Y; |
| 172 | if (iflags.wc_tile_file && *iflags.wc_tile_file) |
| 173 | mar_set_tilefile(iflags.wc_tile_file); |
| 174 | if (iflags.wc_vary_msgcount == 0) |
| 175 | iflags.wc_vary_msgcount = 3; |
| 176 | mar_set_tile_mode( |
| 177 | !iflags.wc_ascii_map); /* MAR -- 17.Mar 2002 True is tiles */ |
| 178 | mar_set_tilex(iflags.wc_tile_width); |
| 179 | mar_set_tiley(iflags.wc_tile_height); |
| 180 | mar_set_msg_align(iflags.wc_align_message - ALIGN_BOTTOM); |
| 181 | mar_set_status_align(iflags.wc_align_status - ALIGN_BOTTOM); |
| 182 | if (mar_gem_init() == 0) { |
| 183 | bail((char *) 0); |
| 184 | /*NOTREACHED*/ |
| 185 | } |
| 186 | iflags.window_inited = TRUE; |
| 187 | |
| 188 | CO = 80; /* MAR -- whatsoever */ |
| 189 | LI = 25; |
| 190 | |
| 191 | add_menu_cmd_alias(' ', MENU_NEXT_PAGE); |
| 192 | mar_set_no_glyph(NO_GLYPH); |
| 193 | } |
| 194 | |
| 195 | void |
| 196 | Gem_player_selection() |
nothing calls this directly
no test coverage detected