Main Page | Alphabetical List | Data Structures | File List | Globals

input Struct Reference

Struct to know players input with booleans. More...

#include <global_add.h>


Data Fields

int state [11]
int keys [11]
int joybuton [7]
int use_joystick
int key_waited
int buton_waited
int wait_input


Detailed Description

Struct to know players input with booleans.

Struct to simply know human player input, without having to know if it's joy, key or anything
use : after called input_reader just test the state array that contain booleans call input->state[x]!=0 to know in witch state is the controller
state[0] = up ; state[1] = down ; state[2] = left ; state[3]= right ;
state[4] = a ; state[5] = b ; state[6] = c ;
state[7] = x ; state[8] = y ; state[9] = z ;
state[10] = start


The documentation for this struct was generated from the following file:
Generated on Thu Jan 13 14:13:06 2005 for KOF91 by  doxygen 1.3.9.1