MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / FormatString

Function FormatString

Source/Internal/common.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include <stdint.h>
27
28void FormatString(char* buf, int buf_size, const char* fmt, ...) {
29 va_list args;
30 va_start(args, fmt);
31 VFormatString(buf, buf_size, fmt, args);
32 va_end(args);
33}
34
35// From http://www.cse.yorku.ca/~oz/hash.html
36// djb2 hash function

Callers 15

BindStringMethod · 0.85
ProcessBindingsMethod · 0.85
CompleteGamepadBindingsFunction · 0.85
CalcNavMeshMethod · 0.85
SaveMethod · 0.85
LoadMethod · 0.85
GetTempDDSPathFunction · 0.85
SimplifyModelFunction · 0.85
PreprocessFunction · 0.85
createShaderMethod · 0.85
shaders.cppFile · 0.85
DrawMethod · 0.85

Calls 1

VFormatStringFunction · 0.85

Tested by 3

QueryVRAMFunction · 0.68
PrintGPUFunction · 0.68
PrintSpecsFunction · 0.68