| 169 | } |
| 170 | |
| 171 | sImage cGraphics_PC::Decode_Image(const std::string& pFilename, const size_t pCount, const size_t pPaletteOffset, const size_t pStartIndex) { |
| 172 | |
| 173 | sImage TmpImage; |
| 174 | |
| 175 | TmpImage.mData = g_Resource->fileGet(pFilename); |
| 176 | TmpImage.LoadPalette(pPaletteOffset, pCount, pStartIndex); |
| 177 | TmpImage.CopyPalette(&mPalette[pStartIndex], pCount, pStartIndex); |
| 178 | |
| 179 | return TmpImage; |
| 180 | } |
| 181 | |
| 182 | void cGraphics_PC::Load_pStuff() { |
| 183 |
nothing calls this directly
no test coverage detected