added main menus, improved shading

This commit is contained in:
2025-07-18 20:37:52 +03:00
parent dddf1b5881
commit 070c3ff309
45 changed files with 859 additions and 271 deletions

View File

@@ -4,6 +4,7 @@
#include "unistd.h"
#include "dlfcn.h"
#include "libgen.h"
#include <dlfcn.h>
#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif
@@ -60,12 +61,12 @@ int main( int argc, char **argv ) {
#endif
if ( !dlopen(szSteamPath, RTLD_NOW ))
printf("Failed to open steam\n");
pTier0Lib = dlopen(szTier0Path, RTLD_NOW | RTLD_GLOBAL);
pTier0Lib = dlopen(szTier0Path, RTLD_LAZY | RTLD_GLOBAL);
if ( !pTier0Lib ) {
printf("Failed to open libtier0\n");
printf("\t%s\n",dlerror());
}
pEngineLib = dlopen(szEnginePath, RTLD_NOW | RTLD_GLOBAL);
pEngineLib = dlopen(szEnginePath, RTLD_LAZY | RTLD_GLOBAL);
if ( !pEngineLib ) {
printf("Failed to open libengine\n");
printf("\t%s\n",dlerror());