Mercurial > projects > myrrdin
view src/tools.d @ 3:a9af6ec19195
working map and tileset loading
author | fred@reichbier.de |
---|---|
date | Thu, 17 Jul 2008 21:34:53 +0200 |
parents | fc2f936a961c |
children |
line wrap: on
line source
module tools; import tango.io.File; char[] read_file_contents(char[] filename) { auto file = new File (filename); auto content = cast(char[]) file.read(); return content; }