Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
input.c File Reference

Joystick transitions and menu input polling. More...

#include "wc1.h"

Go to the source code of this file.

Functions

short __stdcall UpdateInputDeviceTransitions (short raw)
void JoystickInputHook (void)
void PollJoystickButtonEvents (void)
void PollMenuInputDevices (void)

Variables

short nInputDoubleClickInterval = 1
short nMenuPointerSpeed = 2
unsigned short ausVduModeStack [16]
char acShipSequence [10]
short nTargetFacingValue
FixedVector aShipDestinationsArray [10]
short aasShipShield [10][2]
enum ShipTactic aeShipTacticArray [12]
signed char abShipExhaustHeatList [10]
short nRenderedSpaceFrame
short nEyePitchTargetValue

Detailed Description

Joystick transitions and menu input polling.

Address range 430710-430bbf.

Definition in file input.c.

Function Documentation

◆ JoystickInputHook()

void JoystickInputHook ( void )

Definition at line 71 of file input.c.

References JoystickInputHook().

Referenced by JoystickInputHook().

◆ PollJoystickButtonEvents()

◆ PollMenuInputDevices()

◆ UpdateInputDeviceTransitions()

Variable Documentation

◆ aasShipShield

◆ abShipExhaustHeatList

signed char abShipExhaustHeatList[10]

◆ acShipSequence

◆ aeShipTacticArray

◆ aShipDestinationsArray

◆ ausVduModeStack

unsigned short ausVduModeStack[16]

Definition at line 15 of file input.c.

Referenced by get_mode(), push_mode(), and set_mode().

◆ nEyePitchTargetValue

short nEyePitchTargetValue

Definition at line 23 of file input.c.

Referenced by new_view(), parse_view_script(), rotate_eye_to_goal(), and update_scripted_view().

◆ nInputDoubleClickInterval

short nInputDoubleClickInterval = 1

Definition at line 10 of file input.c.

Referenced by LoadOriginFxDrivers(), and UpdateInputDeviceTransitions().

◆ nMenuPointerSpeed

short nMenuPointerSpeed = 2

Definition at line 11 of file input.c.

Referenced by BarracksScreen(), PollMenuInputDevices(), and RecRoom().

◆ nRenderedSpaceFrame

◆ nTargetFacingValue