commit 66c8cc71ce87445e32ec68cb214177a5081b2365
parent 4573fc30325928ff2d87f78b9618e4056609c452
Author: bsandro <brian.drosan@gmail.com>
Date: Mon, 14 Feb 2022 22:15:45 +0200
moved pictures to the "assets" subfolder
Diffstat:
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/chikaiKnife.png b/assets/chikaiKnife.png
Binary files differ.
diff --git a/kohina.jpg b/assets/kohina.jpg
Binary files differ.
diff --git a/main.c b/main.c
@@ -29,10 +29,10 @@ int main(int argc, char *argv[]) {
SDL_Renderer *renderer = SDL_CreateRenderer(screen, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
assert(renderer != NULL);
- SDL_Surface *bg = IMG_Load("kohina.jpg");
+ SDL_Surface *bg = IMG_Load("assets/kohina.jpg");
assert(bg != NULL);
- SDL_Surface *knife = IMG_Load("chikaiKnife.png"); // 56x56px
+ SDL_Surface *knife = IMG_Load("assets/chikaiKnife.png"); // 56x56px
assert(knife != NULL);
SDL_Texture *tex_bg = SDL_CreateTextureFromSurface(renderer, bg);