MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetNextBlockPosition

Function GetNextBlockPosition

TombEngine/Renderer/RendererDrawMenu.cpp:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 inline void GetNextLinePosition(int* value, float scale = 1.0f) { *value += MenuVerticalLineSpacing * scale; }
65 inline void GetNextNarrowLinePosition(int* value) { *value += MenuVerticalNarrowLineSpacing; }
66 inline void GetNextBlockPosition(int* value) { *value += MenuVerticalBlockSpacing; }
67
68 // Helper functions to construct string flags
69 inline int SF(bool selected = false) { return (int)PrintStringFlags::Outline | (selected ? (int)PrintStringFlags::Blink : 0); }

Callers 5

RenderOptionsMenuMethod · 0.85
RenderTitleMenuMethod · 0.85
RenderPauseMenuMethod · 0.85
RenderLoadSaveMenuMethod · 0.85
DrawStatisticsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected