public override void InitializeData()
 {
     c_controllerData = new EditControllerData();
     c_controllerData.b_editorActive = false;
     c_controllerData.k = GlobalGameData.GetActionSetting(InputAction, this.InputType);
     c_messageClient    = new InputEditMessageClient(this);
     MessageServer.Subscribe(ref c_messageClient, MessageID.EDIT_SWAP);
     MessageServer.Subscribe(ref c_messageClient, MessageID.EDIT_RESET);
 }
    public override void InitializeData()
    {
        c_controllerData = new EditControllerData();
        c_controllerData.b_editorActive = false;
        c_controllerData.b = default;

        c_controllerData.i     = DefaultValue;
        c_controllerData.i_max = MappedValues.Length - 1;
        c_controllerData.i_min = Constants.ZERO;

        c_controllerData.f   = default;
        c_controllerData.res = default;

        c_controllerData.f_currentTickTime = Constants.ZERO_F;
        c_controllerData.f_maxTickTime     = Constants.LONG_DATA_EDIT_TICK_TIME;
    }
Beispiel #3
0
    public override void InitializeData()
    {
        c_controllerData = new EditControllerData();
        c_controllerData.b_editorActive = false;
        c_controllerData.b = default;

        c_controllerData.i     = GlobalGameData.GetSettingsInt(CurrentTarget);
        c_controllerData.i_max = (int)FullScreenMode.Windowed;
        c_controllerData.i_min = Constants.ZERO;

        c_controllerData.f   = default;
        c_controllerData.res = default;

        c_controllerData.f_currentTickTime = Constants.ZERO_F;
        c_controllerData.f_maxTickTime     = Constants.LONG_DATA_EDIT_TICK_TIME;
    }
 public IntEditTickState(ref EditControllerData editIn, ref IncrementCartridge incr)
 {
     this.c_ctrlData = editIn;
     this.cart_incr  = incr;
 }
Beispiel #5
0
 public DataEditDisabledState(ref EditControllerData dataIn)
 {
     this.data = dataIn;
 }
 public DataEditReadyState(ref EditControllerData dataIn)
 {
     this.c_activeData = dataIn;
 }