diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-11-06 21:14:58 -0700 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-11-06 21:14:58 -0700 |
commit | c28b9fdb3c15248604d38717a03e98c78ac88961 (patch) | |
tree | adf29a1c533d0217403c37e2590028e7fa892586 /src/killLog.h | |
parent | 4ca42bd3b6a55ee92cdf1af0f3137ab815f0375d (diff) |
Added kill log
Diffstat (limited to 'src/killLog.h')
-rw-r--r-- | src/killLog.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/killLog.h b/src/killLog.h index 22f2962..b6e920a 100644 --- a/src/killLog.h +++ b/src/killLog.h @@ -4,9 +4,12 @@ #ifndef KILL_LOG_H #define KILL_LOG_H -#define KILL_LOG_MAX 5 +#define KILL_LOG_MAX 10 +#define KILL_MESSAGE_MAX 100 +#define KILL_LOG_FONT_SIZE 16 typedef struct Kill { + EntityType type; EntityId id; EntityFingerprint fingerPrint; double timeAtKill; @@ -18,7 +21,8 @@ typedef struct KillLog { } KillLog; void initKillLog(KillLog * killLog); -void pushKill(KillLog * killLog, Kill kill); -void drawKillLog(KillLog * killLog); +void pushKill(KillLog * killLog, Entity entity); +void drawKillLog(KillLog * killLog, Vector2 position); +void resetKillLog(KillLog * killLog); #endif |