#include #include #include #include "vendor/vec/vec.h" #ifndef UTIL_TYPES #define UTIL_TYPES typedef vec_t(unsigned int) vec_uint_t; #endif void error(const char* format, ...); int fileExists(char* filename); char* loadFile(char* filename); void luaRegisterModule(lua_State* L, const char* name, const luaL_Reg* module); void luaRegisterType(lua_State* L, const char* name, const luaL_Reg* functions, lua_CFunction gc); int luaPreloadModule(lua_State* L, const char* key, lua_CFunction f);