first commit

This commit is contained in:
dox
2023-02-11 23:18:45 -05:00
commit d723f08969
307 changed files with 38708 additions and 0 deletions

21
src/game/ecs/c_health.h Normal file
View File

@ -0,0 +1,21 @@
/*
* DESCRIPTION:
* c_health.c header.
*/
#pragma once
#include "entity.h"
#define C_HEALTH_LIMIT 0xFF
struct CHealth
{
u32 id;
s32 current;
s32 max;
bool isDead;
};
void c_health_set(struct CHealth* self, s32 max);
void c_health_register(void);