File: dvd.hpp

package info (click to toggle)
videolink 1.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 368 kB
  • ctags: 502
  • sloc: cpp: 3,210; ansic: 880; makefile: 121
file content (21 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef INC_DVD_HPP
#define INC_DVD_HPP

namespace dvd
{
    // Maximum number of buttons in a menu.
    const int menu_buttons_max = 36;

    // Number of colours allowed in each button.
    // Buttons can change colour when they are selected.
    const int button_n_colours = 4;

    // DVD virtual machine register size.
    const int reg_bits = 16;

    // Number by which button numbers must be multiplied when stored in
    // system register 8.
    const int reg_s8_button_mult = 0x400;
}

#endif // !INC_DVD_HPP