|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
Go to the source code of this file.
Functions | |
| int32_t | Input_CheckButtonState (int32_t state_index, struct Input_State const *state_table, int32_t control_code, int32_t mode_or_threshold) |
| IDirectInputA * | DInput_CreateInterface (HINSTANCE h_instance) |
| IDirectInputDevice2A * | DInput_CreateDevice2A (IDirectInputA *dinput_interface, GUID device_guid) |
| IDirectInputDevice2A * | DInput_QueryDevice2AInterface (IDirectInputDeviceA *device) |
| BOOL | Input_SetDeviceCooperativeLevel (IDirectInputDeviceA *device, HWND hwnd, DWORD flags) |
| BOOL | Input_SetDeviceDataFormat (IDirectInputDeviceA *device, DIDATAFORMAT const *data_format) |
| BOOL | Input_AcquireDevice (IDirectInputDeviceA *device) |
| void * | Input_GetDeviceStateBuffer (IDirectInputDeviceA *device, DWORD state_size) |
| BOOL | DInput_EnumJoystickDeviceCallback (DIDEVICEINSTANCEA const *device_instance, void *context) |
| BOOL | Input_SetJoystickAxisRangeProperty (IDirectInputDeviceA *device, DWORD axis_offset, LONG min_value, LONG max_value) |
| BOOL | Input_SetJoystickXAxisRange (IDirectInputDeviceA *device, LONG min_value, LONG max_value) |
| BOOL | Input_SetJoystickYAxisRange (IDirectInputDeviceA *device, LONG min_value, LONG max_value) |
| BOOL | Input_SetJoystickZAxisRange (IDirectInputDeviceA *device, LONG min_value, LONG max_value) |
| BOOL | Input_SetJoystickRzAxisRange (IDirectInputDeviceA *device, LONG min_value, LONG max_value) |
| int32_t | DInput_EnumerateForceFeedbackJoysticks (IDirectInputA *direct_input, GUID *device_guid_buffer) |
| int32_t | DInput_EnumerateAttachedJoysticks (IDirectInputA *direct_input, GUID *device_guid_buffer) |
| BOOL | Input_SetExclusiveForegroundCooperativeLevel (IDirectInputDeviceA *device, HWND hwnd) |
| BOOL | Input_SetJoystickDataFormat (IDirectInputDeviceA *device) |
| BOOL | Input_SetJoystick2DataFormat (IDirectInputDeviceA *device) |
| struct Input_JoystickState * | Input_PollJoystickState (IDirectInputDevice2A *device) |
| int32_t | Input_GetJoystickAxisX (struct Input_JoystickState *joy_state) |
| int32_t | Input_GetJoystickAxisY (struct Input_JoystickState *joy_state) |
| int32_t | Input_GetJoystickAxisRz (struct Input_JoystickState *joy_state) |
| uint8_t | Input_GetJoystickButtonByte (struct Input_JoystickState *joy_state, int32_t button_index) |
| BOOL | Input_IsJoystickButtonPressed (struct Input_JoystickState *joy_state, int32_t button_index) |
| IDirectInputDevice2A * | DInput_CreateConfiguredJoystickDevice (IDirectInputA *direct_input, HWND hwnd, int32_t device_index, int32_t setup_mode) |
| HRESULT | DInput_SetConstantForceEffect (LONG direction_x, LONG direction_y_and_base_magnitude, DWORD duration_microseconds) |
| HRESULT | DInput_StartConstantForceEffect (void) |
| void | Input_SetForceFeedbackScale (float scale) |
| IDirectInputDevice2A * | DInput_CreateJoystickDevice (IDirectInputA *direct_input, HWND hwnd, int32_t device_index) |
| BOOL | DInput_InitializeJoystickInput (HWND hwnd, HINSTANCE h_instance) |
| bool | Input_CheckCheatCodeSequence (void) |
| void | Input_RegisterButtonMapping (int32_t control_code, uint32_t button_mask) |
| void | Input_InitializeButtonMappings (void) |
| void | Input_InitializeControllerMappings (void) |
| void | Input_InitializeInputSubsystem (HWND hwnd, HINSTANCE h_instance) |
| void | Input_ReadKeyboard (struct Input_State *state) |
| void | Input_ReadGamepad (struct Input_State *state) |
| void | Input_ReadDevices (int32_t unused_player_index, struct Input_State *state) |
| void | DInput_ReleaseResources (void) |
| int32_t | Input_TriggerRumbleIfAllowed (int32_t source_id, BOOL full_strength, int32_t magnitude_fp12, int32_t duration_units) |
| int32_t | Input_GetButtonIndex (uint32_t control_mask) |
| void | Input_FormatButtonName (int32_t control_code, uint32_t button_mask) |
| char * | Input_GetButtonString (int32_t button_code) |
| BOOL | Input_IsKeyPressedAsync (int32_t v_key) |
| int32_t | Input_GetPressedButton (void) |
| BOOL | Input_ProcessWindowMessages (void) |
| void | Input_ResetState (void) |
| void | Input_CalculateMovementVector (struct Math_Vec3I32 *out_move_vector, int32_t player_index, int32_t heading_angle) |
| void | Input_Update (void) |
| void | Input_ClearState (void) |
| uint8_t | Input_IsKeyPressed (uint8_t scan_code) |
| void | Input_SetKeyDown (uint8_t scan_code) |
| void | Input_SetKeyUp (uint8_t scan_code) |
| HRESULT | DInput_CreateA (HINSTANCE hinst, DWORD dw_version, IDirectInputA **pp_di, IUnknown *p_unk_outer) |
| HRESULT DInput_CreateA | ( | HINSTANCE | hinst, |
| DWORD | dw_version, | ||
| IDirectInputA ** | pp_di, | ||
| IUnknown * | p_unk_outer ) |
| IDirectInputDevice2A * DInput_CreateConfiguredJoystickDevice | ( | IDirectInputA * | direct_input, |
| HWND | hwnd, | ||
| int32_t | device_index, | ||
| int32_t | setup_mode ) |
| IDirectInputDevice2A * DInput_CreateDevice2A | ( | IDirectInputA * | dinput_interface, |
| GUID | device_guid ) |
| IDirectInputA * DInput_CreateInterface | ( | HINSTANCE | h_instance | ) |
| IDirectInputDevice2A * DInput_CreateJoystickDevice | ( | IDirectInputA * | direct_input, |
| HWND | hwnd, | ||
| int32_t | device_index ) |
| int32_t DInput_EnumerateAttachedJoysticks | ( | IDirectInputA * | direct_input, |
| GUID * | device_guid_buffer ) |
| int32_t DInput_EnumerateForceFeedbackJoysticks | ( | IDirectInputA * | direct_input, |
| GUID * | device_guid_buffer ) |
Definition at line 15 of file force_feedback.c.
| BOOL DInput_EnumJoystickDeviceCallback | ( | DIDEVICEINSTANCEA const * | device_instance, |
| void * | context ) |
| BOOL DInput_InitializeJoystickInput | ( | HWND | hwnd, |
| HINSTANCE | h_instance ) |
| IDirectInputDevice2A * DInput_QueryDevice2AInterface | ( | IDirectInputDeviceA * | device | ) |
| HRESULT DInput_SetConstantForceEffect | ( | LONG | direction_x, |
| LONG | direction_y_and_base_magnitude, | ||
| DWORD | duration_microseconds ) |
Definition at line 26 of file force_feedback.c.
| HRESULT DInput_StartConstantForceEffect | ( | void | ) |
Definition at line 55 of file force_feedback.c.
| void Input_CalculateMovementVector | ( | struct Math_Vec3I32 * | out_move_vector, |
| int32_t | player_index, | ||
| int32_t | heading_angle ) |
| int32_t Input_CheckButtonState | ( | int32_t | state_index, |
| struct Input_State const * | state_table, | ||
| int32_t | control_code, | ||
| int32_t | mode_or_threshold ) |
| bool Input_CheckCheatCodeSequence | ( | void | ) |
Definition at line 19 of file bindings.c.
| void Input_FormatButtonName | ( | int32_t | control_code, |
| uint32_t | button_mask ) |
Definition at line 210 of file bindings.c.
| int32_t Input_GetButtonIndex | ( | uint32_t | control_mask | ) |
Definition at line 188 of file bindings.c.
| char * Input_GetButtonString | ( | int32_t | button_code | ) |
Definition at line 237 of file bindings.c.
| void * Input_GetDeviceStateBuffer | ( | IDirectInputDeviceA * | device, |
| DWORD | state_size ) |
| int32_t Input_GetJoystickAxisRz | ( | struct Input_JoystickState * | joy_state | ) |
| int32_t Input_GetJoystickAxisX | ( | struct Input_JoystickState * | joy_state | ) |
| int32_t Input_GetJoystickAxisY | ( | struct Input_JoystickState * | joy_state | ) |
| uint8_t Input_GetJoystickButtonByte | ( | struct Input_JoystickState * | joy_state, |
| int32_t | button_index ) |
| void Input_InitializeButtonMappings | ( | void | ) |
Definition at line 109 of file bindings.c.
| void Input_InitializeControllerMappings | ( | void | ) |
Definition at line 166 of file bindings.c.
| void Input_InitializeInputSubsystem | ( | HWND | hwnd, |
| HINSTANCE | h_instance ) |
| BOOL Input_IsJoystickButtonPressed | ( | struct Input_JoystickState * | joy_state, |
| int32_t | button_index ) |
| struct Input_JoystickState * Input_PollJoystickState | ( | IDirectInputDevice2A * | device | ) |
| void Input_ReadDevices | ( | int32_t | unused_player_index, |
| struct Input_State * | state ) |
| void Input_ReadGamepad | ( | struct Input_State * | state | ) |
| void Input_ReadKeyboard | ( | struct Input_State * | state | ) |
| void Input_RegisterButtonMapping | ( | int32_t | control_code, |
| uint32_t | button_mask ) |
Definition at line 60 of file bindings.c.
| BOOL Input_SetDeviceCooperativeLevel | ( | IDirectInputDeviceA * | device, |
| HWND | hwnd, | ||
| DWORD | flags ) |
| BOOL Input_SetDeviceDataFormat | ( | IDirectInputDeviceA * | device, |
| DIDATAFORMAT const * | data_format ) |
| BOOL Input_SetExclusiveForegroundCooperativeLevel | ( | IDirectInputDeviceA * | device, |
| HWND | hwnd ) |
| void Input_SetForceFeedbackScale | ( | float | scale | ) |
Definition at line 69 of file force_feedback.c.
| BOOL Input_SetJoystick2DataFormat | ( | IDirectInputDeviceA * | device | ) |
| BOOL Input_SetJoystickAxisRangeProperty | ( | IDirectInputDeviceA * | device, |
| DWORD | axis_offset, | ||
| LONG | min_value, | ||
| LONG | max_value ) |
| BOOL Input_SetJoystickDataFormat | ( | IDirectInputDeviceA * | device | ) |
| BOOL Input_SetJoystickRzAxisRange | ( | IDirectInputDeviceA * | device, |
| LONG | min_value, | ||
| LONG | max_value ) |
| BOOL Input_SetJoystickXAxisRange | ( | IDirectInputDeviceA * | device, |
| LONG | min_value, | ||
| LONG | max_value ) |
| BOOL Input_SetJoystickYAxisRange | ( | IDirectInputDeviceA * | device, |
| LONG | min_value, | ||
| LONG | max_value ) |
| BOOL Input_SetJoystickZAxisRange | ( | IDirectInputDeviceA * | device, |
| LONG | min_value, | ||
| LONG | max_value ) |
| int32_t Input_TriggerRumbleIfAllowed | ( | int32_t | source_id, |
| BOOL | full_strength, | ||
| int32_t | magnitude_fp12, | ||
| int32_t | duration_units ) |
Definition at line 76 of file force_feedback.c.