6 // Maximum number of buttons in a menu.
7 const unsigned menu_buttons_max = 36;
9 // Number of colours allowed in each button.
10 // Buttons can change colour when they are selected.
11 const unsigned button_n_colours = 4;
13 // DVD virtual machine register size.
14 const unsigned reg_bits = 16;
16 // Number by which button numbers must be multiplied when stored in
18 const unsigned reg_s8_button_mult = 0x400;
20 // Maximum number of PGCs in a domain that can be linked to.
21 // dvdauthor uses some menu numbers for special purposes,
22 // resulting in a practical limit of 119 per domain.
23 const unsigned domain_pgcs_max = 119;
25 // Maximum number of titles on a disc. (Also the maximum number of
26 // titlesets per disc.)
27 const unsigned titles_max = 99;
30 #endif // !INC_DVD_HPP