public static void Initialize(GraphicsDevice gDevice, ContentManager content) { #if DEBUG string contentPath = Path.Combine(Calculate.GetParentPath(Environment.CurrentDirectory, 5), GameIdentity.ProjectName, "Content"); ContentFenja.LoadRaw(typeof(Tex), contentPath, "Textures", gDevice); #else ContentFenja.LoadProcessed(typeof(Tex), "Textures", content); #endif }
public static void LoadContent(GraphicsDevice gDevice, ContentManager content, string contentPath) { #if DEBUG ContentFenja.LoadRaw(typeof(Textures), contentPath, "Textures", gDevice); #else ContentFenja.LoadProcessed(typeof(Textures), "Textures", content); #endif GeneratedTextures.LoadContent(); }
public static void LoadContent(ContentManager content, string contentPath, string[] files) { #if DEBUG ContentFenja.LoadRaw(typeof(Sounds), contentPath, "Sounds", null); #else ContentFenja.LoadProcessed(typeof(Sounds), "Sounds", content, files); #endif textPlop.Volume /= 4f; engineLoop.Volume *= 0.5f; carDriveAway.Volume *= 0.5f; kickCar.Volume *= 2f; kickAir.Volume *= 0.5f; loose.Volume *= 2f; }
public static void LoadContent(ContentManager content) { ContentFenja.LoadProcessed(typeof(Fonts), "Fonts", content); }