Added filesystem stuff on Linux

More includes for Linux
Update build script to copy assets and compile shaders
Added base code directory as include path
Added FS_SystemPath
Made asset loading work directory agnostic
This commit is contained in:
2025-10-04 23:46:13 +01:00
parent e4c1bc0a1c
commit dd316664f6
7 changed files with 278 additions and 18 deletions

View File

@@ -70,9 +70,14 @@
#include <windows.h>
#pragma warning(disable : 4201)
#elif OS_LINUX
#include <sys/types.h>
#include <dlfcn.h>
#include <sys/mman.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
#include <dirent.h>
#endif
#endif // LD_CORE_PLATFORM_H_