![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"#include "input.h"#include "lib/external_libraries/libsdl.h"#include <list>#include <stdio.h>#include <stdlib.h>
Functions | |
| void | in_add_handler (InHandler handler) |
| void | in_reset_handlers () |
| void | in_dispatch_event (const SDL_Event_ *ev) |
| void | in_push_priority_event (const SDL_Event_ *event) |
| int | in_poll_priority_event (SDL_Event_ *event) |
| int | in_poll_event (SDL_Event_ *event) |
Variables | |
| const size_t | MAX_HANDLERS = 10 |
| static InHandler | handler_stack [MAX_HANDLERS] |
| static size_t | handler_stack_top = 0 |
| static std::list< SDL_Event_ > | priority_events |
| void in_add_handler | ( | InHandler | handler | ) |
| void in_dispatch_event | ( | const SDL_Event_ * | ev | ) |
| int in_poll_event | ( | SDL_Event_ * | event | ) |
| int in_poll_priority_event | ( | SDL_Event_ * | event | ) |
| void in_push_priority_event | ( | const SDL_Event_ * | event | ) |
| void in_reset_handlers | ( | ) |
|
static |
|
static |
| const size_t MAX_HANDLERS = 10 |
|
static |