Rev 1446 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1446 | Rev 2285 | ||
---|---|---|---|
Line 256... | Line 256... | ||
256 | first_click: |
256 | first_click: |
257 | mov [FirstClick], eax |
257 | mov [FirstClick], eax |
258 | jmp @b |
258 | jmp @b |
Line 259... | Line 259... | ||
259 | 259 | ||
260 | draw_window: |
- | |
261 | push 48 |
260 | draw_window: |
262 | pop eax |
- | |
263 | push 3 |
261 | mov eax, 48 |
264 | pop ebx |
262 | mov ebx, 3 |
265 | mov ecx, color_table |
- | |
266 | push 4*10 |
263 | mov ecx, color_table |
267 | pop edx |
264 | mov edx, 40 |
268 | int 0x40 ; get color table |
265 | int 0x40 ; get color table |
269 | push 12 |
266 | |
270 | pop eax |
- | |
271 | push 1 |
267 | mov eax, 12 |
272 | pop ebx |
268 | mov ebx, 1 |
273 | int 0x40 ; start redraw |
269 | int 0x40 ; start redraw |
274 | push ebx |
270 | |
275 | xor eax, eax |
271 | xor eax, eax |
276 | mov ebx, 100*65536 + WindowWidth |
272 | mov ebx, 100*65536 + WindowWidth |
277 | mov ecx, 100*65536 + WindowHeight |
273 | mov ecx, 100*65536 + WindowHeight |
278 | add ecx, [SkinHeight] |
274 | add ecx, [SkinHeight] |
279 | mov edx, 4C0C0C0h |
- | |
280 | int 0x40 ; define window |
- | |
281 | mov al, 71 |
- | |
282 | pop ebx |
275 | mov edx, 0x14C0C0C0 |
283 | mov ecx, caption |
276 | mov edi, caption |
- | 277 | int 0x40 |
|
284 | int 0x40 ; set caption |
278 | |
285 | call draw_aux |
279 | call draw_aux |
286 | call draw_field |
280 | call draw_field |
287 | push 12 |
281 | |
288 | pop eax |
- | |
289 | push 2 |
282 | mov eax, 12 |
290 | pop ebx |
283 | mov ebx, 2 |
- | 284 | int 0x40 ; end redraw |
|
291 | int 0x40 |
285 | |
Line 292... | Line 286... | ||
292 | ret |
286 | ret |
Line 293... | Line 287... | ||
293 | 287 |