Going to redo assets.

This commit is contained in:
2025-08-24 13:57:12 -05:00
parent 329925ea54
commit 479aad2f06
36 changed files with 285 additions and 128 deletions

View File

@@ -0,0 +1,15 @@
import os
def setOutputDir(outputDir):
global OUTPUT_DIR
OUTPUT_DIR = outputDir
def getOutputDir():
return OUTPUT_DIR
def getHeaderInclude(headerPath):
outputDir = getOutputDir()
relPath = os.path.relpath(headerPath, outputDir)
path = relPath.replace('\\', '/') # Use forward slashes for includes
print(f" Including header: {path}")
return f'#include "{path}"'