texteff.c
changeset 534 306bc86eb23e
parent 425 97d601c182f0
child 543 946badd71033
equal deleted inserted replaced
533:404f9e37bff1 534:306bc86eb23e
    41 
    41 
    42 	te->string_id = msg;
    42 	te->string_id = msg;
    43 	te->duration = duration;
    43 	te->duration = duration;
    44 	te->y = y - 5;
    44 	te->y = y - 5;
    45 	te->bottom = y + 5;
    45 	te->bottom = y + 5;
    46 	te->params_1 = GET_DPARAM32(0);
    46 	te->params_1 = GetDParam(0);
    47 	te->params_2 = GET_DPARAM32(4);
    47 	te->params_2 = GetDParam(4);
    48 
    48 
    49 	GetString(buffer, msg);
    49 	GetString(buffer, msg);
    50 	w = GetStringWidth(buffer);
    50 	w = GetStringWidth(buffer);
    51 
    51 
    52 	te->x = x - (w >> 1);
    52 	te->x = x - (w >> 1);