public ProjectForm(FileStream fs) { InitializeComponent(); romManager.LoadRom(fs); addPalettesNodes("sword_pal", 4, "Sword ", Palettes.swords_Palettes); addPalettesNodes("shield_pal", 3, "Shield ", Palettes.shields_Palettes); addPalettesNodes("mail_pal", 5, "Mail ", Palettes.armors_Palettes, new string[] { "Green Mail", "Blue Mail", "Red Mail", "Bunny", "Electrocuted" }); addPalettesNodes("mainoverworld_pal", 6, "Main Overworld ", Palettes.overworld_MainPalettes); addPalettesNodes("auxoverworld_pal", 20, "Aux Overworld ", Palettes.overworld_AuxPalettes); addPalettesNodes("animatedoverworld_pal", 14, "Animated Overworld ", Palettes.overworld_AnimatedPalettes); addPalettesNodes("hud_pal", 1, "In Game", Palettes.HudPalettes); addPalettesNodes("hud_pal", 1, "Intro", Palettes.HudPalettes); addPalettesNodes("mainglobalsprite_pal", 1, "Light World", Palettes.globalSprite_Palettes); addPalettesNodes("mainglobalsprite_pal", 1, "Dark World", Palettes.globalSprite_Palettes); addPalettesNodes("dungeons_pal", 20, "Dungeon ", Palettes.dungeonsMain_Palettes); addPalettesNodes("spriteaux1_pal", 12, "Aux1 Sprite ", Palettes.spritesAux1_Palettes); addPalettesNodes("spriteaux2_pal", 11, "Aux2 Sprite ", Palettes.spritesAux2_Palettes, new string[11] { null, null, null, null, null, null, "Rocks,Sign,Bushes,Pegs LW", null, "Rocks,Sign,Bushes,Pegs DW", null, null }); addPalettesNodes("spriteaux3_pal", 24, "Aux3 Sprite ", Palettes.spritesAux3_Palettes); }
public ProjectForm(FileStream fs) { InitializeComponent(); romManager.LoadRom(fs); }