Pyrogenesis  trunk
Functions | Variables
input.cpp File Reference
#include "precompiled.h"
#include "input.h"
#include <stdio.h>
#include <stdlib.h>
#include "lib/external_libraries/libsdl.h"
Include dependency graph for input.cpp:

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 = 9
 
static InHandler handler_stack [MAX_HANDLERS]
 
static size_t handler_stack_top = 0
 
static std::list< SDL_Event_priority_events
 

Function Documentation

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 ( )

Variable Documentation

InHandler handler_stack[MAX_HANDLERS]
static
size_t handler_stack_top = 0
static
const size_t MAX_HANDLERS = 9
std::list<SDL_Event_> priority_events
static