escalier custom
This commit is contained in:
@@ -95,9 +95,9 @@ void screenDisplayGameSDL (char **tab,vect dim_tab, dis *display_user, vect *pla
|
||||
break;
|
||||
case WALL:
|
||||
srand(seed+i*15+j*13);
|
||||
int rand_int = rand() % 30;
|
||||
if(rand_int==26){img = IMG_Load ("image/wall3.png");}
|
||||
else if(rand_int==29){img = IMG_Load ("image/wall2.png");}
|
||||
rand_int = rand() % 6;
|
||||
if(rand_int==5){img = IMG_Load ("image/wall3.png");}
|
||||
else if(rand_int==4){img = IMG_Load ("image/wall2.png");}
|
||||
else{img = IMG_Load ("image/wall.png");}
|
||||
|
||||
break;
|
||||
@@ -122,6 +122,9 @@ void screenDisplayGameSDL (char **tab,vect dim_tab, dis *display_user, vect *pla
|
||||
case PLAYER_ON_BUTTON:
|
||||
img = IMG_Load("image/player_on_button.png");
|
||||
break;
|
||||
case BUTTON_CUSTOM:
|
||||
img = IMG_Load("image/button_c.png");
|
||||
break;
|
||||
}
|
||||
|
||||
texture
|
||||
|
||||
Reference in New Issue
Block a user