equal
deleted
inserted
replaced
279 if ((int16)dpi->left > te->right || |
279 if ((int16)dpi->left > te->right || |
280 (int16)dpi->top > te->bottom || |
280 (int16)dpi->top > te->bottom || |
281 (int16)(dpi->left + dpi->width) <= te->x || |
281 (int16)(dpi->left + dpi->width) <= te->x || |
282 (int16)(dpi->top + dpi->height) <= te->y) |
282 (int16)(dpi->top + dpi->height) <= te->y) |
283 continue; |
283 continue; |
284 AddStringToDraw(te->x, te->y, te->string_id, te->params_1, te->params_2); |
284 AddStringToDraw(te->x, te->y, te->string_id, te->params_1, te->params_2, 0); |
285 } |
285 } |
286 } else if (dpi->zoom == 1) { |
286 } else if (dpi->zoom == 1) { |
287 for (te = _text_effect_list; te != endof(_text_effect_list); te++ ) { |
287 for (te = _text_effect_list; te != endof(_text_effect_list); te++ ) { |
288 if (te->string_id == 0xFFFF) |
288 if (te->string_id == 0xFFFF) |
289 continue; |
289 continue; |
292 if (dpi->left > te->right*2 - te->x || |
292 if (dpi->left > te->right*2 - te->x || |
293 dpi->top > te->bottom*2 - te->y || |
293 dpi->top > te->bottom*2 - te->y || |
294 (dpi->left + dpi->width) <= te->x || |
294 (dpi->left + dpi->width) <= te->x || |
295 (dpi->top + dpi->height) <= te->y) |
295 (dpi->top + dpi->height) <= te->y) |
296 continue; |
296 continue; |
297 AddStringToDraw(te->x, te->y, (StringID)(te->string_id-1), te->params_1, te->params_2); |
297 AddStringToDraw(te->x, te->y, (StringID)(te->string_id-1), te->params_1, te->params_2, 0); |
298 } |
298 } |
299 |
299 |
300 } |
300 } |
301 } |
301 } |
302 |
302 |