shared struct and enum definitions file (maybe not the best idea)
This commit is contained in:
+12
@@ -1 +1,13 @@
|
||||
/* all of the stuff like texturing the wireframes of entities will go here */
|
||||
|
||||
void render_entity(struct entity* e)
|
||||
{
|
||||
switch (e->texture)
|
||||
{
|
||||
case VOID_CAT:
|
||||
/* TODO draw a bunch of black blobs around the hitbox */
|
||||
printf("TODO: apply void cat texture to entity \n");
|
||||
break;
|
||||
default: /* error */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user