예제 #1
0
 public void SetClipLeftAndRight(bool leftandright)
 {
     if (Neshawk != null)
     {
         var s = Neshawk.GetSettings();
         s.ClipLeftAndRight = leftandright;
         Neshawk.PutSettings(s);
     }
     else if (Quicknes != null)
     {
         var s = Quicknes.GetSettings();
         s.ClipLeftAndRight = leftandright;
         Quicknes.PutSettings(s);
     }
 }
예제 #2
0
 public void SetDisplaySprites(bool show)
 {
     if (Neshawk != null)
     {
         var s = Neshawk.GetSettings();
         s.DispSprites = show;
         Neshawk.PutSettings(s);
     }
     else if (Quicknes != null)
     {
         var s = Quicknes.GetSettings();
         s.NumSprites = show ? 8 : 0;
         Quicknes.PutSettings(s);
     }
 }
예제 #3
0
 public void SetAllowMoreThanEightSprites(bool allow)
 {
     if (Neshawk != null)
     {
         var s = Neshawk.GetSettings();
         s.AllowMoreThanEightSprites = allow;
         Neshawk.PutSettings(s);
     }
     else if (Quicknes != null)
     {
         var s = Quicknes.GetSettings();
         s.NumSprites = allow ? 64 : 8;
         Quicknes.PutSettings(s);
     }
 }