Reworked the files before the big cleanup of the code.

This commit is contained in:
Zed A. Shaw 2025-01-15 10:26:44 -05:00
parent 6533f950d2
commit 8eae4b9420
30 changed files with 26 additions and 57 deletions

View file

@ -135,14 +135,14 @@ int main(int /*argc*/, char */*argv*/[])
//load some textures
unsigned long tw, th, error = 0;
error |= loadImage(texture[0], tw, th, "pics/eagle.png");
error |= loadImage(texture[1], tw, th, "pics/redbrick.png");
error |= loadImage(texture[2], tw, th, "pics/purplestone.png");
error |= loadImage(texture[3], tw, th, "pics/greystone.png");
error |= loadImage(texture[4], tw, th, "pics/bluestone.png");
error |= loadImage(texture[5], tw, th, "pics/mossy.png");
error |= loadImage(texture[6], tw, th, "pics/wood.png");
error |= loadImage(texture[7], tw, th, "pics/colorstone.png");
error |= loadImage(texture[0], tw, th, "assets/eagle.png");
error |= loadImage(texture[1], tw, th, "assets/redbrick.png");
error |= loadImage(texture[2], tw, th, "assets/purplestone.png");
error |= loadImage(texture[3], tw, th, "assets/greystone.png");
error |= loadImage(texture[4], tw, th, "assets/bluestone.png");
error |= loadImage(texture[5], tw, th, "assets/mossy.png");
error |= loadImage(texture[6], tw, th, "assets/wood.png");
error |= loadImage(texture[7], tw, th, "assets/colorstone.png");
if(error) { std::cout << "error loading images" << std::endl; return 1; }
//load some sprite textures