Add distance to battle range metric in pixels

This commit is contained in:
2016-07-16 02:34:44 +10:00
parent 12fbc1000e
commit 86b4d1e206
5 changed files with 92 additions and 38 deletions
+7
View File
@@ -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);