Extbits: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: The extbits member of the input structure is a bit-field like bits. The following defines show what these bits indicate: <pre> define INPUT_MOVE_FORWARD 1 define INPUT_MOVE_BACKWARD 2 ...
 
m Spelling error.
Line 3: Line 3:
define INPUT_MOVE_FORWARD 1
define INPUT_MOVE_FORWARD 1
define INPUT_MOVE_BACKWARD 2
define INPUT_MOVE_BACKWARD 2
define INPUT_STRAFE_lEFT 4
define INPUT_STRAFE_LEFT 4
define INPUT_STRAFE_RIGHT 8
define INPUT_STRAFE_RIGHT 8
define INPUT_TURN_LEFT 16
define INPUT_TURN_LEFT 16

Revision as of 17:59, 24 August 2007

The extbits member of the input structure is a bit-field like bits. The following defines show what these bits indicate:

define INPUT_MOVE_FORWARD 1
define INPUT_MOVE_BACKWARD 2
define INPUT_STRAFE_LEFT 4
define INPUT_STRAFE_RIGHT 8
define INPUT_TURN_LEFT 16
define INPUT_TURN_RIGHT 32