Quitados tres warnings
This commit is contained in:
@@ -103,8 +103,8 @@ bool LTexture::createBlank(SDL_Renderer *renderer, int width, int height, SDL_Te
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
width = width;
|
this->width = width;
|
||||||
height = height;
|
this->height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
return texture != NULL;
|
return texture != NULL;
|
||||||
|
|||||||
@@ -77,9 +77,6 @@ ScoreBoard::~ScoreBoard()
|
|||||||
// Pinta el objeto en pantalla
|
// Pinta el objeto en pantalla
|
||||||
void ScoreBoard::render()
|
void ScoreBoard::render()
|
||||||
{
|
{
|
||||||
|
|
||||||
const int num_lives = 9;
|
|
||||||
|
|
||||||
// Dibuja el fondo del marcador
|
// Dibuja el fondo del marcador
|
||||||
const SDL_Rect rect = {0, 17 * BLOCK, PLAY_AREA_WIDTH, GAMECANVAS_HEIGHT - PLAY_AREA_HEIGHT};
|
const SDL_Rect rect = {0, 17 * BLOCK, PLAY_AREA_WIDTH, GAMECANVAS_HEIGHT - PLAY_AREA_HEIGHT};
|
||||||
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
|
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
|
||||||
|
|||||||
Reference in New Issue
Block a user