]> git.decadent.org.uk Git - videolink.git/blob - dvd.hpp
e2bd0f9a003e063191a7e2057cdc4c95236e9bf7
[videolink.git] / dvd.hpp
1 #ifndef INC_DVD_HPP
2 #define INC_DVD_HPP
3
4 namespace dvd
5 {
6     // Maximum number of buttons in a menu.
7     // TODO: Check whether this is a dvdauthor limitation or part of the
8     // DVD Video spec.
9     const int menu_buttons_max = 36;
10
11     // Number of colours allowed in each button.
12     // Buttons can change colour when they are selected.
13     const int button_n_colours = 4;
14
15     // DVD virtual machine register size.
16     const int reg_bits = 16;
17
18     // Number by which button numbers must be multiplied when stored in
19     // system register 8.
20     const int reg_s8_button_mult = 0x400;
21 }
22
23 #endif // !INC_DVD_HPP