public static void InitializeAllegro() { if (!Allegro.InstallSystem()) { throw new Exception("allegro failz"); } if (!Image.Init()) { throw new Exception("image failz"); } Font.Init(); if (!Ttf.Init()) { throw new Exception("ttf failz"); } if (!Primitives.Init()) { throw new Exception("primitives failz"); } Display.Create(800, 600); }