| 964 | } |
| 965 | |
| 966 | void cFodder::GUI_Draw_Frame_16(int16 pSpriteType, int16 pFrame, const size_t pPosX, const size_t pPosY) { |
| 967 | auto SheetData = Sprite_Get_Sheet(pSpriteType, pFrame); |
| 968 | |
| 969 | mVideo_Draw_PaletteIndex = SheetData->mPalleteIndex & 0xFF; |
| 970 | mVideo_Draw_FrameDataPtr = SheetData->GetGraphicsPtr(); |
| 971 | |
| 972 | mVideo_Draw_PosX = (int16)(pPosX + 0x10); |
| 973 | mVideo_Draw_PosY = (int16)(pPosY + 0x10); |
| 974 | mVideo_Draw_Columns = SheetData->mColCount; |
| 975 | mVideo_Draw_Rows = SheetData->mRowCount; |
| 976 | mVideo_Draw_ColumnsMax = 0x140; |
| 977 | |
| 978 | if (Sprite_OnScreen_Check()) |
| 979 | mGraphics->Video_Draw_16(); |
| 980 | } |
| 981 | |
| 982 | void cFodder::GUI_Render_Text_Centred(const char* pText, const size_t pPosY) { |
| 983 |
nothing calls this directly
no test coverage detected