|
Wing Commander
Reconstructed Win32 source (1996)
|
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 |
Joystick transitions and menu input polling.
Address range 430710-430bbf.
Definition in file input.c.
Definition at line 71 of file input.c.
References JoystickInputHook().
Referenced by JoystickInputHook().
Definition at line 76 of file input.c.
References aInputDevSamples, asInputBtn1ChangedTable, asInputButton1DoubleClicksList, asInputButton2ChangedTable, asInputButton2DoubleClick, bInputPollingGuard, nCurrentActiveInputDevice, PollJoystickButtonEvents(), MouseCursorState::primaryButton, QueueInputEventAtCursor(), MouseCursorState::secondaryButton, stHostMouseState, and UpdateInputDeviceTransitions().
Referenced by InflightComputer(), landing(), LoadOriginFxDrivers(), PlaySfxWaveFileByNumber(), PollJoystickButtonEvents(), SceneDirector(), ShowTrainSimHighScores(), Title_Sequence(), and UpdateTrainSimHighScores().
Definition at line 110 of file input.c.
References aInputDevSamples, asInputBtn1ChangedTable, asInputButton1DoubleClicksList, asInputButton2ChangedTable, bInputPollingGuard, EnterAllocationScope(), MouseCursorState::flags, FlushInputEvents(), LeaveAllocationScope(), nCurrentActiveInputDevice, nMenuPointerSpeed, PollMenuInputDevices(), MouseCursorState::primaryButton, QueueInputEventAtCursor(), MouseCursorState::secondaryButton, SetMousePosition(), stHostMouseState, stMouseCursorState, UpdateInputDeviceTransitions(), InputDeviceSample::x, MouseCursorState::x, InputDeviceSample::y, and MouseCursorState::y.
Referenced by InflightComputer(), InitializeRoomViewports(), PlaySfxWaveFileByNumber(), PollMenuInputDevices(), RecRoom(), RunTrainSim(), SelectTrainSimMission(), Title_Sequence(), and UpdateTrainSimHighScores().
| short __stdcall UpdateInputDeviceTransitions | ( | short | raw | ) |
Definition at line 26 of file input.c.
References aInputDevSamples, anInputButton1PressTimes, anInputButton2PressTime, asInputBtn1ChangedTable, asInputButton1DoubleClicksList, asInputButton2ChangedTable, asInputButton2DoubleClick, asPreviousInputButtons, nCurrentActiveInputDevice, nInputDoubleClickInterval, nInputTickScale, nTickCount60Hz, ReadCalibratedJoystick(), SampleJoystickDevice(), and UpdateInputDeviceTransitions().
Referenced by get_player_input(), PlaySfxWaveFileByNumber(), PollJoystickButtonEvents(), PollMenuInputDevices(), and UpdateInputDeviceTransitions().
| short aasShipShield[10][2] |
Definition at line 19 of file input.c.
Referenced by inflict_damage(), internal_damage(), replenish_shields(), replenish_weapon_energy_bank(), RunTrainSim(), set_objects_data(), show_target_disp(), update_bars(), and update_lights().
| signed char abShipExhaustHeatList[10] |
Definition at line 21 of file input.c.
Referenced by accelerate_and_move_object(), heat_seeking_missile_intelligence(), house_keep_objects(), place_exhaust_on_ships(), and Set_up_ship_info().
| char acShipSequence[10] |
Definition at line 16 of file input.c.
Referenced by advance(), formation_break(), general_zig(), Mburnout(), Mbuzz_debris(), Mchill(), Mcorkscrew(), Mfish_hook(), Mgloat(), Mhard_break(), Mhard_turn(), Mkickit(), Mroll_over(), Msit_n_spin(), Msplit_left(), Msplit_right(), Mtight_loop(), Mturn_n_kick(), Mturn_n_spin(), Mveer_away(), reset_maneuver(), and ShipAiState35().
| enum ShipTactic aeShipTacticArray[12] |
Definition at line 20 of file input.c.
Referenced by accelerate_and_move_object(), alter_tactic(), capital_ship_intelligence(), coming_home(), FF_missile_intelligence(), fire_weapon(), house_keep_objects(), init_intelligence_data(), kilrathi_patrol(), patrol_area(), reach_warp(), reset_tactic(), scan_and_lock(), set_eye_direction_and_position(), and warp_arrival().
| FixedVector aShipDestinationsArray[10] |
Definition at line 18 of file input.c.
Referenced by auto_pilot_sequence(), coming_home(), cruise_home(), cruise_to_destination(), formation_burst(), init_formation_burst(), maintain_formation(), and reach_warp().
| unsigned short ausVduModeStack[16] |
Definition at line 15 of file input.c.
Referenced by get_mode(), push_mode(), and set_mode().
| 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().
| short nInputDoubleClickInterval = 1 |
Definition at line 10 of file input.c.
Referenced by LoadOriginFxDrivers(), and UpdateInputDeviceTransitions().
| short nMenuPointerSpeed = 2 |
Definition at line 11 of file input.c.
Referenced by BarracksScreen(), PollMenuInputDevices(), and RecRoom().
| short nRenderedSpaceFrame |
Definition at line 22 of file input.c.
Referenced by animate_object(), check_target(), Draw_3Space_Frame(), draw_cockpit_lights(), DrawTargetRangeReadout(), init_3Space_objects(), landing(), manage_hazard(), overlay_head_up_display(), ShowCarrierLaunchSequence(), and vid_transmit().
| short nTargetFacingValue |
Definition at line 17 of file input.c.
Referenced by being_tailed(), close_behind(), FindEnemyAimingWithinRange(), fire(), get_facing_range_from_object(), heat_seeking_missile_intelligence(), house_keep_objects(), intelligence_events(), Mbest_strafe(), Mtarget_missile(), Mturn_n_spin(), Mzip_past(), perform_maneuver(), prepare_for_jump(), prevent_collision(), ShipAiState35(), and target_locking().