Merge branch 'main' of yibble.dev:bulmanator/ld58

Fixed conflicts
Added "code" directory for include to make it easier to include core
headers
Stopped warnings (probably cl specific)
This commit is contained in:
2025-10-04 21:58:14 +01:00
19 changed files with 366 additions and 20 deletions

View File

@@ -71,6 +71,8 @@
#pragma warning(disable : 4201)
#elif OS_LINUX
#include <dlfcn.h>
#include <sys/mman.h>
#include <unistd.h>
#endif
#endif // LD_CORE_PLATFORM_H_

View File

@@ -29,6 +29,18 @@ struct Str8 {
U8 *data;
};
typedef struct V2f V2f;
struct V2f {
F32 x;
F32 y;
};
typedef struct V2i V2i;
struct V2i {
U32 x;
U32 y;
};
#define U8_MAX ((U8) -1)
#define U16_MAX ((U16) -1)
#define U32_MAX ((U32) -1)