Move the playground data files into a subdirectory

This commit is contained in:
Cameron Cawley
2021-07-03 17:45:16 +01:00
parent b2ceadc9f2
commit 32ab78b552
10 changed files with 10 additions and 10 deletions

View File

@ -255,10 +255,10 @@ InitRW(void)
foreground.blue = 255.0f;
testfont->setColors(&foreground, &background);
tex = rw::Texture::read("maze", nil);
tex2 = rw::Texture::read("checkers", nil);
tex = rw::Texture::read("files/maze", nil);
tex2 = rw::Texture::read("files/checkers", nil);
const char *filename = "teapot.dff";
const char *filename = "files/teapot.dff";
if(sk::args.argc > 1)
filename = sk::args.argv[1];
rw::StreamFile in;