Skip to content
Snippets Groups Projects
Commit bbc4a959 authored by Janos's avatar Janos
Browse files

Bild für Münzen verändert und auftauchen von Vögeln

außerhalb vom Fenster entfernt
parent 3bc5679c
No related branches found
No related tags found
No related merge requests found
images/coin2.png

35.9 KiB

...@@ -107,7 +107,7 @@ int init_images(SDL_Renderer* renderer) { ...@@ -107,7 +107,7 @@ int init_images(SDL_Renderer* renderer) {
img_finishlineDark = IMG_LoadTexture(renderer,"images/finishlineDark.jpg"); img_finishlineDark = IMG_LoadTexture(renderer,"images/finishlineDark.jpg");
img_car_trans = IMG_LoadTexture(renderer,"images/new_car_trans.png"); // Quelle: https://www.anyrgb.com/en-clipart-szoog img_car_trans = IMG_LoadTexture(renderer,"images/new_car_trans.png"); // Quelle: https://www.anyrgb.com/en-clipart-szoog
img_carLeft_trans = IMG_LoadTexture(renderer,"images/new_carLeft_trans.png"); img_carLeft_trans = IMG_LoadTexture(renderer,"images/new_carLeft_trans.png");
img_coin = IMG_LoadTexture(renderer,"images/coin.jpg"); img_coin = IMG_LoadTexture(renderer,"images/coin2.png"); // Quelle: https://www.freepik.com/premium-vector/gold-coin-pixel-art_22989326.htm
img_Spielanleitung = IMG_LoadTexture(renderer,"images/Spielanleitung.png"); img_Spielanleitung = IMG_LoadTexture(renderer,"images/Spielanleitung.png");
img_trainL = IMG_LoadTexture(renderer,"images/trainL.png"); // Quelle: https://www.pinterest.de/pin/645492559082244309/ img_trainL = IMG_LoadTexture(renderer,"images/trainL.png"); // Quelle: https://www.pinterest.de/pin/645492559082244309/
img_trainR = IMG_LoadTexture(renderer,"images/trainR.png"); // Quelle: https://www.pinterest.de/pin/645492559082244309/ img_trainR = IMG_LoadTexture(renderer,"images/trainR.png"); // Quelle: https://www.pinterest.de/pin/645492559082244309/
......
...@@ -50,7 +50,7 @@ struct Row* grass(bool dark,bool gold,int y_pos){ ...@@ -50,7 +50,7 @@ struct Row* grass(bool dark,bool gold,int y_pos){
n->stone = (rand() % 9)*ROW_SIZE; n->stone = (rand() % 9)*ROW_SIZE;
n->bird = NULL; n->bird = NULL;
}else{ }else{
p = (rand() % 10) * ROW_SIZE; p = (rand() % 9) * ROW_SIZE;
n->bird = init_bird(p,y_pos); n->bird = init_bird(p,y_pos);
n->stone = -1; n->stone = -1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment