| 252 | } |
| 253 | |
| 254 | S32 ROMFont::DrawString(S32 param_1, S32 param_2, char* string) |
| 255 | { |
| 256 | S32 iVar1; |
| 257 | S32 x; |
| 258 | S32 y; |
| 259 | S32 width; |
| 260 | void* image[3]; |
| 261 | |
| 262 | iVar1 = 0; |
| 263 | while (*string != '\0') |
| 264 | { |
| 265 | string = OSGetFontTexture(string, image, (s32*)&x, (s32*)&y, (s32*)&width); |
| 266 | ROMFont::LoadSheet(image[0]); |
| 267 | ROMFont::DrawCell(param_1 + iVar1, param_2, x, y); |
| 268 | iVar1 = iVar1 + width; |
| 269 | } |
| 270 | return iVar1; |
| 271 | } |
| 272 | |
| 273 | S32 ROMFont::GetWidth(char* string) |
| 274 | { |
nothing calls this directly
no test coverage detected