|
|
@@ -109,8 +109,8 @@ namespace GamecraftModdingAPI.Input |
|
|
|
} |
|
|
|
ref LocalInputEntityStruct currentInput = ref inputEngine.GetInputRef(playerID); |
|
|
|
//Utility.Logging.CommandLog($"Current sim frame {currentInput.frame}"); |
|
|
|
// set inputs |
|
|
|
if (toggleMode) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.ToggleTimeRunningMode; |
|
|
|
// set inputs - TODO |
|
|
|
/*if (toggleMode) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.ToggleTimeRunningMode; |
|
|
|
if (forward) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.Forward; |
|
|
|
if (backward) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.Backward; |
|
|
|
if (up) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.Up; |
|
|
@@ -134,7 +134,7 @@ namespace GamecraftModdingAPI.Input |
|
|
|
if (rotateBlockCounterclockwise) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.RotateBlockAnticlockwise; |
|
|
|
if (cutSelection) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.CutSelection; |
|
|
|
if (copySelection) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.CopySelection; |
|
|
|
if (deleteSelection) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.DeleteSelection; |
|
|
|
if (deleteSelection) currentInput.actionMask |= RobocraftX.Common.Input.ActionInput.DeleteSelection;*/ |
|
|
|
} |
|
|
|
|
|
|
|
public static void Init() |
|
|
|