Mercurial > mm7
comparison Keyboard.cpp @ 3:bf31c505f4d3
13.01.13(MainMenuMessageProc())
author | Ritor1 |
---|---|
date | Sun, 13 Jan 2013 17:41:47 +0600 |
parents | 9c0607679772 |
children | f4d7a9a8c363 2b0c652cc165 |
comparison
equal
deleted
inserted
replaced
2:89240115d392 | 3:bf31c505f4d3 |
---|---|
109 for (uint i = 0; i < 30; ++i) | 109 for (uint i = 0; i < 30; ++i) |
110 GetAsyncKeyState(pVirtualKeyCodesMapping[i]); | 110 GetAsyncKeyState(pVirtualKeyCodesMapping[i]); |
111 } | 111 } |
112 | 112 |
113 //----- (00459E5A) -------------------------------------------------------- | 113 //----- (00459E5A) -------------------------------------------------------- |
114 void KeyboardActionMapping::_459E5A(int a2, int a3, GUIWindow *pWindow) | 114 void KeyboardActionMapping::EnterText(int a2, int pNumWord, GUIWindow *pWindow) |
115 { | 115 { |
116 KeyboardActionMapping *v4; // esi@1 | 116 KeyboardActionMapping *v4; // esi@1 |
117 | 117 |
118 v4 = this; | 118 v4 = this; |
119 memset(this->pPressedKeysBuffer, 0, 0x101u); | 119 memset(this->pPressedKeysBuffer, 0, 0x101u); |
120 v4->uNumKeysPressed = 0; | 120 v4->uNumKeysPressed = 0; |
121 if ( a2 ) | 121 if ( a2 ) |
122 v4->field_204 = 2; | 122 v4->field_204 = 2; |
123 else | 123 else |
124 v4->field_204 = 1; | 124 v4->field_204 = 1; |
125 v4->field_FC = a3; | 125 v4->field_FC = pNumWord; |
126 v4->pWindow = pWindow; | 126 v4->pWindow = pWindow; |
127 pWindow->field_40 = 1; | 127 pWindow->field_40 = 1; |
128 if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) ) | 128 if ( LOBYTE(pGame->pKeyboardInstance->bUsingAsynKeyboard) ) |
129 { | 129 { |
130 if ( pAsyncKeyboard ) | 130 if ( pAsyncKeyboard ) |