Mercurial > games > semicongine
view tests/test_resources.nim @ 218:955fe7893a3c
did: some refactoring for proper integration of image/audio resources with resource system
author | Sam <sam@basx.dev> |
---|---|
date | Fri, 12 May 2023 00:33:24 +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()