MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Briefing_Draw_Pixel

Method Briefing_Draw_Pixel

Source/Fodder.cpp:10317–10323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10315}
10316
10317void cFodder::Briefing_Draw_Pixel(int16 pX, int16 pY, uint8 pColor) {
10318 uint8* di = mSurface->GetSurfaceBuffer();
10319
10320 di += mSurface->GetWidth() * pY;
10321 di += pX;
10322 *di = pColor;
10323}
10324
10325void cFodder::Briefing_Draw_Horizontal_Line(int16 pX, int16 pWidth, int16 pY, uint8 pColor) {
10326

Callers

nothing calls this directly

Calls 2

GetSurfaceBufferMethod · 0.80
GetWidthMethod · 0.80

Tested by

no test coverage detected