|
|
|
@ -47,18 +47,16 @@ int loadBackgroundColor(void){
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int locLogo(void){
|
|
|
|
|
void locLogo(int x, int y){
|
|
|
|
|
SDL_Rect srcrect = {0, 0, 100, 73};
|
|
|
|
|
SDL_Rect dstrect = {10, 10, 100, 73};
|
|
|
|
|
SDL_Rect dstrect = {x, y, 100, 73};
|
|
|
|
|
SDL_RenderCopy(renderer, texture, &srcrect, &dstrect);
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int locStars(void){
|
|
|
|
|
void locStars(int x, int y){
|
|
|
|
|
SDL_Rect srcrect = {1, 32, 22, 21};
|
|
|
|
|
SDL_Rect dstrect = {100, 100, 22, 21};
|
|
|
|
|
SDL_Rect dstrect = {x, y, 22, 21};
|
|
|
|
|
SDL_RenderCopy(renderer, texture, &srcrect, &dstrect);
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int destroy(void){
|
|
|
|
|