forked from jaildesigner-jailgames/jaildoctors_dilemma
Afegit globalEvents
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "asset.h"
|
||||
#include "options.h"
|
||||
#include "global_inputs.h"
|
||||
#include "global_events.h"
|
||||
class Asset; // lines 11-11
|
||||
|
||||
// Constructor
|
||||
@@ -76,12 +77,7 @@ void Logo::checkEvents()
|
||||
SDL_Event event;
|
||||
while (SDL_PollEvent(&event))
|
||||
{
|
||||
// Evento de salida de la aplicación
|
||||
if (event.type == SDL_QUIT)
|
||||
{
|
||||
options.section.name = SECTION_QUIT;
|
||||
break;
|
||||
}
|
||||
globalEvents::check(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user