Basic attack queue implemented for hero

This commit is contained in:
2016-07-18 20:16:29 +10:00
parent 129234fbeb
commit c52d872058
3 changed files with 218 additions and 109 deletions
+8
View File
@@ -41,6 +41,14 @@ void debug_pushString(char *formatString, void *data, char *dataType)
ARRAY_COUNT(GLOBAL_debugState.debugStrings[0]),
formatString, val);
}
else if (common_strcmp(dataType, "char") == 0)
{
char *val = CAST(char *)data;
snprintf(GLOBAL_debugState.debugStrings[numDebugStrings],
ARRAY_COUNT(GLOBAL_debugState.debugStrings[0]),
formatString, val);
}
else
{
ASSERT(INVALID_CODE_PATH);