Merge branch 'dev' of collaborating.tuhh.de:czg6669/breakout into dev
This commit is contained in:
commit
dd48975d93
@ -37,11 +37,14 @@ void Settings_Draw (SDL_Renderer* renderer) {
|
|||||||
if(y<=400&&y>=300&&x<=800&&x>=400&&(Mousestate & SDL_BUTTON(SDL_BUTTON_LEFT))){
|
if(y<=400&&y>=300&&x<=800&&x>=400&&(Mousestate & SDL_BUTTON(SDL_BUTTON_LEFT))){
|
||||||
SDL_RenderFillRect(renderer,&BV_Scalar_rect);
|
SDL_RenderFillRect(renderer,&BV_Scalar_rect);
|
||||||
SDL_RenderDrawRect(renderer,&BV_Scalar_rect);
|
SDL_RenderDrawRect(renderer,&BV_Scalar_rect);
|
||||||
if(x>780){
|
if(x>790){
|
||||||
BV_Scalar_rect.x=780;
|
BV_Scalar_rect.x=780;
|
||||||
}
|
}
|
||||||
|
else if(x<410){
|
||||||
|
BV_Scalar_rect.x=400;
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
BV_Scalar_rect.x=x;
|
BV_Scalar_rect.x=x-10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
Reference in New Issue
Block a user