Files
oboe/osx/dialogxml/dlogutil.buttons.h
Celtic Minstrel 88cb60fb8d Embark on an epic journey to document the dialog engine in as much detail as possible.
... and the previous commits (from 56f73cb on) were by and large a result of things noticed during this process.
2014-12-06 13:37:43 -05:00

191 lines
6.8 KiB
C

/*
* dlogutil.buttons.h
* BoE
*
* Created by Celtic Minstrel on 07/06/09.
*
*/
/// @file
/// Preset button specifications for cThreeChoice
/// The buttons available to special nodes; consists of indices into the basic_buttons array.
size_t available_btns[53] = {
0, 63, 64, 65, 1, 4, 5, 8, 128,9,
10, 11, 12, 13, 14, 15, 16, 17, 29, 51,
60, 61, 62, 66, 69, 70, 71, 72, 73, 74,
79, 80, 83, 86, 87, 88, 91, 92, 93, 99,
100,101,102,104,129,130,131,132,133,134,
135,136,137
};
/// A list of preset button types. Many of these are unused.
bbtt basic_buttons[] = {
{BTN_DONE, " ", {false,0,mod_none}}, // Formerly DLG_BTN_REG with "Done " as the string
{BTN_REG, "Ask", {false,0,mod_none}},
{BTN_LEFT, " ", {true,key_left,mod_none}},
{BTN_RIGHT, " ", {true,key_right,mod_none}},
{BTN_REG, "Keep", {false,'k',mod_none}},
{BTN_REG, "Cancel", {true,key_esc,mod_none}},
{BTN_SM, "+", {false,0,mod_none}},
{BTN_SM, "-", {false,0,mod_none}},
{BTN_REG, "Buy", {false,0,mod_none}},
{BTN_REG, "Leave", {false,0,mod_none}},
//10
{BTN_REG, "Get", {false,'g',mod_none}},
{BTN_REG, "1", {false,'1',mod_none}},
{BTN_REG, "2", {false,'2',mod_none}},
{BTN_REG, "3", {false,'3',mod_none}},
{BTN_REG, "4", {false,'4',mod_none}},
{BTN_REG, "5", {false,'5',mod_none}},
{BTN_REG, "6", {false,'6',mod_none}},
{BTN_REG, "Cast", {false,0,mod_none}},
{BTN_TINY, " ", {false,0,mod_none}},
{BTN_TINY, " ", {false,0,mod_none}},
//20
{BTN_TINY, " ", {false,0,mod_none}},
{BTN_TINY, " ", {false,0,mod_none}},
{BTN_TINY, " ", {false,0,mod_none}},
{BTN_REG, "Buy", {false,0,mod_none}},
{BTN_REG, "Sell", {false,0,mod_none}},
{BTN_LG, "Other Spells", {false,' ',mod_none}},
{BTN_REG, "Buy x10", {false,0,mod_none}},
{BTN_UP, " ", {true,key_up,mod_none}},
{BTN_DOWN, " ", {true,key_down,mod_none}},
{BTN_REG, "Save", {false,0,mod_none}},
//30
{BTN_REG, "Race", {false,0,mod_none}},
{BTN_TALL, "Train", {false,0,mod_none}},
{BTN_REG, "Items", {false,0,mod_none}},
{BTN_REG, "Spells", {false,0,mod_none}},
{BTN_LG, "Heal Party", {false,0,mod_none}},
{BTN_SM, "1", {false,'1',mod_none}},
{BTN_SM, "2", {false,'2',mod_none}},
{BTN_SM, "3", {false,'3',mod_none}},
{BTN_SM, "4", {false,'4',mod_none}},
{BTN_SM, "5", {false,'5',mod_none}},
//40
{BTN_SM, "6", {false,'6',mod_none}},
{BTN_SM, "7", {false,'7',mod_none}},
{BTN_SM, "8", {false,'8',mod_none}},
{BTN_SM, "9", {false,'9',mod_none}},
{BTN_SM, "10", {false,'a',mod_none}},
{BTN_SM, "11", {false,'b',mod_none}},
{BTN_SM, "12", {false,'c',mod_none}},
{BTN_SM, "13", {false,'d',mod_none}},
{BTN_SM, "14", {false,'e',mod_none}},
{BTN_SM, "15", {false,'f',mod_none}},
//50
{BTN_SM, "16", {false,'g',mod_none}},
{BTN_REG, "Take", {false,0,mod_none}},
{BTN_REG, "Create", {false,0,mod_none}},
{BTN_REG, "Delete", {false,0,mod_none}},
{BTN_LG, "Race/Special", {false,0,mod_none}},
{BTN_REG, "Skill", {false,0,mod_none}},
{BTN_REG, "Name", {false,0,mod_none}},
{BTN_REG, "Graphic", {false,0,mod_none}},
{BTN_LG, "Bash Door", {false,0,mod_none}},
{BTN_LG, "Pick Lock", {false,0,mod_none}},
//60
{BTN_REG, "Leave", {false,0,mod_none}}, // dupe
{BTN_REG, "Steal", {false,0,mod_none}},
{BTN_REG, "Attack", {false,0,mod_none}},
{BTN_REG, "OK", {false,0,mod_none}},
{BTN_REG, "Yes", {false,'y',mod_none}},
{BTN_REG, "No", {false,'n',mod_none}},
{BTN_LG, "Step In", {false,0,mod_none}},
{BTN_HELP, " ", {false,'?',mod_none}},
{BTN_REG, "Record", {false,'r',mod_none}},
{BTN_REG, "Climb", {false,0,mod_none}},
//70
{BTN_REG, "Flee", {false,0,mod_none}},
{BTN_REG, "Onward", {false,0,mod_none}},
{BTN_REG, "Answer", {false,0,mod_none}},
{BTN_REG, "Drink", {false,0,mod_none}},
{BTN_LG, "Approach", {false,0,mod_none}},
{BTN_LG, "Mage Spells", {false,0,mod_none}},
{BTN_LG, "Priest Spells", {false,0,mod_none}},
{BTN_LG, "Advantages", {false,0,mod_none}},
{BTN_LG, "New Game", {false,0,mod_none}},
{BTN_REG, "Land", {false,0,mod_none}},
//80
{BTN_REG, "Under", {false,0,mod_none}},
{BTN_REG, "Restore", {false,0,mod_none}},
{BTN_REG, "Restart", {false,0,mod_none}},
{BTN_REG, "Quit", {false,0,mod_none}},
{BTN_LG, "Save First", {false,0,mod_none}},
{BTN_LG, "Just Quit", {false,0,mod_none}},
{BTN_REG, "Rest", {false,0,mod_none}},
{BTN_REG, "Read", {false,0,mod_none}},
{BTN_REG, "Pull", {false,0,mod_none}},
{BTN_LG, "Alchemy", {false,0,mod_none}},
//90
{BTN_SM, "17", {false,'g',mod_none}},
{BTN_REG, "Push", {false,0,mod_none}},
{BTN_REG, "Pray", {false,0,mod_none}},
{BTN_REG, "Wait", {false,0,mod_none}},
{BTN_PUSH, "", {false,0,mod_none}},
{BTN_TRAIT, "", {false,0,mod_none}},
{BTN_TALL, "Delete", {false,0,mod_none}},
{BTN_TALL, "Graphic", {false,0,mod_none}},
{BTN_TALL, "Create", {false,0,mod_none}},
{BTN_REG, "Give", {false,0,mod_none}},
//100
{BTN_REG, "Destroy", {false,0,mod_none}},
{BTN_REG, "Pay", {false,0,mod_none}},
{BTN_REG, "Free", {false,0,mod_none}},
{BTN_LG, "Next Tip", {false,0,mod_none}},
{BTN_REG, "Touch", {false,0,mod_none}},
{BTN_LG, "Select Icon", {false,0,mod_none}},
{BTN_LG, "Create/Edit", {false,0,mod_none}},
{BTN_LG, "Clear Special", {false,0,mod_none}},
{BTN_LG, "Edit Abilities", {false,0,mod_none}},
{BTN_REG, "Choose", {false,0,mod_none}},
//110
{BTN_LG, "Go Back", {false,0,mod_none}},
{BTN_LG, "Create New", {false,0,mod_none}},
{BTN_LG, "General", {false,0,mod_none}},
{BTN_LG, "One Shots", {false,0,mod_none}},
{BTN_LG, "Affect PCs", {false,0,mod_none}},
{BTN_LG, "If-Thens", {false,0,mod_none}},
{BTN_LG, "Town Specs", {false,0,mod_none}},
{BTN_LG, "Out Specs", {false,0,mod_none}},
{BTN_LG, "Advanced", {false,0,mod_none}},
{BTN_LG, "Weapon Abil", {false,0,mod_none}},
//120
{BTN_LG, "General Abil.", {false,0,mod_none}},
{BTN_LG, "NonSpell Use", {false,0,mod_none}},
{BTN_LG, "Spell Usable", {false,0,mod_none}},
{BTN_LG, "Reagents", {false,0,mod_none}},
{BTN_LG, "Missiles", {false,0,mod_none}},
{BTN_LG, "Abilities", {false,0,mod_none}},
{BTN_LG, "Pick Picture", {false,0,mod_none}},
{BTN_LG, "Animated", {false,0,mod_none}},
{BTN_REG, "Enter", {false,0,mod_none}},
{BTN_REG, "Burn", {false,0,mod_none}},
//130
{BTN_REG, "Insert", {false,0,mod_none}},
{BTN_REG, "Remove", {false,0,mod_none}},
{BTN_REG, "Accept", {false,0,mod_none}},
{BTN_REG, "Refuse", {false,0,mod_none}},
{BTN_REG, "Open", {false,0,mod_none}},
{BTN_REG, "Close", {false,0,mod_none}},
{BTN_REG, "Sit", {false,0,mod_none}},
{BTN_REG, "Stand", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
//140
{BTN_SM, "18", {false,0,mod_none}},
{BTN_SM, "19", {false,0,mod_none}},
{BTN_SM, "20", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}}, // invisible button; text was "Invisible!"
{BTN_SM, "", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
{BTN_SM, "", {false,0,mod_none}},
//150
{BTN_LG, "Open File", {false,0,mod_none}},
{BTN_SM, " ", {false,0,mod_none}},
};