feat: Added nav and start of npc stuff

This commit is contained in:
2025-10-04 21:08:52 +01:00
parent 7a27309c5b
commit d0d79d0551
7 changed files with 214 additions and 0 deletions

View File

@@ -45,4 +45,14 @@
#define thread_var __thread
#endif
#define S(x) Str8_Wrap(sizeof(x) - sizeof(*(x)), (U8 *) (x))
Str8 Str8_Wrap(S64 count, U8 *data) {
Str8 result;
result.data = data;
result.count = count;
return result;
}
#define Sv(x) (int) (x).count, (x).data
#endif // LD_CORE_MACROS_H_