private void magic_DrawItem(object sender, DrawItemEventArgs e) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(Magic.Model.Spells, 32, 1), Fonts.Model.Menu, Fonts.Model.Palette_Menu.Palettes[0], -8, 10, 0, 0, false, false, Menus.Model.MenuBG(256, 255)); }
private void startingMagic_DrawItem(object sender, DrawItemEventArgs e) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(Model.Spells, 32, 1), Model.FontMenu, Model.FontPaletteMenu.Palettes[0], -8, 10, 0, 0, false, false, Model.MenuBG__(startingMagic.ColumnWidth, 255)); }
private void timingInstanceNumberName_DrawItem(object sender, DrawItemEventArgs e) { string[] array = Lists.Convert(timingInstanceNumber.Items); Do.DrawName( sender, e, new BattleDialoguePreview(), array, Fonts.Model.Menu, Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, false, false, Menus.Model.MenuBG_256x255); }
public static List <RegionInfo> GetRegions() { return(Safe.Run(() => { var cultures = SystemCultureInfo.GetSpecific(); var regions = Lists.Convert(cultures, SystemCultureInfo.ToRegionInfo); regions = Lists.Distinct(regions); var list = regions.ToList(); removeAllButCountries(list); regions = Lists.OrderBy(list.ToArray(), p => p.EnglishName); return regions.ToList(); }, new List <RegionInfo>())); }
private void targetName_DrawItem(object sender, DrawItemEventArgs e) { if (targetTypeAlly.Checked) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(NewGame.Model.Allies), Fonts.Model.Menu, Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 0, false, false, Menus.Model.MenuBG_256x255); } else { Do.DrawName(sender, e, menuTextPreview, Monsters.Model.Names, fontMenu, fontPaletteBattle, true, Menus.Model.MenuBG_256x255); } }
private void targetName_DrawItem(object sender, DrawItemEventArgs e) { if (targetTypeAlly.Checked) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(Model.Characters), Model.FontMenu, Model.FontPaletteMenu.Palettes[0], 8, 10, 0, 0, false, false, Model.MenuBG_); } else { Do.DrawName(sender, e, menuTextPreview, Model.MonsterNames, fontMenu, fontPaletteBattle, true, Model.MenuBG_); } }
private void spellLearned_DrawItem(object sender, DrawItemEventArgs e) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(Magic.Model.Spells, 33), Fonts.Model.Menu, Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 0, true, false, Menus.Model.MenuBG_256x255); }
private void allyName_DrawItem(object sender, DrawItemEventArgs e) { Do.DrawName(sender, e, new BattleDialoguePreview(), Lists.Convert(NewGame.Model.Allies), Fonts.Model.Menu, Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 0, false, false, Menus.Model.MenuBG_256x255); }
private void characterName_DrawItem(object sender, DrawItemEventArgs e) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(Model.Characters), Model.FontMenu, Model.FontPaletteMenu.Palettes[0], 8, 10, 0, 0, false, false, Model.MenuBG_); }
private void levelUpSpellLearned_DrawItem(object sender, DrawItemEventArgs e) { Do.DrawName( sender, e, new BattleDialoguePreview(), Lists.Convert(Model.Spells, 33), Model.FontMenu, Model.FontPaletteMenu.Palettes[0], 8, 10, 0, 0, true, false, Model.MenuBG_); }