cppcheck
This commit is contained in:
@@ -56,20 +56,6 @@ void Logo::checkLogoEnd() {
|
||||
}
|
||||
}
|
||||
|
||||
// Comprueba los eventos
|
||||
void Logo::checkEvents() {
|
||||
#ifndef __EMSCRIPTEN__
|
||||
// Comprueba los eventos que hay en la cola
|
||||
while (SDL_PollEvent(eventHandler) != 0) {
|
||||
// Evento de salida de la aplicación
|
||||
if (eventHandler->type == SDL_EVENT_QUIT) {
|
||||
section->name = SECTION_PROG_QUIT;
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// Comprueba las entradas
|
||||
void Logo::checkInput() {
|
||||
#ifndef __EMSCRIPTEN__
|
||||
@@ -148,6 +134,6 @@ void Logo::iterate() {
|
||||
}
|
||||
|
||||
// Procesa un evento individual
|
||||
void Logo::handleEvent(SDL_Event *event) {
|
||||
void Logo::handleEvent(const SDL_Event *event) {
|
||||
// SDL_EVENT_QUIT ya lo maneja Director
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user