Mercurial > games > semicongine
view tests/test_resources.nim @ 695:d2e8b5edea7e
add: png loading with LodePNG (thanks LodePNG-author, this is a super amazing piece of code!)
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 20 May 2023 16:35:23 +0700 |
parents | 496b328faa43 |
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()