Mercurial > mm7
comparison UI/UICharacter.cpp @ 2100:e460ca22fe8a
Dialogue option selection is frozen fix
author | Ritor1 |
---|---|
date | Fri, 13 Dec 2013 22:19:56 +0600 |
parents | 52415f8bf7c2 |
children | 68fbaf45ef66 |
comparison
equal
deleted
inserted
replaced
2099:7edf389d49fc | 2100:e460ca22fe8a |
---|---|
1931 pButton->uY = 0; | 1931 pButton->uY = 0; |
1932 pButton->uX = 0; | 1932 pButton->uX = 0; |
1933 } | 1933 } |
1934 } | 1934 } |
1935 first_rows = 0; | 1935 first_rows = 0; |
1936 // a5 = pGUIWindow_CurrentMenu->uNumControls; | 1936 int a5 = pGUIWindow_CurrentMenu->uNumControls; |
1937 curr_player = &pParty->pPlayers[uActiveCharacter-1]; | 1937 curr_player = &pParty->pPlayers[uActiveCharacter-1]; |
1938 | 1938 |
1939 uCurrFontHeght=pFontLucida->uFontHeight; | 1939 uCurrFontHeght=pFontLucida->uFontHeight; |
1940 current_Y = 2 *uCurrFontHeght + 13; | 1940 current_Y = 2 *uCurrFontHeght + 13; |
1941 for( i = 0; i < 9; ++i ) | 1941 for( i = 0; i < 9; ++i ) |
1988 pGUIWindow_CurrentMenu->CreateButton(246, current_Y, 204, uCurrFontHeght - 3, 3, skill_id | 0x8000, UIMSG_SkillUp, skill_id, 0, "", 0, 0); | 1988 pGUIWindow_CurrentMenu->CreateButton(246, current_Y, 204, uCurrFontHeght - 3, 3, skill_id | 0x8000, UIMSG_SkillUp, skill_id, 0, "", 0, 0); |
1989 } | 1989 } |
1990 } | 1990 } |
1991 | 1991 |
1992 if ( buttons_count ) | 1992 if ( buttons_count ) |
1993 pGUIWindow_CurrentMenu->_41D08F_set_keyboard_control_group(buttons_count, 1, 0, pGUIWindow_CurrentMenu->uNumControls); | 1993 pGUIWindow_CurrentMenu->_41D08F_set_keyboard_control_group(buttons_count, 1, 0, a5); |
1994 } | 1994 } |
1995 | 1995 |
1996 //----- (00418511) -------------------------------------------------------- | 1996 //----- (00418511) -------------------------------------------------------- |
1997 void CharacterUI_StatsTab_Draw( Player *player ) | 1997 void CharacterUI_StatsTab_Draw( Player *player ) |
1998 { | 1998 { |