whatever: Added assets dir

This commit is contained in:
Logen Kain 2016-11-18 19:21:02 -07:00
parent d08678c8bc
commit 15d835e4c3
3 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 202 KiB

After

Width:  |  Height:  |  Size: 202 KiB

View File

Before

Width:  |  Height:  |  Size: 900 KiB

After

Width:  |  Height:  |  Size: 900 KiB

View File

@ -224,7 +224,7 @@ int init()
int loadMedia() int loadMedia()
{ {
const char background_imagefile[] = "sdl_logo.bmp"; const char background_imagefile[] = "assets/sdl_logo.bmp";
gRenderer = SDL_CreateRenderer(gScreen, -1, 0); gRenderer = SDL_CreateRenderer(gScreen, -1, 0);
@ -250,7 +250,7 @@ int loadMedia()
} }
/* load gPlayer image to practice blit on top of surface*/ /* load gPlayer image to practice blit on top of surface*/
gTemp = SDL_LoadBMP("dinowheel.bmp"); gTemp = SDL_LoadBMP("assets/dinowheel.bmp");
if (gTemp == NULL){ if (gTemp == NULL){
printf("Unable to load gPlayer: %s/n", SDL_GetError()); printf("Unable to load gPlayer: %s/n", SDL_GetError());
return 1; return 1;