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

@@ -109,8 +109,8 @@ printScreen(const char *s, float32 x, float32 y)
void
initFont(void)
{
vga.tex = Texture::read("Bm437_IBM_VGA8", "");
bios.tex = Texture::read("Bm437_IBM_BIOS", "");
vga.tex = Texture::read("files/Bm437_IBM_VGA8", "");
bios.tex = Texture::read("files/Bm437_IBM_BIOS", "");
/*
FILE *foo = fopen("font.c", "w");
@@ -141,8 +141,8 @@ convertFont(void)
int32 i, x, y;
uint8 *px, *line, *glyph;
// f = fopen("font0.bin", "rb");
f = fopen("Bm437_IBM_VGA8.FON", "rb");
// f = fopen("Bm437_IBM_BIOS.FON", "rb");
f = fopen("files/Bm437_IBM_VGA8.FON", "rb");
// f = fopen("files/Bm437_IBM_BIOS.FON", "rb");
if(f == nil)
return;
fseek(f, 0x65A, 0);
@@ -175,7 +175,7 @@ fseek(f, 0x65A, 0);
line += img->stride;
}
}
// writeTGA(img, "Bm437_IBM_BIOS.tga");
writeTGA(img, "Bm437_IBM_VGA8.tga");
// writeTGA(img, "files/Bm437_IBM_BIOS.tga");
writeTGA(img, "files/Bm437_IBM_VGA8.tga");
}
*/