Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 private void monsterName_DrawItem(object sender, DrawItemEventArgs e)
 {
     if (monsterName.Enabled)
     {
         Do.DrawName(sender, e, new MenuTextPreview(), monsterNames, fontMenu, palette, true, Menus.Model.MenuBG_256x255);
     }
 }
Esempio n. 4
0
 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);
 }
Esempio n. 5
0
 private void shopItemName_DrawItem(object sender, DrawItemEventArgs e)
 {
     if (e.Index < 0)
     {
         return;
     }
     Do.DrawName(sender, e, new BattleDialoguePreview(), Items.Model.Names, Fonts.Model.Menu,
                 Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, true, false, Menus.Model.ShopBG);
 }
Esempio n. 6
0
 private void name_DrawItem(object sender, DrawItemEventArgs e)
 {
     if (e.Index < 0)
     {
         return;
     }
     Do.DrawName(
         sender, e, new BattleDialoguePreview(), Model.Names, Fonts.Model.Dialogue,
         Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, false, true, Menus.Model.MenuBG_256x255);
 }
Esempio n. 7
0
 private void itemName_DrawItem(object sender, DrawItemEventArgs e)
 {
     if (e.Index < 0)
     {
         return;
     }
     Do.DrawName(
         sender, e, new BattleDialoguePreview(), Model.ItemNames, Model.FontMenu,
         Model.FontPaletteMenu.Palettes[0], 8, 10, 0, 128, true, false, Model.MenuBG_);
 }
Esempio n. 8
0
 private void spellName_DrawItem(object sender, DrawItemEventArgs e)
 {
     if (e.Index < 0)
     {
         return;
     }
     Do.DrawName(
         sender, e, new BattleDialoguePreview(), Model.SpellNames,
         Model.SpellNames.GetUnsortedIndex(e.Index) < 64 ? Model.FontMenu : Model.FontDialogue,
         Model.FontPaletteMenu.Palettes[0], 8, 10, 0, 128, false, false, Model.MenuBG_);
 }
Esempio n. 9
0
 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_);
     }
 }
Esempio n. 10
0
        // Command properties
        private void name_DrawItem(object sender, DrawItemEventArgs e)
        {
            if (this.Updating)
            {
                return;
            }
            switch (command.Opcode)
            {
            case 0xFC:
                if (command.Param1 == 0x02)
                {
                    goto case 0xF0;
                }
                if (command.Param1 == 0x03)
                {
                    Do.DrawName(
                        sender, e, new BattleDialoguePreview(), Items.Model.Names, Fonts.Model.Menu,
                        Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, false, false, Menus.Model.MenuBG_256x255);
                }
                break;

            case 0xEF:
            case 0xF0:
                if (e.Index < 0 || e.Index >= 128)
                {
                    break;
                }
                Do.DrawName(
                    sender, e, new BattleDialoguePreview(), Magic.Model.Names,
                    Magic.Model.Names.GetUnsortedIndex(e.Index) < 64 ? Fonts.Model.Menu : Fonts.Model.Dialogue,
                    Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, false, false, Menus.Model.MenuBG_256x255);
                break;

            case 0xE0:
                goto default;

            default:
                Do.DrawName(
                    sender, e, new BattleDialoguePreview(), Attacks.Model.Names, Fonts.Model.Dialogue,
                    Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, false, true, Menus.Model.MenuBG_256x255);
                break;
            }
        }
Esempio n. 11
0
 private void name_DrawItem(object sender, DrawItemEventArgs e)
 {
     Do.DrawName(sender, e, menuTextPreview, Model.Names, fontMenu, fontPaletteBattle, true, Menus.Model.MenuBG_256x255);
 }
Esempio n. 12
0
 private void itemName_DrawItem(object sender, DrawItemEventArgs e)
 {
     Do.DrawName(
         sender, e, new BattleDialoguePreview(), Items.Model.Names, Fonts.Model.Menu,
         Fonts.Model.Palette_Menu.Palettes[0], 8, 10, 0, 128, true, true, Menus.Model.MenuBG_256x255);
 }
Esempio n. 13
0
 private void monsterName_DrawItem(object sender, DrawItemEventArgs e)
 {
     Do.DrawName(sender, e, new MenuTextPreview(), monsterNames, fontMenu, palette, true, Model.MenuBG_);
 }
Esempio n. 14
0
 // Properties
 private void shopItems_DrawItem(object sender, DrawItemEventArgs e)
 {
     Do.DrawName(sender, e, new BattleDialoguePreview(), Shop.ItemNames, Fonts.Model.Menu,
                 Fonts.Model.Palette_Menu.Palettes[0], 0, 10, 0, 0, false, false, Menus.Model.ShopBG);
 }
Esempio n. 15
0
 private void listBox1_DrawItem(object sender, DrawItemEventArgs e)
 {
     Do.DrawName(sender, e, new MenuTextPreview(), formation.GetMonsterNames(""), fontMenu, palette, true, Menus.Model.MenuBG_256x255);
 }
Esempio n. 16
0
 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);
 }
Esempio n. 17
0
 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_);
 }
Esempio n. 18
0
 private void shopName_DrawItem(object sender, DrawItemEventArgs e)
 {
     Do.DrawName(
         sender, e, new BattleDialoguePreview(), Lists.ShopNames,
         Model.FontDialogue, Model.FontPaletteMenu.Palettes[0], 8, 10, 0, 0, false, false, Model.MenuBG_);
 }
Esempio n. 19
0
 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);
 }
Esempio n. 20
0
 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_);
 }