feat: Added nav and start of npc stuff
This commit is contained in:
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user