Add rayman2 source files

This commit is contained in:
2024-09-18 02:33:44 +08:00
parent bcc093f8ed
commit fb036c54fd
14339 changed files with 2596224 additions and 0 deletions

View File

@@ -0,0 +1,152 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
{InputAction:SpeedUp_Key(Options)
JoyAxeValue(0,PadYValue,-110,-20)
}
{InputAction:CamFollow_Pad(Options)
; JoyPressed(0,R_TRIG)
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Actions for the retail version
{InputAction:Button_Start
JoyPressed(0,PAD_BUTTON_START)
}
{InputAction:Button_PreviousMenu
JoyPressed(0,PAD_BUTTON_B)
}
{InputAction:Button_Selection
JoyPressed(0,PAD_BUTTON_A)
}
{InputAction:Button_XAnalogic
JoyAxeValue(0,PadXValue,-110,110)
}
{InputAction:Button_YAnalogic
JoyAxeValue(0,PadYValue,-110,110)
}
{InputAction:Button_LeftAnalogic
JoyAxeValue(0,PadXValue,-110,-20)
}
{InputAction:Button_RightAnalogic
JoyAxeValue(0,PadXValue,20,110)
}
{InputAction:Button_UpAnalogic
JoyAxeValue(0,PadYValue,-110,-20)
}
{InputAction:Button_DownAnalogic
JoyAxeValue(0,PadYValue,20,110)
}
{InputAction:Button_Ghost
Or
JoyPressed(0,PAD_BUTTON_X)
JoyPressed(0,PAD_BUTTON_L)
}
{InputAction:Button_Paf
JoyPressed(0,PAD_BUTTON_A)
}
{InputAction:Button_Jump
JoyPressed(0,PAD_BUTTON_B)
}
{InputAction:Button_Poing
JoyPressed(0,PAD_BUTTON_Y)
}
{InputAction:Button_L
JoyPressed(0,PAD_BUTTON_L)
}
{InputAction:Button_LateralWalk
JoyPressed(0,PAD_BUTTON_R)
}
{InputAction:JoystickMoveOrder
Or
Or
Or
ActionValidated(Button_LeftAnalogic)
ActionValidated(Button_RightAnalogic)
ActionValidated(Button_UpAnalogic)
ActionValidated(Button_DownAnalogic)
}
{InputAction:PAD_BoutonDroit
}
{InputAction:Button_1
}
{InputAction:Button_2
}
; Actions for the debug version
{InputAction:Button_Left
JoyPressed(0,PAD_BUTTON_LEFT)
}
{InputAction:Button_Right
JoyPressed(0,PAD_BUTTON_RIGHT)
}
{InputAction:Button_Up
JoyPressed(0,PAD_BUTTON_UP)
}
{InputAction:Button_Down
JoyPressed(0,PAD_BUTTON_DOWN)
}
{InputAction:Button_SpeedUp
}
{InputAction:KeyboardMoveOrder
; Or
; Or
; Or
; ActionValidated(Button_Left)
; ActionValidated(Button_Right)
; ActionValidated(Button_Up)
; ActionValidated(Button_Down)
}
{InputAction:MoveLeft
; Or
; ActionValidated(Button_LeftAnalogic)
; ActionValidated(Button_Left)
}
{InputAction:MoveRight
; Or
; ActionValidated(Button_RightAnalogic)
; ActionValidated(Button_Right)
}
{InputAction:MoveUp
; Or
; ActionValidated(Button_UpAnalogic)
; ActionValidated(Button_Up)
}
{InputAction:MoveDown
; Or
; ActionValidated(Button_DownAnalogic)
; ActionValidated(Button_Down)
}

View File

@@ -0,0 +1,104 @@
;*************************
;*************************
{InputAction:CamLeft_PAD(Options)
}
{InputAction:CamRight_PAD(Options)
}
;*************************
; Actions for the camera
;*************************
; Actions for the retail version
{InputAction:BT_Camera_Look
JoyPressed(0,PAD_BUTTON_X)
}
{InputAction:BT_Camera_LookRight
ActionValidated(Button_RightAnalogic)
}
{InputAction:BT_Camera_LookLeft
ActionValidated(Button_LeftAnalogic)
}
{InputAction:BT_Camera_LookUp
ActionValidated(Button_DownAnalogic)
}
{InputAction:BT_Camera_LookDown
ActionValidated(Button_UpAnalogic)
}
{InputAction:Cam_Camera_Turn
JoyPressed(0,PAD_BUTTON_Y)
}
{InputAction:Cam_Camera_TurnLeft
And
JoyPressed(0,PAD_BUTTON_Y)
Or
JoyPressed(0,PAD_BUTTON_LEFT)
ActionValidated(Button_LeftAnalogic)
}
{InputAction:Cam_Camera_TurnRight
And
JoyPressed(0,PAD_BUTTON_Y)
Or
JoyPressed(0,PAD_BUTTON_RIGHT)
ActionValidated(Button_RightAnalogic)
}
{InputAction:Cam_Camera_CutBehind
JoyPressed(0,PAD_BUTTON_L)
}
{InputAction:Cam_Camera_SwitchMode
JoyPressed(0,PAD_BUTTON_SELECT)
}
{InputAction:Cam_PAD_C
And
JoyPressed(0,PAD_BUTTON_Y)
JoyPressed(0,PAD_BUTTON_LEFT)
}
{InputAction:Cam_PAD_D
And
JoyPressed(0,PAD_BUTTON_Y)
JoyPressed(0,PAD_BUTTON_RIGHT)
}
{InputAction:Cam_Camera_Quake
}
; Actions for the debug version
{InputAction:BT_Camera_Num1
}
{InputAction:BT_Camera_Num2
}
{InputAction:BT_Camera_Num6
}
{InputAction:BT_Camera_Num7
}
{InputAction:BT_Camera_Num8
}
{InputAction:BT_Camera_Num9
}
{InputAction:BT_Camera_IncDist
}
{InputAction:BT_Camera_DecDist
}

View File

@@ -0,0 +1,34 @@
;**********************************
;*** Cheat code defined actions ***
;**********************************
{InputAction:FlyingMode
}
{InputAction:FlyingModeForward
}
{InputAction:FlyingModeBackward
}
{InputAction:FlyingModeRight
}
{InputAction:FlyingModeLeft
}
{InputAction:FlyingModeUp
}
{InputAction:FlyingModeDown
}
{InputAction:FlyingModeStrafeRight
}
{InputAction:FlyingModeStrafeLeft
}
{InputAction:FlyingModeDoubleSpeed
}

View File

@@ -0,0 +1,86 @@
;*****************************
;*** Debug defined actions ***
;*****************************
; All these actions are used only by the engine and not by the AI
; They will have to be removed for the retail version
{InputAction:ClearOptionsDisplayed
}
{InputAction:DisplayZDC
}
{InputAction:ReinitTheMap
}
{InputAction:RecordDemo
}
{InputAction:PlayDemo
}
{InputAction:ChooseLevel
}
{InputAction:ChooseLevelUp
}
{InputAction:ChooseLevelDown
}
{InputAction:ChooseLevelValidate
}
{InputAction:ChooseLevelInvalidate
}
{InputAction:DisplayRaster
}
{InputAction:DisplayRasterMode
}
{InputAction:DisplayRasterPCU64
}
{InputAction:DisplayModeToggle
}
{InputAction:DisplayOnlyStatic
}
{InputAction:DisplaySectorInfos
}
{InputAction:DisplayWaypoints
}
{InputAction:DisplayActivatedGendoors
}
{InputAction:DisplayBoundingVolumes
}
{InputAction:DisplayRayTraceSegments
}
{InputAction:DisplayLight
}
{InputAction:SnapShot
}
{InputAction:CheatGrappin
}
{InputAction:CheatAccumulation
}
{InputAction:DisplayTextOverScan
}
{InputAction:AltDisplayTextOverScan
}

View File

@@ -0,0 +1,10 @@
;**************************************************
; This file contains the list of the active devices
;**************************************************
{ActivateDevices:
;KeyBoard
;Pad(0)
Joystick(0)
}

View File

@@ -0,0 +1,181 @@
;**** NewKeyDefine(Key, French keyword, American keyboard) ***
{KeyDefine:(200)
NewKeyDefine("<22>")
NewKeyDefine("1")
NewKeyDefine("2")
NewKeyDefine("3")
NewKeyDefine("4")
NewKeyDefine("5")
NewKeyDefine("6")
NewKeyDefine("7")
NewKeyDefine("8")
NewKeyDefine("9")
NewKeyDefine("0")
NewKeyDefine(")",")","-")
NewKeyDefine("=","=")
NewKeyDefine("A","A","Q")
NewKeyDefine("Z","Z","W")
NewKeyDefine("E")
NewKeyDefine("R")
NewKeyDefine("T")
NewKeyDefine("Y")
NewKeyDefine("U")
NewKeyDefine("I")
NewKeyDefine("O")
NewKeyDefine("P")
; NewKeyDefine("^","^","[")
NewKeyDefine("$","$","]")
NewKeyDefine("Q","Q","A")
NewKeyDefine("S")
NewKeyDefine("D")
NewKeyDefine("F")
NewKeyDefine("G")
NewKeyDefine("H")
NewKeyDefine("J")
NewKeyDefine("K")
NewKeyDefine("L")
NewKeyDefine("M","M",";")
NewKeyDefine("%","%","'")
NewKeyDefine("*")
NewKeyDefine("<")
NewKeyDefine("W","W","Z")
NewKeyDefine("X")
NewKeyDefine("C")
NewKeyDefine("V")
NewKeyDefine("B")
NewKeyDefine("N")
NewKeyDefine(",",",","M")
NewKeyDefine(";",";",",")
NewKeyDefine(":",":",".")
NewKeyDefine("!","!","/")
NewKeyDefine("F1")
NewKeyDefine("F2")
NewKeyDefine("F3")
NewKeyDefine("F4")
NewKeyDefine("F5")
NewKeyDefine("F6")
NewKeyDefine("F7")
NewKeyDefine("F8")
NewKeyDefine("F9")
NewKeyDefine("F10")
NewKeyDefine("F11")
NewKeyDefine("F12")
; NewKeyDefine("PrintScreen","PrtScr")
; NewKeyDefine("Scroll")
; NewKeyDefine("Pause")
NewKeyDefine(" ","Space","Space")
; NewKeyDefine("Esc")
; NewKeyDefine("Tab")
; NewKeyDefine("Caps")
NewKeyDefine("LeftShift","LShift")
NewKeyDefine("RightShift","RShift")
NewKeyDefine("LeftCtrl","LCtrl")
NewKeyDefine("RightCtrl","RCtrl")
NewKeyDefine("LeftAlt","LAlt")
NewKeyDefine("RightAlt","RAlt")
NewKeyDefine("Enter")
NewKeyDefine("Back")
NewKeyDefine("Ins")
NewKeyDefine("Del")
NewKeyDefine("Home")
NewKeyDefine("End")
NewKeyDefine("Prior")
NewKeyDefine("Next")
NewKeyDefine("Up")
NewKeyDefine("Down")
NewKeyDefine("Left")
NewKeyDefine("Right")
; NewKeyDefine("VerrNum","VNum")
NewKeyDefine("Pad/","/")
NewKeyDefine("Pad*","*")
NewKeyDefine("Pad-","-")
NewKeyDefine("Pad+","+")
NewKeyDefine("Pad.",".")
NewKeyDefine("Pad0")
NewKeyDefine("Pad1")
NewKeyDefine("Pad2")
NewKeyDefine("Pad3")
NewKeyDefine("Pad4")
NewKeyDefine("Pad5")
NewKeyDefine("Pad6")
NewKeyDefine("Pad7")
NewKeyDefine("Pad8")
NewKeyDefine("Pad9")
NewKeyDefine("PadEnter")
NewKeyDefine("PadUp","Up")
NewKeyDefine("PadDown","Down")
NewKeyDefine("PadLeft","Left")
NewKeyDefine("PadRight","Right")
NewKeyDefine("PadXValue")
NewKeyDefine("PadYValue")
NewKeyDefine("PadZValue")
NewKeyDefine("PadRValue")
NewKeyDefine("PadUValue")
NewKeyDefine("PadVValue")
NewKeyDefine("PadButton0","B1")
NewKeyDefine("PadButton1","B2")
NewKeyDefine("PadButton2","B3")
NewKeyDefine("PadButton3","B4")
NewKeyDefine("PadButton4","B5")
NewKeyDefine("PadButton5","B6")
; NewKeyDefine("PadButton6","B7")
; NewKeyDefine("PadButton7","B8")
; NewKeyDefine("PadButton8","B9")
; NewKeyDefine("PadButton9","B10")
; NewKeyDefine("PadButton10","B11")
; NewKeyDefine("PadButton11","B12")
; NewKeyDefine("PadButton12","B13")
; NewKeyDefine("PadButton13","B14")
; NewKeyDefine("PadButton14","B15")
; NewKeyDefine("PadButton15","B16")
; NewKeyDefine("PadButton16","B17")
; NewKeyDefine("PadButton17","B18")
; NewKeyDefine("PadButton18","B19")
; NewKeyDefine("PadButton19","B20")
; NewKeyDefine("PadButton20","B21")
; NewKeyDefine("PadButton21","B22")
; NewKeyDefine("PadButton22","B23")
; NewKeyDefine("PadButton23","B24")
; NewKeyDefine("PadButton24","B25")
; NewKeyDefine("PadButton25","B26")
; NewKeyDefine("PadButton26","B27")
; NewKeyDefine("PadButton27","B28")
; NewKeyDefine("PadButton28","B29")
; NewKeyDefine("PadButton29","B30")
; NewKeyDefine("PadButton30","B31")
; NewKeyDefine("PadButton31","B32")
NewKeyDefine("JoyButton0","B1")
NewKeyDefine("JoyButton1","B2")
NewKeyDefine("JoyButton2","B3")
NewKeyDefine("JoyButton3","B4")
NewKeyDefine("JoyButton4","B5")
NewKeyDefine("JoyButton5","B6")
; NewKeyDefine("JoyButton6","B7")
; NewKeyDefine("JoyButton7","B8")
; NewKeyDefine("JoyButton8","B9")
; NewKeyDefine("JoyButton9","B10")
; NewKeyDefine("JoyButton10","B11")
; NewKeyDefine("JoyButton11","B12")
; NewKeyDefine("JoyButton12","B13")
; NewKeyDefine("JoyButton13","B14")
; NewKeyDefine("JoyButton14","B15")
; NewKeyDefine("JoyButton15","B16")
; NewKeyDefine("JoyButton16","B17")
; NewKeyDefine("JoyButton17","B18")
; NewKeyDefine("JoyButton18","B19")
; NewKeyDefine("JoyButton19","B20")
; NewKeyDefine("JoyButton20","B21")
; NewKeyDefine("JoyButton21","B22")
; NewKeyDefine("JoyButton22","B23")
; NewKeyDefine("JoyButton23","B24")
; NewKeyDefine("JoyButton24","B25")
; NewKeyDefine("JoyButton25","B26")
; NewKeyDefine("JoyButton26","B27")
; NewKeyDefine("JoyButton27","B28")
; NewKeyDefine("JoyButton28","B29")
; NewKeyDefine("JoyButton29","B30")
; NewKeyDefine("JoyButton30","B31")
; NewKeyDefine("JoyButton31","B32")
}

View File

@@ -0,0 +1,47 @@
{IptLink
; Warning the order of the following reference
; this order is the same in struct tdst_EntryActions_ (see Gam/Structur/imput_s.h)
; syntax : AddRef ([Text of the referennce], [Type: ForAllVersion or ForPc or ForU64])
AddRef (SnapShot, ForPc)
;//*** Toggle wired/solid rendering ***
AddRef (DisplayModeToggle, ForAllVersion)
;//*** Debug handle ***
AddRef (DisplayRaster, ForAllVersion)
AddRef (DisplayRasterMode, ForAllVersion)
AddRef (DisplayRasterPCU64, ForAllVersion)
AddRef (ReinitTheMap, ForAllVersion)
AddRef (RecordDemo, ForAllVersion)
AddRef (PlayDemo, ForAllVersion)
AddRef (DisplayOnlyStatic, ForAllVersion)
AddRef (DisplayLight, ForAllVersion)
AddRef (DisplayZDC, ForAllVersion)
AddRef (DisplaySectorInfos, ForAllVersion)
AddRef (DisplayWaypoints, ForAllVersion)
AddRef (DisplayBoundingVolumes, ForAllVersion)
AddRef (DisplayActivatedGendoors, ForAllVersion)
;//*** changing map menu
AddRef( ChooseLevel, ForAllVersion )
AddRef( ChooseLevelUp, ForAllVersion )
AddRef( ChooseLevelDown, ForAllVersion )
AddRef( ChooseLevelValidate, ForAllVersion )
AddRef( ChooseLevelInvalidate, ForAllVersion )
;//*** Flying mode cheat code ***
AddRef (FlyingMode, ForAllVersion)
AddRef (FlyingModeForward, ForAllVersion)
AddRef (FlyingModeBackward, ForAllVersion)
AddRef (FlyingModeUp, ForAllVersion)
AddRef (FlyingModeDown, ForAllVersion)
AddRef (FlyingModeLeft, ForAllVersion)
AddRef (FlyingModeRight, ForAllVersion)
AddRef (FlyingModeStrafeLeft, ForAllVersion)
AddRef (FlyingModeStrafeRight, ForAllVersion)
AddRef (FlyingModeDoubleSpeed, ForAllVersion)
}