Add distance to battle range metric in pixels
This commit is contained in:
@@ -34,6 +34,13 @@ void debug_pushString(char *formatString, void *data, char *dataType)
|
||||
ARRAY_COUNT(GLOBAL_debugState.debugStrings[0]),
|
||||
formatString, val);
|
||||
}
|
||||
else if (common_strcmp(dataType, "f32") == 0)
|
||||
{
|
||||
f32 val = *(CAST(f32 *) data);
|
||||
snprintf(GLOBAL_debugState.debugStrings[numDebugStrings],
|
||||
ARRAY_COUNT(GLOBAL_debugState.debugStrings[0]),
|
||||
formatString, val);
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSERT(INVALID_CODE_PATH);
|
||||
|
||||
Reference in New Issue
Block a user