Template:Extbits: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "The following values are used with extbits. {| {{prettytable}} !Exposed!!Value!!Label!!Description!! |- | No || 1 || INPUT_MOVE_FORWARD || |- | No || 2 || INPUT_MOVE_BAC..."
 
Fox (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}</noinclude>
The following values are used with [[extbits]].
The following values are used with [[extbits]].


Line 15: Line 17:
|-
|-
| No || 32 || INPUT_TURN_RIGHT ||  
| No || 32 || INPUT_TURN_RIGHT ||  
|-
| No || 64 || INPUT_ALT_FIRE ||
|-
| No || 128 || INPUT_CHAT_MODE || Triggered when the player starts typing a chat message.
|-
|-
|}
|}


{| {{Collapse}}
| <strong>Defines</strong>
|-
|
  define INPUT_MOVE_FORWARD              0x00000001
  define INPUT_MOVE_FORWARD              0x00000001
  define INPUT_MOVE_BACKWARD              0x00000002
  define INPUT_MOVE_BACKWARD              0x00000002
Line 24: Line 34:
  define INPUT_TURN_LEFT                  0x00000010
  define INPUT_TURN_LEFT                  0x00000010
  define INPUT_TURN_RIGHT                0x00000020
  define INPUT_TURN_RIGHT                0x00000020
define INPUT_ALT_FIRE                  0x00000040
define INPUT_CHAT_MODE                  0x00000080
|}


<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>
<includeonly>[[Category:Pages with templates]]</includeonly>
<includeonly>[[Category:Pages with templates]]</includeonly>

Latest revision as of 15:55, 12 September 2021

This page is a template.
This page was created to be included in other pages.


The following values are used with extbits.

Exposed Value Label Description
No 1 INPUT_MOVE_FORWARD
No 2 INPUT_MOVE_BACKWARD
No 4 INPUT_STRAFE_LEFT
No 8 INPUT_STRAFE_RIGHT
No 16 INPUT_TURN_LEFT
No 32 INPUT_TURN_RIGHT
No 64 INPUT_ALT_FIRE
No 128 INPUT_CHAT_MODE Triggered when the player starts typing a chat message.
Defines
define INPUT_MOVE_FORWARD               0x00000001
define INPUT_MOVE_BACKWARD              0x00000002
define INPUT_STRAFE_LEFT                0x00000004
define INPUT_STRAFE_RIGHT               0x00000008
define INPUT_TURN_LEFT                  0x00000010
define INPUT_TURN_RIGHT                 0x00000020
define INPUT_ALT_FIRE                   0x00000040
define INPUT_CHAT_MODE                  0x00000080