Added lbreakout2 from original source

This commit is contained in:
Jerome Marty
2010-12-20 16:03:09 +01:00
committed by pelya
parent 661fdabbfc
commit 18a15db3d4
587 changed files with 191221 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
/***************************************************************************
event.h - description
-------------------
begin : Sat Sep 8 2001
copyright : (C) 2001 by Michael Speck
email : kulkanie@gmx.net
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/*
====================================================================
Event filter used to get motion x.
====================================================================
*/
int event_filter( const SDL_Event *event );
/*
====================================================================
Reset event states
====================================================================
*/
void event_reset();
/*
====================================================================
Grab or release input. Hide cursor if events are kept in window.
Use relative mouse motion and grab if config tells so.
====================================================================
*/
void event_grab_input();
void event_ungrab_input();
/*
====================================================================
Poll next event and set key and mousestate.
Return Value: True if event occured
====================================================================
*/
int event_poll( SDL_Event *event );
/*
====================================================================
Block/unblock motion event
====================================================================
*/
void event_block_motion( int block );
/*
====================================================================
Clear the SDL event key (keydown events)
====================================================================
*/
void event_clear_sdl_queue();