Mercurial > games > semicongine
view tests/test_resources.nim @ 216:22122b64f09f
add: sekeleton to start working on resource loading, updated readme
author | Sam <sam@basx.dev> |
---|---|
date | Thu, 11 May 2023 00:30:44 +0700 |
parents | b5d9410a8184 |
children | 5f6d3511ef79 |
line wrap: on
line source
import std/times import semicongine proc main() = echo "Mods available: ", modList() for modName in modList(): echo modName, ":" selectedMod = modName for i in walkResources(): echo " ", i, ": ", loadResource(i)[] when isMainModule: main()