Mercurial > games > semicongine
comparison semiconginev2/resources.nim @ 1229:5dcb503ef0c0
did: refactor renderpass a bit, enable depth buffering and msaa on offscreen-rendering
author | sam <sam@basx.dev> |
---|---|
date | Thu, 18 Jul 2024 21:32:41 +0700 |
parents | 27cd1c21290e |
children | 176383220123 |
comparison
equal
deleted
inserted
replaced
1228:4e465583ea32 | 1229:5dcb503ef0c0 |
---|---|
94 yielded.incl components[0] | 94 yielded.incl components[0] |
95 archive.close() | 95 archive.close() |
96 | 96 |
97 elif thebundletype == Exe: | 97 elif thebundletype == Exe: |
98 | 98 |
99 import std/tables | |
100 | |
101 const BUILD_RESOURCEROOT* {.strdefine.}: string = "" | 99 const BUILD_RESOURCEROOT* {.strdefine.}: string = "" |
102 | 100 |
103 proc loadResources(): Table[string, Table[string, string]] {.compileTime.} = | 101 proc loadResources(): Table[string, Table[string, string]] {.compileTime.} = |
104 when BUILD_RESOURCEROOT == "": | 102 when BUILD_RESOURCEROOT == "": |
105 {.warning: "BUILD_RESOURCEROOT is empty, no resources will be packaged".} | 103 {.warning: "BUILD_RESOURCEROOT is empty, no resources will be packaged".} |