working on rendering

This commit is contained in:
2025-12-23 15:03:44 +02:00
parent 5a71b3023a
commit 3b4e2eea32
65 changed files with 1971 additions and 190 deletions

13
tier1/appinit.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "tier1/appinit.h"
#include "tier1/utlstring.h"
#include "tier0/platform.h"
void AppInitializePath()
{
const char *szPath = Plat_GetExecutablePath();
CUtlString szEnv = Plat_GetEnv("PATH");
printf("%s\n",szEnv.GetString());
szEnv.AppendTail(":");
szEnv.AppendTail(szPath);
Plat_SetEnv("PATH", szEnv);
}