Ignore:
Timestamp:
2012-06-08 09:56:41 (11 years ago)
Author:
jijoback
Message:

FullSCreen käyttää nyt käytössä olevaa resoa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/23/JimB/FPS/FPS/FPS/FPS/FPS.cs

    r2849 r2858  
    4646        LuoKentta(); //kutsutaan kentänluonti 
    4747        Veri(); //kutsutaan veripartikkelit 
    48  
     48         
    4949        MessageDisplay.Add("F1 - Näytä Ohjaimet"); //lisätään viestilaatikkoon ohje. 
    5050        Keyboard.Listen(Key.F1, ButtonState.Pressed, Ohjeet, "Näytä ohjaimet"); //Kutsutaan Ohjeet 
     
    5959            return; 
    6060        } 
    61         SetWindowSize(1024, 768, true); onkoPeliFullS = true; 
     61        int w = Microsoft.Xna.Framework.Graphics.GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width; 
     62        int h = Microsoft.Xna.Framework.Graphics.GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height; 
     63        SetWindowSize(w, h, true); onkoPeliFullS = true; 
    6264    } 
    6365    void Ohjeet() 
Note: See TracChangeset for help on using the changeset viewer.