Mercurial > games > semicongine
view tests/test_resources.nim @ 213:b5d9410a8184
add: resource packaging and loading for different resource types, simplify build commands, update readme
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 10 May 2023 22:36:59 +0700 |
parents | 81fab407a479 |
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()