Sorted the assets into folders and created Makefile.
This commit is contained in:
@@ -22,7 +22,7 @@ void STARFIELD_Initialize(SDL_Renderer * renderer, int width, int height){
|
||||
printf("Initializing starfield...\n");
|
||||
STARFIELD_BoxWidth = width;
|
||||
STARFIELD_BoxHeight = height;
|
||||
STAR_Texture = IMG_LoadTexture(renderer, "star.png");
|
||||
STAR_Texture = IMG_LoadTexture(renderer, "assets/images/star.png");
|
||||
if (!STAR_Texture)
|
||||
printf("Star texture cannot be loaded!\n");
|
||||
STAR_SourceRects = malloc(3 * sizeof(SDL_Rect));
|
||||
|
Reference in New Issue
Block a user