Example #1
0
        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            CinematicMod cineMod = new CinematicMod(this, r2Process);

            if (checkBox1.Checked)
            {
                CineModEnabled = true;
                enableCineCommands(true);

                cineMod.ChangeFOV(fovBar.Value / 10f);
                cineMod.EnableCinematicMod();
            }
            else
            {
                CineModEnabled = false;
                enableCineCommands(false);

                cineMod.DisableCinematicMod();
            }
        }
Example #2
0
        void Form1_FormClosed(object sender, FormClosedEventArgs e)
        {
            CinematicMod cineMod = new CinematicMod(this, r2Process);

            cineMod.DisableCinematicMod();
        }