|
|
|
@ -47,10 +47,17 @@ int loadBackgroundColor(void){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int presentLogo(void){
|
|
|
|
|
SDL_Rect rect = {10, 10, 100, 73};
|
|
|
|
|
SDL_RenderCopy(renderer, texture, NULL, &rect);
|
|
|
|
|
SDL_RenderPresent(renderer);
|
|
|
|
|
int locLogo(void){
|
|
|
|
|
SDL_Rect srcrect = {0, 0, 100, 73};
|
|
|
|
|
SDL_Rect dstrect = {10, 10, 100, 73};
|
|
|
|
|
SDL_RenderCopy(renderer, texture, &srcrect, &dstrect);
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int locStars(void){
|
|
|
|
|
SDL_Rect srcrect = {1, 32, 22, 21};
|
|
|
|
|
SDL_Rect dstrect = {100, 100, 22, 21};
|
|
|
|
|
SDL_RenderCopy(renderer, texture, &srcrect, &dstrect);
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|