| 945 | |
| 946 | |
| 947 | void cFodder::GUI_Draw_Frame_8(int32 pSpriteType, int32 pFrame, const size_t pPositionX, const size_t pPositionY) { |
| 948 | auto SheetData = Sprite_Get_Sheet(pSpriteType, pFrame); |
| 949 | |
| 950 | mVideo_Draw_PaletteIndex = SheetData->mPalleteIndex & 0xFF; |
| 951 | mVideo_Draw_FrameDataPtr = SheetData->GetGraphicsPtr(); |
| 952 | |
| 953 | mVideo_Draw_PosX = (int16)(pPositionX + 0x10); |
| 954 | mVideo_Draw_PosY = (int16)(pPositionY + 0x10); |
| 955 | mVideo_Draw_Columns = SheetData->mColCount; |
| 956 | mVideo_Draw_Rows = SheetData->mRowCount; |
| 957 | |
| 958 | if (SheetData->mRowCount > mGUI_Draw_LastHeight) |
| 959 | mGUI_Draw_LastHeight = SheetData->mRowCount; |
| 960 | |
| 961 | if (Sprite_OnScreen_Check()) |
| 962 | mGraphics->Video_Draw_8(); |
| 963 | |
| 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); |
no test coverage detected