(from <Someone>)
> Questions are being appended in the message window, some showing > up on the same line. This is really noticeable with the > end-of-game disclosure questions. Questions should always be > presented on a new line. At end of game is probably the only place, since then more than one question is asked in the same turn. Anyhow, here's the patch, in mswproc.c [...] - No checkboxes in menu if menu is PICK_NONE. mhmenu.c - About box changed to splash screen. This last thing is open for discussion, as the splash screen currently does not give exactly the ame information as the about box (or the v command). Maybe the splash should be enhanced? Anyway, it looks better than the About-box. I didn't remove the About-box code and resource yet until this discussion is had. mhmain.c <Someone>
This commit is contained in:
@@ -1427,6 +1427,7 @@ char mswin_yn_function(const char *question, const char *choices,
|
||||
SendMessage(mswin_hwnd_from_winid(WIN_MESSAGE),
|
||||
WM_MSNH_COMMAND, (WPARAM)MSNH_MSG_CARET, (LPARAM)&createcaret );
|
||||
|
||||
mswin_clear_nhwindow(WIN_MESSAGE);
|
||||
mswin_putstr(WIN_MESSAGE, ATR_BOLD, message);
|
||||
|
||||
/* Only here if main window is not present */
|
||||
@@ -1490,6 +1491,7 @@ void mswin_getlin(const char *question, char *input)
|
||||
SendMessage(mswin_hwnd_from_winid(WIN_MESSAGE),
|
||||
WM_MSNH_COMMAND, (WPARAM)MSNH_MSG_CARET, (LPARAM)&createcaret );
|
||||
|
||||
mswin_clear_nhwindow(WIN_MESSAGE);
|
||||
mswin_putstr_ex(WIN_MESSAGE, ATR_BOLD, question, 0);
|
||||
mswin_putstr_ex(WIN_MESSAGE, ATR_BOLD, " ", 1);
|
||||
input[0] = '\0';
|
||||
@@ -1562,6 +1564,7 @@ int mswin_get_ext_cmd()
|
||||
|
||||
cmd[0] = '\0';
|
||||
i = -2;
|
||||
mswin_clear_nhwindow(WIN_MESSAGE);
|
||||
mswin_putstr_ex(WIN_MESSAGE, ATR_BOLD, "#", 0);
|
||||
len = 0;
|
||||
ShowCaret(mswin_hwnd_from_winid(WIN_MESSAGE));
|
||||
|
||||
Reference in New Issue
Block a user