Exemplo n.º 1
0
 internal static void suspend_load_fail(Scene_Base old_scene)
 {
     Game_System.play_se(System_Sounds.Buzzer);
     Game_Actors = null;
     Game_System = new Game_System();
     Player      = null;
     Game_Map    = null;
     Scene       = old_scene;
     if (Scene.scene_type != "Scene_Title")
     {
         scene_change("Scene_Title");
     }
 }
Exemplo n.º 2
0
        public Game_System copy()
        {
            // Hey maybe make this not awful and actually copy the values //Yeti
            Game_System result = new Game_System();

            using (MemoryStream ms = new MemoryStream())
            {
                BinaryWriter writer = new BinaryWriter(ms);
                write(writer);
                writer.Flush();

                ms.Position = 0;
                using (BinaryReader reader = new BinaryReader(ms))
                    result.read(reader, Global.RUNNING_VERSION);
            }
            return(result);
        }
Exemplo n.º 3
0
 public static void cancel_sound()
 {
     Game_System.cancel_sound();
 }
Exemplo n.º 4
0
 public static void clear_events()
 {
     Game_System.clear_events();
 }
Exemplo n.º 5
0
 internal static void play_se(System_Sounds sound)
 {
     Game_System.play_se(sound);
 }
Exemplo n.º 6
0
 public static void reset_system()
 {
     Game_System.reset();
 }
Exemplo n.º 7
0
 internal static void read_events(System.IO.BinaryReader reader)
 {
     Game_System.read_events(reader);
 }
Exemplo n.º 8
0
 internal static void read_game_system(System.IO.BinaryReader reader)
 {
     Game_System = new Game_System();
     Game_System.read(reader);
 }
Exemplo n.º 9
0
 internal static void write_events(System.IO.BinaryWriter writer)
 {
     Game_System.write_events(writer);
 }
Exemplo n.º 10
0
 internal static void write_game_system(System.IO.BinaryWriter writer)
 {
     Game_System.write(writer);
 }