| 74 | } |
| 75 | |
| 76 | void cSurface::palette_SetToBlack() { |
| 77 | |
| 78 | for(size_t ColorID = 0; ColorID < g_MaxColors; ColorID++) { |
| 79 | |
| 80 | // Get the next color values |
| 81 | mPalette[ColorID].mRed = 0; |
| 82 | mPalette[ColorID].mGreen = 0; |
| 83 | mPalette[ColorID].mBlue = 0; |
| 84 | } |
| 85 | |
| 86 | surfaceSetToPalette(); |
| 87 | } |
| 88 | |
| 89 | void cSurface::palette_SetFromNew() { |
| 90 |
no outgoing calls