diff --git a/src/NFS_XtentedInput_ActionID.h b/src/NFS_XtentedInput_ActionID.h index e187927..09c644a 100644 --- a/src/NFS_XtentedInput_ActionID.h +++ b/src/NFS_XtentedInput_ActionID.h @@ -1,10 +1,10 @@ /* // clang-format off -// +// // MIT License // Need for Speed (Black Box, MW & newer) - Xtended Input plugin // Bringing native XInput to NFS -// +// // Copyright (c) 2022–2023 Lovro Plese (Xan/Tenjoin) // Copyright (c) 2023 Berkay Yigit // @@ -254,144 +254,144 @@ enum ActionID { }; char* ActionIDStr[139] = {"NULL_ACTION", - "GAMEACTION_STEERLEFT", - "GAMEACTION_STEERRIGHT", - "GAMEACTION_TURNLEFT", - "GAMEACTION_TURNRIGHT", - "GAMEACTION_GAS", - "GAMEACTION_BRAKE", - "GAMEACTION_HANDBRAKE", - "GAMEACTION_GAMEBREAKER", - "GAMEACTION_SHIFTUP", - "GAMEACTION_SHIFTDOWN", - "GAMEACTION_NOS", - "GAMEACTION_RESET", - "GAMEACTION_FORWARD", - "GAMEACTION_BACK", - "GAMEACTION_JUMP", - "GAMEACTION_DEBUGHUMAN1", - "GAMEACTION_DEBUGHUMAN2", - "GAMEACTION_DEBUGHUMAN3", - "GAMEACTION_DEBUGHUMAN4", - "CAMERAACTION_CHANGE", - "CAMERAACTION_DEBUG", - "CAMERAACTION_ENABLE_ICE", - "CAMERAACTION_LOOKBACK", - "CAMERAACTION_PULLBACK", - "FRONTENDACTION_UP", - "FRONTENDACTION_DOWN", - "FRONTENDACTION_LEFT", - "FRONTENDACTION_RIGHT", - "FRONTENDACTION_RUP", - "FRONTENDACTION_RDOWN", - "FRONTENDACTION_RLEFT", - "FRONTENDACTION_RRIGHT", - "FRONTENDACTION_ACCEPT", - "FRONTENDACTION_CANCEL", - "FRONTENDACTION_CANCEL_ALT", - "FRONTENDACTION_START", - "FRONTENDACTION_BUTTON0", - "FRONTENDACTION_BUTTON1", - "FRONTENDACTION_BUTTON2", - "FRONTENDACTION_BUTTON3", - "FRONTENDACTION_BUTTON4", - "FRONTENDACTION_BUTTON5", - "FRONTENDACTION_LTRIGGER", - "FRONTENDACTION_RTRIGGER", - "HUDACTION_PAUSEREQUEST", - "HUDACTION_ENGAGE_EVENT", - "HUDACTION_PAD_LEFT", - "HUDACTION_PAD_DOWN", - "HUDACTION_PAD_RIGHT", - "HUDACTION_SKIPNIS", - "HUDACTION_NEXTSONG", - "VOIPACTION_PUSHTOTALK", - "DEBUGACTION_MOVE_UP", - "DEBUGACTION_MOVE_DOWN", - "DEBUGACTION_MOVE_LEFT", - "DEBUGACTION_MOVE_RIGHT", - "DEBUGACTION_MOVE_FORWARD", - "DEBUGACTION_MOVE_BACK", - "DEBUGACTION_MOVE_D_LEFT", - "DEBUGACTION_MOVE_D_RIGHT", - "DEBUGACTION_MOVE_D_FORWARD", - "DEBUGACTION_MOVE_D_BACK", - "DEBUGACTION_LOOK_UP", - "DEBUGACTION_LOOK_DOWN", - "DEBUGACTION_LOOK_LEFT", - "DEBUGACTION_LOOK_RIGHT", - "DEBUGACTION_LOOK_D_UP", - "DEBUGACTION_LOOK_D_DOWN", - "DEBUGACTION_LOOK_D_LEFT", - "DEBUGACTION_LOOK_D_RIGHT", - "DEBUGACTION_TURBO", - "DEBUGACTION_SUPER_TURBO", - "DEBUGACTION_DROPCAR", - "DEBUGACTION_TOGGLEAI", - "DEBUGACTION_TOGGLESIMSTEP", - "DEBUGACTION_SIMSTEP", - "DEBUGACTION_SCREENSHOT", - "DEBUGACTION_STOPRECORDPATH", - "DEBUGACTION_TOGGLECARCOLOUR", - "DEBUGACTION_TOGGLEDEMOCAMERAS", - "ICEACTION_GRAB_LEFT", - "ICEACTION_GRAB_RIGHT", - "ICEACTION_LEFT", - "ICEACTION_RIGHT", - "ICEACTION_FAST_LEFT", - "ICEACTION_FAST_RIGHT", - "ICEACTION_UP", - "ICEACTION_DOWN", - "ICEACTION_HELP", - "ICEACTION_UNDO", - "ICEACTION_PLAY", - "ICEACTION_HIDE", - "ICEACTION_SCREENSHOT", - "ICEACTION_SCREENSHOT_STREAM", - "ICEACTION_INSERT", - "ICEACTION_CUT", - "ICEACTION_COPY", - "ICEACTION_PASTE", - "ICEACTION_SELECT", - "ICEACTION_CANCEL", - "ICEACTION_ALT_1", - "ICEACTION_CLIP_IN", - "ICEACTION_CLIP_OUT", - "ICEACTION_SIMSPEED_INC", - "ICEACTION_SIMSPEED_DEC", - "ICEACTION_DUTCH_LEFT", - "ICEACTION_DUTCH_RIGHT", - "ICEACTION_ZOOM_IN", - "ICEACTION_ZOOM_OUT", - "ICEACTION_LETTERBOX_IN", - "ICEACTION_LETTERBOX_OUT", - "ICEACTION_BUBBLE_IN", - "ICEACTION_BUBBLE_OUT", - "ICEACTION_BUBBLE_UP", - "ICEACTION_BUBBLE_DOWN", - "ICEACTION_BUBBLE_TILT_UP", - "ICEACTION_BUBBLE_TILT_DOWN", - "ICEACTION_BUBBLE_SPIN_LEFT", - "ICEACTION_BUBBLE_SPIN_RIGHT", - "ICEACTION_BUBBLE_LEFT", - "ICEACTION_BUBBLE_RIGHT", - "ICEACTION_BUBBLE_BACK", - "ICEACTION_BUBBLE_FORTH", - "ICEACTION_SHAKE_MAG_DEC", - "ICEACTION_SHAKE_MAG_INC", - "ICEACTION_SHAKE_FRQ_DEC", - "ICEACTION_SHAKE_FRQ_INC", - "ICEACTION_SHUTTLE_LEFT", - "ICEACTION_SHUTTLE_RIGHT", - "ICEACTION_SHUTTLE_UP", - "ICEACTION_SHUTTLE_DOWN", - "ICEACTION_SHUTTLE_SPEED_DEC", - "ICEACTION_SHUTTLE_SPEED_INC", - "ACTION_EXITAPPLICATION", - "ACTION_PLUGGED", - "ACTION_UNPLUGGED", - "ACTION_FLUSH", - "MAX_ACTIONID"}; + "GAMEACTION_STEERLEFT", + "GAMEACTION_STEERRIGHT", + "GAMEACTION_TURNLEFT", + "GAMEACTION_TURNRIGHT", + "GAMEACTION_GAS", + "GAMEACTION_BRAKE", + "GAMEACTION_HANDBRAKE", + "GAMEACTION_GAMEBREAKER", + "GAMEACTION_SHIFTUP", + "GAMEACTION_SHIFTDOWN", + "GAMEACTION_NOS", + "GAMEACTION_RESET", + "GAMEACTION_FORWARD", + "GAMEACTION_BACK", + "GAMEACTION_JUMP", + "GAMEACTION_DEBUGHUMAN1", + "GAMEACTION_DEBUGHUMAN2", + "GAMEACTION_DEBUGHUMAN3", + "GAMEACTION_DEBUGHUMAN4", + "CAMERAACTION_CHANGE", + "CAMERAACTION_DEBUG", + "CAMERAACTION_ENABLE_ICE", + "CAMERAACTION_LOOKBACK", + "CAMERAACTION_PULLBACK", + "FRONTENDACTION_UP", + "FRONTENDACTION_DOWN", + "FRONTENDACTION_LEFT", + "FRONTENDACTION_RIGHT", + "FRONTENDACTION_RUP", + "FRONTENDACTION_RDOWN", + "FRONTENDACTION_RLEFT", + "FRONTENDACTION_RRIGHT", + "FRONTENDACTION_ACCEPT", + "FRONTENDACTION_CANCEL", + "FRONTENDACTION_CANCEL_ALT", + "FRONTENDACTION_START", + "FRONTENDACTION_BUTTON0", + "FRONTENDACTION_BUTTON1", + "FRONTENDACTION_BUTTON2", + "FRONTENDACTION_BUTTON3", + "FRONTENDACTION_BUTTON4", + "FRONTENDACTION_BUTTON5", + "FRONTENDACTION_LTRIGGER", + "FRONTENDACTION_RTRIGGER", + "HUDACTION_PAUSEREQUEST", + "HUDACTION_ENGAGE_EVENT", + "HUDACTION_PAD_LEFT", + "HUDACTION_PAD_DOWN", + "HUDACTION_PAD_RIGHT", + "HUDACTION_SKIPNIS", + "HUDACTION_NEXTSONG", + "VOIPACTION_PUSHTOTALK", + "DEBUGACTION_MOVE_UP", + "DEBUGACTION_MOVE_DOWN", + "DEBUGACTION_MOVE_LEFT", + "DEBUGACTION_MOVE_RIGHT", + "DEBUGACTION_MOVE_FORWARD", + "DEBUGACTION_MOVE_BACK", + "DEBUGACTION_MOVE_D_LEFT", + "DEBUGACTION_MOVE_D_RIGHT", + "DEBUGACTION_MOVE_D_FORWARD", + "DEBUGACTION_MOVE_D_BACK", + "DEBUGACTION_LOOK_UP", + "DEBUGACTION_LOOK_DOWN", + "DEBUGACTION_LOOK_LEFT", + "DEBUGACTION_LOOK_RIGHT", + "DEBUGACTION_LOOK_D_UP", + "DEBUGACTION_LOOK_D_DOWN", + "DEBUGACTION_LOOK_D_LEFT", + "DEBUGACTION_LOOK_D_RIGHT", + "DEBUGACTION_TURBO", + "DEBUGACTION_SUPER_TURBO", + "DEBUGACTION_DROPCAR", + "DEBUGACTION_TOGGLEAI", + "DEBUGACTION_TOGGLESIMSTEP", + "DEBUGACTION_SIMSTEP", + "DEBUGACTION_SCREENSHOT", + "DEBUGACTION_STOPRECORDPATH", + "DEBUGACTION_TOGGLECARCOLOUR", + "DEBUGACTION_TOGGLEDEMOCAMERAS", + "ICEACTION_GRAB_LEFT", + "ICEACTION_GRAB_RIGHT", + "ICEACTION_LEFT", + "ICEACTION_RIGHT", + "ICEACTION_FAST_LEFT", + "ICEACTION_FAST_RIGHT", + "ICEACTION_UP", + "ICEACTION_DOWN", + "ICEACTION_HELP", + "ICEACTION_UNDO", + "ICEACTION_PLAY", + "ICEACTION_HIDE", + "ICEACTION_SCREENSHOT", + "ICEACTION_SCREENSHOT_STREAM", + "ICEACTION_INSERT", + "ICEACTION_CUT", + "ICEACTION_COPY", + "ICEACTION_PASTE", + "ICEACTION_SELECT", + "ICEACTION_CANCEL", + "ICEACTION_ALT_1", + "ICEACTION_CLIP_IN", + "ICEACTION_CLIP_OUT", + "ICEACTION_SIMSPEED_INC", + "ICEACTION_SIMSPEED_DEC", + "ICEACTION_DUTCH_LEFT", + "ICEACTION_DUTCH_RIGHT", + "ICEACTION_ZOOM_IN", + "ICEACTION_ZOOM_OUT", + "ICEACTION_LETTERBOX_IN", + "ICEACTION_LETTERBOX_OUT", + "ICEACTION_BUBBLE_IN", + "ICEACTION_BUBBLE_OUT", + "ICEACTION_BUBBLE_UP", + "ICEACTION_BUBBLE_DOWN", + "ICEACTION_BUBBLE_TILT_UP", + "ICEACTION_BUBBLE_TILT_DOWN", + "ICEACTION_BUBBLE_SPIN_LEFT", + "ICEACTION_BUBBLE_SPIN_RIGHT", + "ICEACTION_BUBBLE_LEFT", + "ICEACTION_BUBBLE_RIGHT", + "ICEACTION_BUBBLE_BACK", + "ICEACTION_BUBBLE_FORTH", + "ICEACTION_SHAKE_MAG_DEC", + "ICEACTION_SHAKE_MAG_INC", + "ICEACTION_SHAKE_FRQ_DEC", + "ICEACTION_SHAKE_FRQ_INC", + "ICEACTION_SHUTTLE_LEFT", + "ICEACTION_SHUTTLE_RIGHT", + "ICEACTION_SHUTTLE_UP", + "ICEACTION_SHUTTLE_DOWN", + "ICEACTION_SHUTTLE_SPEED_DEC", + "ICEACTION_SHUTTLE_SPEED_INC", + "ACTION_EXITAPPLICATION", + "ACTION_PLUGGED", + "ACTION_UNPLUGGED", + "ACTION_FLUSH", + "MAX_ACTIONID"}; #endif @@ -504,108 +504,108 @@ enum ActionID { }; char* ActionIDStr[MAX_ACTIONID] = {"NULL_ACTION", - "GAMEACTION_STEERLEFT", - "GAMEACTION_STEERRIGHT", - "GAMEACTION_OVERSTEER", - "GAMEACTION_OVERSTEERLEFT", - "GAMEACTION_OVERSTEERRIGHT", - "GAMEACTION_TURNLEFT", - "GAMEACTION_TURNRIGHT", - "GAMEACTION_GAS", - "GAMEACTION_BRAKE", - "GAMEACTION_HANDBRAKE", - "GAMEACTION_GAMEBREAKER", - "GAMEACTION_SHIFTUP", - "GAMEACTION_SHIFTDOWN", - "GAMEACTION_SHIFTFIRST", - "GAMEACTION_SHIFTSECOND", - "GAMEACTION_SHIFTTHIRD", - "GAMEACTION_SHIFTFOURTH", - "GAMEACTION_SHIFTFIFTH", - "GAMEACTION_SHIFTSIXTH", - "GAMEACTION_SHIFTNEUTRAL", - "GAMEACTION_SHIFTREVERSE", - "GAMEACTION_NOS", - "GAMEACTION_RESET", - "GAMEACTION_CREWAGGRESSIVE", - "GAMEACTION_CREWDEFENSIVE", - "GAMEACTION_CREWDEFAULT", - "GAMEACTION_CREWSPEED", - "GAMEACTION_FORWARD", - "GAMEACTION_BACK", - "GAMEACTION_JUMP", - "GAMEACTION_DEBUGHUMAN1", - "GAMEACTION_DEBUGHUMAN2", - "GAMEACTION_DEBUGHUMAN3", - "GAMEACTION_DEBUGHUMAN4", - "GAMEACTION_CLUTCH", - "CAMERAACTION_CHANGE", - "CAMERAACTION_DEBUG", - "CAMERAACTION_ENABLE_ICE", - "CAMERAACTION_LOOKBACK", - "CAMERAACTION_PULLBACK", - "FRONTENDACTION_UP", - "FRONTENDACTION_DOWN", - "FRONTENDACTION_LEFT", - "FRONTENDACTION_RIGHT", - "FRONTENDACTION_RUP", - "FRONTENDACTION_RDOWN", - "FRONTENDACTION_RLEFT", - "FRONTENDACTION_RRIGHT", - "FRONTENDACTION_ACCEPT", - "FRONTENDACTION_CANCEL", - "FRONTENDACTION_CANCEL_ALT", - "FRONTENDACTION_START", - "FRONTENDACTION_BUTTON0", - "FRONTENDACTION_BUTTON1", - "FRONTENDACTION_BUTTON2", - "FRONTENDACTION_BUTTON3", - "FRONTENDACTION_BUTTON4", - "FRONTENDACTION_BUTTON5", - "FRONTENDACTION_LTRIGGER", - "FRONTENDACTION_RTRIGGER", - "HUDACTION_PAUSEREQUEST", - "HUDACTION_ENGAGE_EVENT", - "HUDACTION_PAD_LEFT", - "HUDACTION_PAD_DOWN", - "HUDACTION_PAD_RIGHT", - "HUDACTION_SKIPNIS", - "HUDACTION_NEXTSONG", - "HUDACTION_VOIPACTIVATION", - "HUDACTION_VOIPDEACTIVATION", - "VOIPACTION_PUSHTOTALK", - "DEBUGACTION_MOVE_UP", - "DEBUGACTION_MOVE_DOWN", - "DEBUGACTION_MOVE_LEFT", - "DEBUGACTION_MOVE_RIGHT", - "DEBUGACTION_MOVE_FORWARD", - "DEBUGACTION_MOVE_BACK", - "DEBUGACTION_MOVE_D_LEFT", - "DEBUGACTION_MOVE_D_RIGHT", - "DEBUGACTION_MOVE_D_FORWARD", - "DEBUGACTION_MOVE_D_BACK", - "DEBUGACTION_LOOK_UP", - "DEBUGACTION_LOOK_DOWN", - "DEBUGACTION_LOOK_LEFT", - "DEBUGACTION_LOOK_RIGHT", - "DEBUGACTION_LOOK_D_UP", - "DEBUGACTION_LOOK_D_DOWN", - "DEBUGACTION_LOOK_D_LEFT", - "DEBUGACTION_LOOK_D_RIGHT", - "DEBUGACTION_TURBO", - "DEBUGACTION_SUPER_TURBO", - "DEBUGACTION_DROPCAR", - "DEBUGACTION_TOGGLEAI", - "DEBUGACTION_TOGGLESIMSTEP", - "DEBUGACTION_SIMSTEP", - "DEBUGACTION_SCREENSHOT", - "DEBUGACTION_STOPRECORDPATH", - "DEBUGACTION_TOGGLECARCOLOUR", - "DEBUGACTION_TOGGLEDEMOCAMERAS", - "ACTION_EXITAPPLICATION", - "ACTION_PLUGGED", - "ACTION_UNPLUGGED", - "ACTION_FLUSH"}; + "GAMEACTION_STEERLEFT", + "GAMEACTION_STEERRIGHT", + "GAMEACTION_OVERSTEER", + "GAMEACTION_OVERSTEERLEFT", + "GAMEACTION_OVERSTEERRIGHT", + "GAMEACTION_TURNLEFT", + "GAMEACTION_TURNRIGHT", + "GAMEACTION_GAS", + "GAMEACTION_BRAKE", + "GAMEACTION_HANDBRAKE", + "GAMEACTION_GAMEBREAKER", + "GAMEACTION_SHIFTUP", + "GAMEACTION_SHIFTDOWN", + "GAMEACTION_SHIFTFIRST", + "GAMEACTION_SHIFTSECOND", + "GAMEACTION_SHIFTTHIRD", + "GAMEACTION_SHIFTFOURTH", + "GAMEACTION_SHIFTFIFTH", + "GAMEACTION_SHIFTSIXTH", + "GAMEACTION_SHIFTNEUTRAL", + "GAMEACTION_SHIFTREVERSE", + "GAMEACTION_NOS", + "GAMEACTION_RESET", + "GAMEACTION_CREWAGGRESSIVE", + "GAMEACTION_CREWDEFENSIVE", + "GAMEACTION_CREWDEFAULT", + "GAMEACTION_CREWSPEED", + "GAMEACTION_FORWARD", + "GAMEACTION_BACK", + "GAMEACTION_JUMP", + "GAMEACTION_DEBUGHUMAN1", + "GAMEACTION_DEBUGHUMAN2", + "GAMEACTION_DEBUGHUMAN3", + "GAMEACTION_DEBUGHUMAN4", + "GAMEACTION_CLUTCH", + "CAMERAACTION_CHANGE", + "CAMERAACTION_DEBUG", + "CAMERAACTION_ENABLE_ICE", + "CAMERAACTION_LOOKBACK", + "CAMERAACTION_PULLBACK", + "FRONTENDACTION_UP", + "FRONTENDACTION_DOWN", + "FRONTENDACTION_LEFT", + "FRONTENDACTION_RIGHT", + "FRONTENDACTION_RUP", + "FRONTENDACTION_RDOWN", + "FRONTENDACTION_RLEFT", + "FRONTENDACTION_RRIGHT", + "FRONTENDACTION_ACCEPT", + "FRONTENDACTION_CANCEL", + "FRONTENDACTION_CANCEL_ALT", + "FRONTENDACTION_START", + "FRONTENDACTION_BUTTON0", + "FRONTENDACTION_BUTTON1", + "FRONTENDACTION_BUTTON2", + "FRONTENDACTION_BUTTON3", + "FRONTENDACTION_BUTTON4", + "FRONTENDACTION_BUTTON5", + "FRONTENDACTION_LTRIGGER", + "FRONTENDACTION_RTRIGGER", + "HUDACTION_PAUSEREQUEST", + "HUDACTION_ENGAGE_EVENT", + "HUDACTION_PAD_LEFT", + "HUDACTION_PAD_DOWN", + "HUDACTION_PAD_RIGHT", + "HUDACTION_SKIPNIS", + "HUDACTION_NEXTSONG", + "HUDACTION_VOIPACTIVATION", + "HUDACTION_VOIPDEACTIVATION", + "VOIPACTION_PUSHTOTALK", + "DEBUGACTION_MOVE_UP", + "DEBUGACTION_MOVE_DOWN", + "DEBUGACTION_MOVE_LEFT", + "DEBUGACTION_MOVE_RIGHT", + "DEBUGACTION_MOVE_FORWARD", + "DEBUGACTION_MOVE_BACK", + "DEBUGACTION_MOVE_D_LEFT", + "DEBUGACTION_MOVE_D_RIGHT", + "DEBUGACTION_MOVE_D_FORWARD", + "DEBUGACTION_MOVE_D_BACK", + "DEBUGACTION_LOOK_UP", + "DEBUGACTION_LOOK_DOWN", + "DEBUGACTION_LOOK_LEFT", + "DEBUGACTION_LOOK_RIGHT", + "DEBUGACTION_LOOK_D_UP", + "DEBUGACTION_LOOK_D_DOWN", + "DEBUGACTION_LOOK_D_LEFT", + "DEBUGACTION_LOOK_D_RIGHT", + "DEBUGACTION_TURBO", + "DEBUGACTION_SUPER_TURBO", + "DEBUGACTION_DROPCAR", + "DEBUGACTION_TOGGLEAI", + "DEBUGACTION_TOGGLESIMSTEP", + "DEBUGACTION_SIMSTEP", + "DEBUGACTION_SCREENSHOT", + "DEBUGACTION_STOPRECORDPATH", + "DEBUGACTION_TOGGLECARCOLOUR", + "DEBUGACTION_TOGGLEDEMOCAMERAS", + "ACTION_EXITAPPLICATION", + "ACTION_PLUGGED", + "ACTION_UNPLUGGED", + "ACTION_FLUSH"}; #endif #ifdef GAME_PROSTREET @@ -764,155 +764,155 @@ enum ActionID { }; char* ActionIDStr[MAX_ACTIONID] = {"NULL_ACTION", - "GAMEACTION_STEERLEFT", - "GAMEACTION_STEERRIGHT", - "GAMEACTION_OVERSTEER", - "GAMEACTION_OVERSTEERLEFT", - "GAMEACTION_OVERSTEERRIGHT", - "GAMEACTION_TURNLEFT", - "GAMEACTION_TURNRIGHT", - "GAMEACTION_GAS", - "GAMEACTION_GAS_SLOTCAR", - "GAMEACTION_BRAKE", - "GAMEACTION_HANDBRAKE", - "GAMEACTION_GAMEBREAKER", - "GAMEACTION_SHIFTUP", - "GAMEACTION_SHIFTDOWN", - "GAMEACTION_SHIFTFIRST", - "GAMEACTION_SHIFTSECOND", - "GAMEACTION_SHIFTTHIRD", - "GAMEACTION_SHIFTFOURTH", - "GAMEACTION_SHIFTFIFTH", - "GAMEACTION_SHIFTSIXTH", - "GAMEACTION_SHIFTNEUTRAL", - "GAMEACTION_SHIFTREVERSE", - "GAMEACTION_NOS", - "GAMEACTION_RESET", - "GAMEACTION_CREWAGGRESSIVE", - "GAMEACTION_CREWDEFENSIVE", - "GAMEACTION_CREWDEFAULT", - "GAMEACTION_CREWSPEED", - "GAMEACTION_FORWARD", - "GAMEACTION_BACK", - "GAMEACTION_JUMP", - "GAMEACTION_DEBUGHUMAN1", - "GAMEACTION_DEBUGHUMAN2", - "GAMEACTION_DEBUGHUMAN3", - "GAMEACTION_DEBUGHUMAN4", - "GAMEACTION_CLUTCH", - "GAMEACTION_CLUTCH_KICK", - "CAMERAACTION_CHANGE", - "CAMERAACTION_DEBUG", - "CAMERAACTION_ENABLE_ICE", - "CAMERAACTION_LOOKBACK", - "CAMERAACTION_PULLBACK", - "CAMERAACTION_ROT_LEFT", - "CAMERAACTION_ROT_RIGHT", - "CAMERAACTION_360", - "FRONTENDACTION_UP", - "FRONTENDACTION_DOWN", - "FRONTENDACTION_LEFT", - "FRONTENDACTION_RIGHT", - "FRONTENDACTION_RUP", - "FRONTENDACTION_RDOWN", - "FRONTENDACTION_RLEFT", - "FRONTENDACTION_RRIGHT", - "FRONTENDACTION_ACCEPT", - "FRONTENDACTION_CANCEL", - "FRONTENDACTION_CANCEL_ALT", - "FRONTENDACTION_START", - "FRONTENDACTION_BUTTON0", - "FRONTENDACTION_BUTTON1", - "FRONTENDACTION_BUTTON2", - "FRONTENDACTION_BUTTON3", - "FRONTENDACTION_BUTTON4", - "FRONTENDACTION_BUTTON5", - "FRONTENDACTION_LTRIGGER", - "FRONTENDACTION_RTRIGGER", - "HUDACTION_PAUSEREQUEST", - "HUDACTION_ENGAGE_EVENT", - "HUDACTION_PAD_LEFT", - "HUDACTION_PAD_DOWN", - "HUDACTION_PAD_RIGHT", - "HUDACTION_SKIPNIS", - "HUDACTION_NEXTSONG", - "HUDACTION_VOIPACTIVATION", - "HUDACTION_VOIPDEACTIVATION", - "HUDACTION_TOGGLE_LEADERBOARD", - "HUDACTION_TOGGLE_MINIMAP", - "HUDACTION_TOGGLE_BESTLINE", - "HUDACTION_TOGGLE_ARROWS", - "VOIPACTION_PUSHTOTALK", - "DEBUGACTION_MOVE_UP", - "DEBUGACTION_MOVE_DOWN", - "DEBUGACTION_MOVE_LEFT", - "DEBUGACTION_MOVE_RIGHT", - "DEBUGACTION_MOVE_FORWARD", - "DEBUGACTION_MOVE_BACK", - "DEBUGACTION_MOVE_D_LEFT", - "DEBUGACTION_MOVE_D_RIGHT", - "DEBUGACTION_MOVE_D_FORWARD", - "DEBUGACTION_MOVE_D_BACK", - "DEBUGACTION_LOOK_UP", - "DEBUGACTION_LOOK_DOWN", - "DEBUGACTION_LOOK_LEFT", - "DEBUGACTION_LOOK_RIGHT", - "DEBUGACTION_LOOK_D_UP", - "DEBUGACTION_LOOK_D_DOWN", - "DEBUGACTION_LOOK_D_LEFT", - "DEBUGACTION_LOOK_D_RIGHT", - "DEBUGACTION_TURBO", - "DEBUGACTION_SUPER_TURBO", - "DEBUGACTION_DROPCAR", - "DEBUGACTION_TOGGLEAI", - "DEBUGACTION_TOGGLESIMSTEP", - "DEBUGACTION_SIMSTEP", - "DEBUGACTION_SCREENSHOT", - "DEBUGACTION_STOPRECORDPATH", - "DEBUGACTION_TOGGLECARCOLOUR", - "DEBUGACTION_TOGGLEDEMOCAMERAS", - "ICE_ACTION_START", - "ICE_ACTION_SELECT", - "ICE_ACTION_SOUTH", - "ICE_ACTION_SOUTH_PRESS", - "ICE_ACTION_NORTH", - "ICE_ACTION_NORTH_PRESS", - "ICE_ACTION_WEST", - "ICE_ACTION_WEST_PRESS", - "ICE_ACTION_EAST", - "ICE_ACTION_EAST_PRESS", - "ICE_ACTION_DOWN", - "ICE_ACTION_DOWN_PRESS", - "ICE_ACTION_UP", - "ICE_ACTION_UP_PRESS", - "ICE_ACTION_LEFT", - "ICE_ACTION_LEFT_PRESS", - "ICE_ACTION_RIGHT", - "ICE_ACTION_RIGHT_PRESS", - "ICE_ACTION_L1", - "ICE_ACTION_L1_PRESS", - "ICE_ACTION_R1", - "ICE_ACTION_R1_PRESS", - "ICE_ACTION_L2", - "ICE_ACTION_L2_PRESS", - "ICE_ACTION_R2", - "ICE_ACTION_R2_PRESS", - "ICE_ACTION_L3", - "ICE_ACTION_L3_PRESS", - "ICE_ACTION_R3", - "ICE_ACTION_R3_RELEASE", - "ICE_ACTION_LEFTSTICK_LEFT", - "ICE_ACTION_LEFTSTICK_RIGHT", - "ICE_ACTION_LEFTSTICK_DOWN", - "ICE_ACTION_LEFTSTICK_UP", - "ICE_ACTION_RIGHTSTICK_LEFT", - "ICE_ACTION_RIGHTSTICK_RIGHT", - "ICE_ACTION_RIGHTSTICK_DOWN", - "ICE_ACTION_RIGHTSTICK_UP", - "ACTION_EXITAPPLICATION", - "ACTION_PLUGGED", - "ACTION_UNPLUGGED", - "ACTION_FLUSH"}; + "GAMEACTION_STEERLEFT", + "GAMEACTION_STEERRIGHT", + "GAMEACTION_OVERSTEER", + "GAMEACTION_OVERSTEERLEFT", + "GAMEACTION_OVERSTEERRIGHT", + "GAMEACTION_TURNLEFT", + "GAMEACTION_TURNRIGHT", + "GAMEACTION_GAS", + "GAMEACTION_GAS_SLOTCAR", + "GAMEACTION_BRAKE", + "GAMEACTION_HANDBRAKE", + "GAMEACTION_GAMEBREAKER", + "GAMEACTION_SHIFTUP", + "GAMEACTION_SHIFTDOWN", + "GAMEACTION_SHIFTFIRST", + "GAMEACTION_SHIFTSECOND", + "GAMEACTION_SHIFTTHIRD", + "GAMEACTION_SHIFTFOURTH", + "GAMEACTION_SHIFTFIFTH", + "GAMEACTION_SHIFTSIXTH", + "GAMEACTION_SHIFTNEUTRAL", + "GAMEACTION_SHIFTREVERSE", + "GAMEACTION_NOS", + "GAMEACTION_RESET", + "GAMEACTION_CREWAGGRESSIVE", + "GAMEACTION_CREWDEFENSIVE", + "GAMEACTION_CREWDEFAULT", + "GAMEACTION_CREWSPEED", + "GAMEACTION_FORWARD", + "GAMEACTION_BACK", + "GAMEACTION_JUMP", + "GAMEACTION_DEBUGHUMAN1", + "GAMEACTION_DEBUGHUMAN2", + "GAMEACTION_DEBUGHUMAN3", + "GAMEACTION_DEBUGHUMAN4", + "GAMEACTION_CLUTCH", + "GAMEACTION_CLUTCH_KICK", + "CAMERAACTION_CHANGE", + "CAMERAACTION_DEBUG", + "CAMERAACTION_ENABLE_ICE", + "CAMERAACTION_LOOKBACK", + "CAMERAACTION_PULLBACK", + "CAMERAACTION_ROT_LEFT", + "CAMERAACTION_ROT_RIGHT", + "CAMERAACTION_360", + "FRONTENDACTION_UP", + "FRONTENDACTION_DOWN", + "FRONTENDACTION_LEFT", + "FRONTENDACTION_RIGHT", + "FRONTENDACTION_RUP", + "FRONTENDACTION_RDOWN", + "FRONTENDACTION_RLEFT", + "FRONTENDACTION_RRIGHT", + "FRONTENDACTION_ACCEPT", + "FRONTENDACTION_CANCEL", + "FRONTENDACTION_CANCEL_ALT", + "FRONTENDACTION_START", + "FRONTENDACTION_BUTTON0", + "FRONTENDACTION_BUTTON1", + "FRONTENDACTION_BUTTON2", + "FRONTENDACTION_BUTTON3", + "FRONTENDACTION_BUTTON4", + "FRONTENDACTION_BUTTON5", + "FRONTENDACTION_LTRIGGER", + "FRONTENDACTION_RTRIGGER", + "HUDACTION_PAUSEREQUEST", + "HUDACTION_ENGAGE_EVENT", + "HUDACTION_PAD_LEFT", + "HUDACTION_PAD_DOWN", + "HUDACTION_PAD_RIGHT", + "HUDACTION_SKIPNIS", + "HUDACTION_NEXTSONG", + "HUDACTION_VOIPACTIVATION", + "HUDACTION_VOIPDEACTIVATION", + "HUDACTION_TOGGLE_LEADERBOARD", + "HUDACTION_TOGGLE_MINIMAP", + "HUDACTION_TOGGLE_BESTLINE", + "HUDACTION_TOGGLE_ARROWS", + "VOIPACTION_PUSHTOTALK", + "DEBUGACTION_MOVE_UP", + "DEBUGACTION_MOVE_DOWN", + "DEBUGACTION_MOVE_LEFT", + "DEBUGACTION_MOVE_RIGHT", + "DEBUGACTION_MOVE_FORWARD", + "DEBUGACTION_MOVE_BACK", + "DEBUGACTION_MOVE_D_LEFT", + "DEBUGACTION_MOVE_D_RIGHT", + "DEBUGACTION_MOVE_D_FORWARD", + "DEBUGACTION_MOVE_D_BACK", + "DEBUGACTION_LOOK_UP", + "DEBUGACTION_LOOK_DOWN", + "DEBUGACTION_LOOK_LEFT", + "DEBUGACTION_LOOK_RIGHT", + "DEBUGACTION_LOOK_D_UP", + "DEBUGACTION_LOOK_D_DOWN", + "DEBUGACTION_LOOK_D_LEFT", + "DEBUGACTION_LOOK_D_RIGHT", + "DEBUGACTION_TURBO", + "DEBUGACTION_SUPER_TURBO", + "DEBUGACTION_DROPCAR", + "DEBUGACTION_TOGGLEAI", + "DEBUGACTION_TOGGLESIMSTEP", + "DEBUGACTION_SIMSTEP", + "DEBUGACTION_SCREENSHOT", + "DEBUGACTION_STOPRECORDPATH", + "DEBUGACTION_TOGGLECARCOLOUR", + "DEBUGACTION_TOGGLEDEMOCAMERAS", + "ICE_ACTION_START", + "ICE_ACTION_SELECT", + "ICE_ACTION_SOUTH", + "ICE_ACTION_SOUTH_PRESS", + "ICE_ACTION_NORTH", + "ICE_ACTION_NORTH_PRESS", + "ICE_ACTION_WEST", + "ICE_ACTION_WEST_PRESS", + "ICE_ACTION_EAST", + "ICE_ACTION_EAST_PRESS", + "ICE_ACTION_DOWN", + "ICE_ACTION_DOWN_PRESS", + "ICE_ACTION_UP", + "ICE_ACTION_UP_PRESS", + "ICE_ACTION_LEFT", + "ICE_ACTION_LEFT_PRESS", + "ICE_ACTION_RIGHT", + "ICE_ACTION_RIGHT_PRESS", + "ICE_ACTION_L1", + "ICE_ACTION_L1_PRESS", + "ICE_ACTION_R1", + "ICE_ACTION_R1_PRESS", + "ICE_ACTION_L2", + "ICE_ACTION_L2_PRESS", + "ICE_ACTION_R2", + "ICE_ACTION_R2_PRESS", + "ICE_ACTION_L3", + "ICE_ACTION_L3_PRESS", + "ICE_ACTION_R3", + "ICE_ACTION_R3_RELEASE", + "ICE_ACTION_LEFTSTICK_LEFT", + "ICE_ACTION_LEFTSTICK_RIGHT", + "ICE_ACTION_LEFTSTICK_DOWN", + "ICE_ACTION_LEFTSTICK_UP", + "ICE_ACTION_RIGHTSTICK_LEFT", + "ICE_ACTION_RIGHTSTICK_RIGHT", + "ICE_ACTION_RIGHTSTICK_DOWN", + "ICE_ACTION_RIGHTSTICK_UP", + "ACTION_EXITAPPLICATION", + "ACTION_PLUGGED", + "ACTION_UNPLUGGED", + "ACTION_FLUSH"}; #endif #ifdef GAME_UC @@ -1079,163 +1079,163 @@ enum ActionID { }; char* ActionIDStr[MAX_ACTIONID] = {"NULL_ACTION", - "GAMEACTION_STEERLEFT", - "GAMEACTION_STEERRIGHT", - "GAMEACTION_OVERSTEER", - "GAMEACTION_OVERSTEERLEFT", - "GAMEACTION_OVERSTEERRIGHT", - "GAMEACTION_TURNLEFT", - "GAMEACTION_TURNRIGHT", - "GAMEACTION_GAS", - "GAMEACTION_GAS_SLOTCAR", - "GAMEACTION_BRAKE", - "GAMEACTION_HANDBRAKE", - "GAMEACTION_GAMEBREAKER", - "GAMEACTION_SHIFTUP", - "GAMEACTION_SHIFTDOWN", - "GAMEACTION_SHIFTFIRST", - "GAMEACTION_SHIFTSECOND", - "GAMEACTION_SHIFTTHIRD", - "GAMEACTION_SHIFTFOURTH", - "GAMEACTION_SHIFTFIFTH", - "GAMEACTION_SHIFTSIXTH", - "GAMEACTION_SHIFTNEUTRAL", - "GAMEACTION_SHIFTREVERSE", - "GAMEACTION_NOS", - "GAMEACTION_RESET", - "GAMEACTION_HYDRAULICALL", - "GAMEACTION_HYDRAULICFRONT", - "GAMEACTION_HYDRAULICLEFT", - "GAMEACTION_HYDRAULICREAR", - "GAMEACTION_HYDRAULICRIGHT", - "GAMEACTION_CREWAGGRESSIVE", - "GAMEACTION_CREWDEFENSIVE", - "GAMEACTION_CREWDEFAULT", - "GAMEACTION_CREWSPEED", - "GAMEACTION_FORWARD", - "GAMEACTION_BACK", - "GAMEACTION_JUMP", - "GAMEACTION_DEBUGHUMAN1", - "GAMEACTION_DEBUGHUMAN2", - "GAMEACTION_DEBUGHUMAN3", - "GAMEACTION_DEBUGHUMAN4", - "GAMEACTION_CLUTCH", - "GAMEACTION_CLUTCH_KICK", - "CAMERAACTION_CHANGE", - "CAMERAACTION_DEBUG", - "CAMERAACTION_ENABLE_ICE", - "CAMERAACTION_LOOKBACK", - "CAMERAACTION_PULLBACK", - "CAMERAACTION_ROT_LEFT", - "CAMERAACTION_ROT_RIGHT", - "CAMERAACTION_360", - "FRONTENDACTION_UP", - "FRONTENDACTION_DOWN", - "FRONTENDACTION_LEFT", - "FRONTENDACTION_RIGHT", - "FRONTENDACTION_RUP", - "FRONTENDACTION_RDOWN", - "FRONTENDACTION_RLEFT", - "FRONTENDACTION_RRIGHT", - "FRONTENDACTION_ACCEPT", - "FRONTENDACTION_CANCEL", - "FRONTENDACTION_CANCEL_ALT", - "FRONTENDACTION_START", - "FRONTENDACTION_BUTTON0", - "FRONTENDACTION_BUTTON1", - "FRONTENDACTION_BUTTON2", - "FRONTENDACTION_BUTTON3", - "FRONTENDACTION_BUTTON4", - "FRONTENDACTION_BUTTON5", - "FRONTENDACTION_LTRIGGER", - "FRONTENDACTION_RTRIGGER", - "HUDACTION_PAUSEREQUEST", - "HUDACTION_MESSENGER", - "HUDACTION_RACE_NOW", - "HUDACTION_ENGAGE_EVENT", - "HUDACTION_PAD_LEFT", - "HUDACTION_PAD_DOWN", - "HUDACTION_PAD_RIGHT", - "HUDACTION_SKIPNIS", - "HUDACTION_NEXTSONG", - "HUDACTION_VOIPACTIVATION", - "HUDACTION_VOIPDEACTIVATION", - "HUDACTION_TOGGLE_LEADERBOARD", - "HUDACTION_TOGGLE_MINIMAP", - "HUDACTION_TOGGLE_BESTLINE", - "HUDACTION_TOGGLE_ARROWS", - "VOIPACTION_PUSHTOTALK", - "DEBUGACTION_MOVE_UP", - "DEBUGACTION_MOVE_DOWN", - "DEBUGACTION_MOVE_LEFT", - "DEBUGACTION_MOVE_RIGHT", - "DEBUGACTION_MOVE_FORWARD", - "DEBUGACTION_MOVE_BACK", - "DEBUGACTION_MOVE_D_LEFT", - "DEBUGACTION_MOVE_D_RIGHT", - "DEBUGACTION_MOVE_D_FORWARD", - "DEBUGACTION_MOVE_D_BACK", - "DEBUGACTION_LOOK_UP", - "DEBUGACTION_LOOK_DOWN", - "DEBUGACTION_LOOK_LEFT", - "DEBUGACTION_LOOK_RIGHT", - "DEBUGACTION_LOOK_D_UP", - "DEBUGACTION_LOOK_D_DOWN", - "DEBUGACTION_LOOK_D_LEFT", - "DEBUGACTION_LOOK_D_RIGHT", - "DEBUGACTION_TURBO", - "DEBUGACTION_SUPER_TURBO", - "DEBUGACTION_DROPCAR", - "DEBUGACTION_TOGGLEAI", - "DEBUGACTION_TOGGLESIMSTEP", - "DEBUGACTION_SIMSTEP", - "DEBUGACTION_SCREENSHOT", - "DEBUGACTION_STOPRECORDPATH", - "DEBUGACTION_TOGGLECARCOLOUR", - "DEBUGACTION_TOGGLEDEMOCAMERAS", - "DEBUGACTION_ITERCAMERATARGET", - "ICE_ACTION_START", - "ICE_ACTION_SELECT", - "ICE_ACTION_SOUTH", - "ICE_ACTION_SOUTH_PRESS", - "ICE_ACTION_NORTH", - "ICE_ACTION_NORTH_PRESS", - "ICE_ACTION_WEST", - "ICE_ACTION_WEST_PRESS", - "ICE_ACTION_EAST", - "ICE_ACTION_EAST_PRESS", - "ICE_ACTION_DOWN", - "ICE_ACTION_DOWN_PRESS", - "ICE_ACTION_UP", - "ICE_ACTION_UP_PRESS", - "ICE_ACTION_LEFT", - "ICE_ACTION_LEFT_PRESS", - "ICE_ACTION_RIGHT", - "ICE_ACTION_RIGHT_PRESS", - "ICE_ACTION_L1", - "ICE_ACTION_L1_PRESS", - "ICE_ACTION_R1", - "ICE_ACTION_R1_PRESS", - "ICE_ACTION_L2", - "ICE_ACTION_L2_PRESS", - "ICE_ACTION_R2", - "ICE_ACTION_R2_PRESS", - "ICE_ACTION_L3", - "ICE_ACTION_L3_PRESS", - "ICE_ACTION_R3", - "ICE_ACTION_R3_RELEASE", - "ICE_ACTION_LEFTSTICK_LEFT", - "ICE_ACTION_LEFTSTICK_RIGHT", - "ICE_ACTION_LEFTSTICK_DOWN", - "ICE_ACTION_LEFTSTICK_UP", - "ICE_ACTION_RIGHTSTICK_LEFT", - "ICE_ACTION_RIGHTSTICK_RIGHT", - "ICE_ACTION_RIGHTSTICK_DOWN", - "ICE_ACTION_RIGHTSTICK_UP", - "ACTION_EXITAPPLICATION", - "ACTION_PLUGGED", - "ACTION_UNPLUGGED", - "ACTION_FLUSH"}; + "GAMEACTION_STEERLEFT", + "GAMEACTION_STEERRIGHT", + "GAMEACTION_OVERSTEER", + "GAMEACTION_OVERSTEERLEFT", + "GAMEACTION_OVERSTEERRIGHT", + "GAMEACTION_TURNLEFT", + "GAMEACTION_TURNRIGHT", + "GAMEACTION_GAS", + "GAMEACTION_GAS_SLOTCAR", + "GAMEACTION_BRAKE", + "GAMEACTION_HANDBRAKE", + "GAMEACTION_GAMEBREAKER", + "GAMEACTION_SHIFTUP", + "GAMEACTION_SHIFTDOWN", + "GAMEACTION_SHIFTFIRST", + "GAMEACTION_SHIFTSECOND", + "GAMEACTION_SHIFTTHIRD", + "GAMEACTION_SHIFTFOURTH", + "GAMEACTION_SHIFTFIFTH", + "GAMEACTION_SHIFTSIXTH", + "GAMEACTION_SHIFTNEUTRAL", + "GAMEACTION_SHIFTREVERSE", + "GAMEACTION_NOS", + "GAMEACTION_RESET", + "GAMEACTION_HYDRAULICALL", + "GAMEACTION_HYDRAULICFRONT", + "GAMEACTION_HYDRAULICLEFT", + "GAMEACTION_HYDRAULICREAR", + "GAMEACTION_HYDRAULICRIGHT", + "GAMEACTION_CREWAGGRESSIVE", + "GAMEACTION_CREWDEFENSIVE", + "GAMEACTION_CREWDEFAULT", + "GAMEACTION_CREWSPEED", + "GAMEACTION_FORWARD", + "GAMEACTION_BACK", + "GAMEACTION_JUMP", + "GAMEACTION_DEBUGHUMAN1", + "GAMEACTION_DEBUGHUMAN2", + "GAMEACTION_DEBUGHUMAN3", + "GAMEACTION_DEBUGHUMAN4", + "GAMEACTION_CLUTCH", + "GAMEACTION_CLUTCH_KICK", + "CAMERAACTION_CHANGE", + "CAMERAACTION_DEBUG", + "CAMERAACTION_ENABLE_ICE", + "CAMERAACTION_LOOKBACK", + "CAMERAACTION_PULLBACK", + "CAMERAACTION_ROT_LEFT", + "CAMERAACTION_ROT_RIGHT", + "CAMERAACTION_360", + "FRONTENDACTION_UP", + "FRONTENDACTION_DOWN", + "FRONTENDACTION_LEFT", + "FRONTENDACTION_RIGHT", + "FRONTENDACTION_RUP", + "FRONTENDACTION_RDOWN", + "FRONTENDACTION_RLEFT", + "FRONTENDACTION_RRIGHT", + "FRONTENDACTION_ACCEPT", + "FRONTENDACTION_CANCEL", + "FRONTENDACTION_CANCEL_ALT", + "FRONTENDACTION_START", + "FRONTENDACTION_BUTTON0", + "FRONTENDACTION_BUTTON1", + "FRONTENDACTION_BUTTON2", + "FRONTENDACTION_BUTTON3", + "FRONTENDACTION_BUTTON4", + "FRONTENDACTION_BUTTON5", + "FRONTENDACTION_LTRIGGER", + "FRONTENDACTION_RTRIGGER", + "HUDACTION_PAUSEREQUEST", + "HUDACTION_MESSENGER", + "HUDACTION_RACE_NOW", + "HUDACTION_ENGAGE_EVENT", + "HUDACTION_PAD_LEFT", + "HUDACTION_PAD_DOWN", + "HUDACTION_PAD_RIGHT", + "HUDACTION_SKIPNIS", + "HUDACTION_NEXTSONG", + "HUDACTION_VOIPACTIVATION", + "HUDACTION_VOIPDEACTIVATION", + "HUDACTION_TOGGLE_LEADERBOARD", + "HUDACTION_TOGGLE_MINIMAP", + "HUDACTION_TOGGLE_BESTLINE", + "HUDACTION_TOGGLE_ARROWS", + "VOIPACTION_PUSHTOTALK", + "DEBUGACTION_MOVE_UP", + "DEBUGACTION_MOVE_DOWN", + "DEBUGACTION_MOVE_LEFT", + "DEBUGACTION_MOVE_RIGHT", + "DEBUGACTION_MOVE_FORWARD", + "DEBUGACTION_MOVE_BACK", + "DEBUGACTION_MOVE_D_LEFT", + "DEBUGACTION_MOVE_D_RIGHT", + "DEBUGACTION_MOVE_D_FORWARD", + "DEBUGACTION_MOVE_D_BACK", + "DEBUGACTION_LOOK_UP", + "DEBUGACTION_LOOK_DOWN", + "DEBUGACTION_LOOK_LEFT", + "DEBUGACTION_LOOK_RIGHT", + "DEBUGACTION_LOOK_D_UP", + "DEBUGACTION_LOOK_D_DOWN", + "DEBUGACTION_LOOK_D_LEFT", + "DEBUGACTION_LOOK_D_RIGHT", + "DEBUGACTION_TURBO", + "DEBUGACTION_SUPER_TURBO", + "DEBUGACTION_DROPCAR", + "DEBUGACTION_TOGGLEAI", + "DEBUGACTION_TOGGLESIMSTEP", + "DEBUGACTION_SIMSTEP", + "DEBUGACTION_SCREENSHOT", + "DEBUGACTION_STOPRECORDPATH", + "DEBUGACTION_TOGGLECARCOLOUR", + "DEBUGACTION_TOGGLEDEMOCAMERAS", + "DEBUGACTION_ITERCAMERATARGET", + "ICE_ACTION_START", + "ICE_ACTION_SELECT", + "ICE_ACTION_SOUTH", + "ICE_ACTION_SOUTH_PRESS", + "ICE_ACTION_NORTH", + "ICE_ACTION_NORTH_PRESS", + "ICE_ACTION_WEST", + "ICE_ACTION_WEST_PRESS", + "ICE_ACTION_EAST", + "ICE_ACTION_EAST_PRESS", + "ICE_ACTION_DOWN", + "ICE_ACTION_DOWN_PRESS", + "ICE_ACTION_UP", + "ICE_ACTION_UP_PRESS", + "ICE_ACTION_LEFT", + "ICE_ACTION_LEFT_PRESS", + "ICE_ACTION_RIGHT", + "ICE_ACTION_RIGHT_PRESS", + "ICE_ACTION_L1", + "ICE_ACTION_L1_PRESS", + "ICE_ACTION_R1", + "ICE_ACTION_R1_PRESS", + "ICE_ACTION_L2", + "ICE_ACTION_L2_PRESS", + "ICE_ACTION_R2", + "ICE_ACTION_R2_PRESS", + "ICE_ACTION_L3", + "ICE_ACTION_L3_PRESS", + "ICE_ACTION_R3", + "ICE_ACTION_R3_RELEASE", + "ICE_ACTION_LEFTSTICK_LEFT", + "ICE_ACTION_LEFTSTICK_RIGHT", + "ICE_ACTION_LEFTSTICK_DOWN", + "ICE_ACTION_LEFTSTICK_UP", + "ICE_ACTION_RIGHTSTICK_LEFT", + "ICE_ACTION_RIGHTSTICK_RIGHT", + "ICE_ACTION_RIGHTSTICK_DOWN", + "ICE_ACTION_RIGHTSTICK_UP", + "ACTION_EXITAPPLICATION", + "ACTION_PLUGGED", + "ACTION_UNPLUGGED", + "ACTION_FLUSH"}; #endif @@ -1374,173 +1374,173 @@ enum ActionID { }; char* ActionIDStr[MAX_ACTIONID] = {"NULL_ACTION", - "GAMEACTION_STEERLEFT", - "GAMEACTION_STEERRIGHT", - "GAMEACTION_TURNLEFT", - "GAMEACTION_TURNRIGHT", - "Unknown_5", - "Unknown_6", - "GAMEACTION_GAS", - "GAMEACTION_BRAKE", - "GAMEACTION_HANDBRAKE", - "GAMEACTION_GAMEBREAKER", - "GAMEACTION_SHIFTUP", - "GAMEACTION_SHIFTDOWN", - "GAMEACTION_RESET", - "GAMEACTION_POWERUP_0", - "GAMEACTION_POWERUP_1", - "GAMEACTION_POWERUP_2", - "GAMEACTION_POWERUP_3", - "GAMEACTION_OPTIONS_SHORTCUT", - "GAMEACTION_PROFILE_SHORTCUT", - "GAMEACTION_SAFEHOUSE_SHORTCUT", - "GAMEACTION_WORLDMAP_SHORTCUT", - "GAMEACTION_FRIENDSLIST_SHORTCUT", - "GAMEACTION_POWERUPCHANGEPAGE_UP", - "GAMEACTION_POWERUPCHANGEPAGE_DOWN", - "GAMEACTION_HELP_SHORTCUT", - "GAMEACTION_CHAT_SHORTCUT", - "GAMEACTION_FORWARD", - "GAMEACTION_BACK", - "GAMEACTION_JUMP", - "GAMEACTION_DEBUGHUMAN1", - "GAMEACTION_DEBUGHUMAN2", - "GAMEACTION_DEBUGHUMAN3", - "GAMEACTION_DEBUGHUMAN4", - "GAMEACTION_CLUTCH", - "GAMEACTION_TOGGLE_AUTODRIVE", - "GAMEACTION_TOGGLE_COPLIGHTS", - "GAMEACTION_TOGGLE_AUDIO", - "GAMEACTION_HYDRAULICS_BACK", - "GAMEACTION_HYDRAULICS_FRONT", - "GAMEACTION_HYDRAULICS_LEFT", - "GAMEACTION_HYDRAULICS_RIGHT", - "CAMERAACTION_CHANGE", - "CAMERAACTION_DEBUG", - "CAMERAACTION_ENABLE_ICE", - "CAMERAACTION_LOOKBACK", - "CAMERAACTION_PULLBACK", - "CAMERAACTION_TOGGLE", - "CAMERAACTION_ROT_UP", - "CAMERAACTION_ROT_DOWN", - "CAMERAACTION_ROT_LEFT", - "CAMERAACTION_ROT_RIGHT", - "CAMERAACTION_MOVE_UP", - "CAMERAACTION_MOVE_DOWN", - "CAMERAACTION_MOVE_LEFT", - "CAMERAACTION_MOVE_RIGHT", - "CAMERAACTION_MOVE_FORWARD", - "CAMERAACTION_MOVE_BACKWARD", - "CAMERAACTION_FOV_LARGER", - "CAMERAACTION_FOV_SMALLER", - "CAMERAACTION_CRANE_DOWN", - "CAMERAACTION_CRANE_UP", - "CAMERAACTION_DOLLY_LEFT", - "CAMERAACTION_DOLLY_RIGHT", - "CAMERAACTION_TURBOSPEED", - "CAMERAACTION_CHANGE_CAR", - "FRONTENDACTION_UP", - "FRONTENDACTION_DOWN", - "FRONTENDACTION_LEFT", - "FRONTENDACTION_RIGHT", - "FRONTENDACTION_RUP", - "FRONTENDACTION_RDOWN", - "FRONTENDACTION_RLEFT", - "FRONTENDACTION_RRIGHT", - "FRONTENDACTION_ACCEPT", - "FRONTENDACTION_CANCEL", - "FRONTENDACTION_CANCEL_ALT", - "FRONTENDACTION_START", - "FRONTENDACTION_BUTTON0", - "FRONTENDACTION_BUTTON1", - "FRONTENDACTION_BUTTON2", - "FRONTENDACTION_BUTTON3", - "FRONTENDACTION_BUTTON4", - "FRONTENDACTION_BUTTON5", - "FRONTENDACTION_LTRIGGER", - "FRONTENDACTION_RTRIGGER", - "FRONTENDACTION_PGUP", - "FRONTENDACTION_PGDOWN", - "HUDACTION_PAUSEREQUEST", - "HUDACTION_ENGAGE_EVENT", - "HUDACTION_PAD_LEFT", - "HUDACTION_PAD_DOWN", - "HUDACTION_PAD_RIGHT", - "HUDACTION_SKIPNIS", - "HUDACTION_SCREENSHOT", - "HUDACTION_NEXTSONG", - "HUDACTION_VOIPACTIVATION", - "HUDACTION_VOIPDEACTIVATION", - "VOIPACTION_PUSHTOTALK", - "DEBUGACTION_MOVE_UP", - "DEBUGACTION_MOVE_DOWN", - "DEBUGACTION_MOVE_LEFT", - "DEBUGACTION_MOVE_RIGHT", - "DEBUGACTION_MOVE_FORWARD", - "DEBUGACTION_MOVE_BACK", - "DEBUGACTION_LOOK_UP", - "DEBUGACTION_LOOK_DOWN", - "DEBUGACTION_LOOK_LEFT", - "DEBUGACTION_LOOK_RIGHT", - "DEBUGACTION_TURBO", - "DEBUGACTION_SUPER_TURBO", - "DEBUGACTION_CAMERA_SAVE", - "DEBUGACTION_CAMERA_LOAD", - "DEBUGACTION_DEBUGDRAW_DRAWTICK_DEC", - "DEBUGACTION_DEBUGDRAW_DRAWTICK_INC", - "DEBUGACTION_DEBUGDRAW_DRAWTICKRANGE_DEC", - "DEBUGACTION_DEBUGDRAW_DRAWTICKRANGE_INC", - "DEBUGACTION_DROPCAR", - "DEBUGACTION_LOCKTOCAR", - "DEBUGACTION_TOGGLESIMSTEP", - "DEBUGACTION_SIMSTEP", - "DEBUGACTION_TOGGLESIMPAUSE", - "DEBUGACTION_SCREENSHOT", - "DEBUGACTION_STOPRECORDPATH", - "DEBUGACTION_TOGGLECARCOLOUR", - "DEBUGACTION_TOGGLEDEMOCAMERAS", - "DEBUGACTION_TOGGLEMENU", - "Unknown_127", - "Unknown_128", - "Unknown_129", - "Unknown_130", - "Unknown_131", - "Unknown_132", - "Unknown_133", - "Unknown_134", - "Unknown_135", - "Unknown_136", - "Unknown_137", - "Unknown_138", - "Unknown_139", - "Unknown_140", - "Unknown_141", - "Unknown_142", - "Unknown_143", - "Unknown_144", - "Unknown_145", - "Unknown_146", - "Unknown_147", - "Unknown_148", - "Unknown_149", - "Unknown_150", - "Unknown_151", - "Unknown_152", - "Unknown_153", - "Unknown_154", - "Unknown_155", - "Unknown_156", - "Unknown_157", - "Unknown_158", - "Unknown_159", - "Unknown_160", - "Unknown_161", - "Unknown_162", - "Unknown_163", - "ACTION_EXITAPPLICATION", - "ACTION_PLUGGED", - "ACTION_UNPLUGGED", - "ACTION_FLUSH"}; + "GAMEACTION_STEERLEFT", + "GAMEACTION_STEERRIGHT", + "GAMEACTION_TURNLEFT", + "GAMEACTION_TURNRIGHT", + "Unknown_5", + "Unknown_6", + "GAMEACTION_GAS", + "GAMEACTION_BRAKE", + "GAMEACTION_HANDBRAKE", + "GAMEACTION_GAMEBREAKER", + "GAMEACTION_SHIFTUP", + "GAMEACTION_SHIFTDOWN", + "GAMEACTION_RESET", + "GAMEACTION_POWERUP_0", + "GAMEACTION_POWERUP_1", + "GAMEACTION_POWERUP_2", + "GAMEACTION_POWERUP_3", + "GAMEACTION_OPTIONS_SHORTCUT", + "GAMEACTION_PROFILE_SHORTCUT", + "GAMEACTION_SAFEHOUSE_SHORTCUT", + "GAMEACTION_WORLDMAP_SHORTCUT", + "GAMEACTION_FRIENDSLIST_SHORTCUT", + "GAMEACTION_POWERUPCHANGEPAGE_UP", + "GAMEACTION_POWERUPCHANGEPAGE_DOWN", + "GAMEACTION_HELP_SHORTCUT", + "GAMEACTION_CHAT_SHORTCUT", + "GAMEACTION_FORWARD", + "GAMEACTION_BACK", + "GAMEACTION_JUMP", + "GAMEACTION_DEBUGHUMAN1", + "GAMEACTION_DEBUGHUMAN2", + "GAMEACTION_DEBUGHUMAN3", + "GAMEACTION_DEBUGHUMAN4", + "GAMEACTION_CLUTCH", + "GAMEACTION_TOGGLE_AUTODRIVE", + "GAMEACTION_TOGGLE_COPLIGHTS", + "GAMEACTION_TOGGLE_AUDIO", + "GAMEACTION_HYDRAULICS_BACK", + "GAMEACTION_HYDRAULICS_FRONT", + "GAMEACTION_HYDRAULICS_LEFT", + "GAMEACTION_HYDRAULICS_RIGHT", + "CAMERAACTION_CHANGE", + "CAMERAACTION_DEBUG", + "CAMERAACTION_ENABLE_ICE", + "CAMERAACTION_LOOKBACK", + "CAMERAACTION_PULLBACK", + "CAMERAACTION_TOGGLE", + "CAMERAACTION_ROT_UP", + "CAMERAACTION_ROT_DOWN", + "CAMERAACTION_ROT_LEFT", + "CAMERAACTION_ROT_RIGHT", + "CAMERAACTION_MOVE_UP", + "CAMERAACTION_MOVE_DOWN", + "CAMERAACTION_MOVE_LEFT", + "CAMERAACTION_MOVE_RIGHT", + "CAMERAACTION_MOVE_FORWARD", + "CAMERAACTION_MOVE_BACKWARD", + "CAMERAACTION_FOV_LARGER", + "CAMERAACTION_FOV_SMALLER", + "CAMERAACTION_CRANE_DOWN", + "CAMERAACTION_CRANE_UP", + "CAMERAACTION_DOLLY_LEFT", + "CAMERAACTION_DOLLY_RIGHT", + "CAMERAACTION_TURBOSPEED", + "CAMERAACTION_CHANGE_CAR", + "FRONTENDACTION_UP", + "FRONTENDACTION_DOWN", + "FRONTENDACTION_LEFT", + "FRONTENDACTION_RIGHT", + "FRONTENDACTION_RUP", + "FRONTENDACTION_RDOWN", + "FRONTENDACTION_RLEFT", + "FRONTENDACTION_RRIGHT", + "FRONTENDACTION_ACCEPT", + "FRONTENDACTION_CANCEL", + "FRONTENDACTION_CANCEL_ALT", + "FRONTENDACTION_START", + "FRONTENDACTION_BUTTON0", + "FRONTENDACTION_BUTTON1", + "FRONTENDACTION_BUTTON2", + "FRONTENDACTION_BUTTON3", + "FRONTENDACTION_BUTTON4", + "FRONTENDACTION_BUTTON5", + "FRONTENDACTION_LTRIGGER", + "FRONTENDACTION_RTRIGGER", + "FRONTENDACTION_PGUP", + "FRONTENDACTION_PGDOWN", + "HUDACTION_PAUSEREQUEST", + "HUDACTION_ENGAGE_EVENT", + "HUDACTION_PAD_LEFT", + "HUDACTION_PAD_DOWN", + "HUDACTION_PAD_RIGHT", + "HUDACTION_SKIPNIS", + "HUDACTION_SCREENSHOT", + "HUDACTION_NEXTSONG", + "HUDACTION_VOIPACTIVATION", + "HUDACTION_VOIPDEACTIVATION", + "VOIPACTION_PUSHTOTALK", + "DEBUGACTION_MOVE_UP", + "DEBUGACTION_MOVE_DOWN", + "DEBUGACTION_MOVE_LEFT", + "DEBUGACTION_MOVE_RIGHT", + "DEBUGACTION_MOVE_FORWARD", + "DEBUGACTION_MOVE_BACK", + "DEBUGACTION_LOOK_UP", + "DEBUGACTION_LOOK_DOWN", + "DEBUGACTION_LOOK_LEFT", + "DEBUGACTION_LOOK_RIGHT", + "DEBUGACTION_TURBO", + "DEBUGACTION_SUPER_TURBO", + "DEBUGACTION_CAMERA_SAVE", + "DEBUGACTION_CAMERA_LOAD", + "DEBUGACTION_DEBUGDRAW_DRAWTICK_DEC", + "DEBUGACTION_DEBUGDRAW_DRAWTICK_INC", + "DEBUGACTION_DEBUGDRAW_DRAWTICKRANGE_DEC", + "DEBUGACTION_DEBUGDRAW_DRAWTICKRANGE_INC", + "DEBUGACTION_DROPCAR", + "DEBUGACTION_LOCKTOCAR", + "DEBUGACTION_TOGGLESIMSTEP", + "DEBUGACTION_SIMSTEP", + "DEBUGACTION_TOGGLESIMPAUSE", + "DEBUGACTION_SCREENSHOT", + "DEBUGACTION_STOPRECORDPATH", + "DEBUGACTION_TOGGLECARCOLOUR", + "DEBUGACTION_TOGGLEDEMOCAMERAS", + "DEBUGACTION_TOGGLEMENU", + "Unknown_127", + "Unknown_128", + "Unknown_129", + "Unknown_130", + "Unknown_131", + "Unknown_132", + "Unknown_133", + "Unknown_134", + "Unknown_135", + "Unknown_136", + "Unknown_137", + "Unknown_138", + "Unknown_139", + "Unknown_140", + "Unknown_141", + "Unknown_142", + "Unknown_143", + "Unknown_144", + "Unknown_145", + "Unknown_146", + "Unknown_147", + "Unknown_148", + "Unknown_149", + "Unknown_150", + "Unknown_151", + "Unknown_152", + "Unknown_153", + "Unknown_154", + "Unknown_155", + "Unknown_156", + "Unknown_157", + "Unknown_158", + "Unknown_159", + "Unknown_160", + "Unknown_161", + "Unknown_162", + "Unknown_163", + "ACTION_EXITAPPLICATION", + "ACTION_PLUGGED", + "ACTION_UNPLUGGED", + "ACTION_FLUSH"}; #endif @@ -1576,30 +1576,18 @@ bool bIsActionAnalog(ActionID in) { case DEBUGACTION_SUPER_TURBO: case FRONTENDACTION_LTRIGGER: case FRONTENDACTION_RTRIGGER: - return true; #ifdef GAME_DEBUG_VERSION case GAMEACTION_GAS_SLOTCAR: - return true; case ICE_ACTION_LEFTSTICK_LEFT: - return true; case ICE_ACTION_LEFTSTICK_RIGHT: - return true; case ICE_ACTION_LEFTSTICK_DOWN: - return true; case ICE_ACTION_LEFTSTICK_UP: - return true; case ICE_ACTION_RIGHTSTICK_LEFT: - return true; case ICE_ACTION_RIGHTSTICK_RIGHT: - return true; case ICE_ACTION_RIGHTSTICK_DOWN: - return true; case ICE_ACTION_RIGHTSTICK_UP: - return true; #endif - - default: - break; + return true; } return false; @@ -1628,9 +1616,6 @@ bool bIsActionFrontEnd(ActionID in) { case FRONTENDACTION_LTRIGGER: case FRONTENDACTION_RTRIGGER: return true; - - default: - break; } return false; } @@ -1649,9 +1634,6 @@ bool bIsActionHUD(ActionID in) { case HUDACTION_VOIPDEACTIVATION: #endif return true; - - default: - break; } return false; } @@ -1663,9 +1645,6 @@ bool bIsActionFrontEndNavigation(ActionID in) { case FRONTENDACTION_LEFT: case FRONTENDACTION_RIGHT: return true; - - default: - break; } return false; } @@ -1675,8 +1654,6 @@ bool bIsActionRelativePosition(ActionID in) { case FRONTENDACTION_LTRIGGER: case FRONTENDACTION_RTRIGGER: return true; - default: - return false; } return false; } @@ -1885,10 +1862,7 @@ bool bIsActionTextureBindable(ActionID in) { case FRONTENDACTION_RTRIGGER: case GAMEACTION_SHIFTUP: case GAMEACTION_SHIFTDOWN: - return true; - default: - break; } return false; }