MCPcopy Create free account
hub / github.com/diasurgical/devilution / DrawProgress

Function DrawProgress

Source/interfac.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void DrawProgress(int screen_x, int screen_y, int progress_id)
55{
56 BYTE *dst;
57 int i;
58
59 dst = &gpBuffer[screen_x + BUFFER_WIDTH * screen_y];
60 for (i = 0; i < 22; i++) {
61 *dst = BarColor[progress_id];
62 dst += BUFFER_WIDTH;
63 }
64}
65
66void ShowProgress(unsigned int uMsg)
67{

Callers 1

DrawCutsceneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected