MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / backgroundDrawBot

Function backgroundDrawBot

source/ui/background.c:300–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void backgroundDrawBot(void)
301{
302 int i;
303
304 drawingSetMode(DRAW_MODE_DRAWING);
305
306 // Clear screen
307 drawingSetZ(0.8f);
308 drawingEnableDepth(false);
309 drawingWithColor(0xFFFFA342);
310 drawingDrawQuad(0.0f, 0.0f, 320.0f, 240.0f);
311 drawingSubmitPrim(GPU_TRIANGLE_STRIP, 4);
312 drawingEnableDepth(true);
313
314 // Draw bubbles!
315 drawingSetZ(0.6f);
316 for (i = 0; i < BUBBLE_COUNT; i ++)
317 bubbleDraw(&bubbles[i], 240.0f, 0.0f);
318}

Callers

nothing calls this directly

Calls 7

drawingSetModeFunction · 0.85
drawingSetZFunction · 0.85
drawingEnableDepthFunction · 0.85
drawingWithColorFunction · 0.85
drawingDrawQuadFunction · 0.85
drawingSubmitPrimFunction · 0.85
bubbleDrawFunction · 0.85

Tested by

no test coverage detected