From 013ac4a2f4ae24d71f425f31edd77a8e29ed1da8 Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 10 Jan 2026 03:25:32 -0700 Subject: Working on inventory --- src/entity.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/entity.h') diff --git a/src/entity.h b/src/entity.h index d0e9f9f..b7c458e 100644 --- a/src/entity.h +++ b/src/entity.h @@ -1,4 +1,5 @@ #include "utils.h" +#include "assets.h" // Pretty much any object in the game. @@ -71,6 +72,12 @@ struct Entity { void* data; }; +typedef struct { + EntityId id; + AssetId texture; + int count; +} EntityItem; + // Cubemap based building. typedef struct { Model model; -- cgit v1.2.3