Rev 6379 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6379 | Rev 6385 | ||
---|---|---|---|
Line 234... | Line 234... | ||
234 | dec edi |
234 | dec edi |
235 | jnz screen_y |
235 | jnz screen_y |
Line 236... | Line 236... | ||
236 | 236 | ||
237 | fps: |
237 | fps: |
238 | ;calculate selection rect |
238 | ;calculate selection rect |
239 | cmp [instrument_used],1 |
239 | cmp [crossing],0 |
240 | jne .no_selection_rect |
240 | je .no_selection_rect |
241 | mov edx,[rectangular_shade_y] |
241 | mov edx,[rectangular_shade_y] |
242 | sub edx,[PosY] |
242 | sub edx,[PosY] |
243 | mov ecx,[rectangular_shade_x] |
243 | mov ecx,[rectangular_shade_x] |
244 | sub ecx,[PosX] |
244 | sub ecx,[PosX] |
245 | mov ebx,[OldY] |
245 | mov ebx,[crossing_old_y] |
246 | sub ebx,[PosY] |
246 | sub ebx,[PosY] |
247 | mov eax,[OldX] |
247 | mov eax,[crossing_old_x] |
248 | sub eax,[PosX] |
248 | sub eax,[PosX] |
249 | cmp [k],1 |
249 | cmp [k],1 |
250 | je .zo_1 |
250 | je .zo_1 |
251 | cmp eax,ecx |
251 | cmp eax,ecx |