]> git.decadent.org.uk Git - videolink.git/blobdiff - dvd.hpp
Brought up to date in preparation for version 1.2.
[videolink.git] / dvd.hpp
diff --git a/dvd.hpp b/dvd.hpp
index e2bd0f9a003e063191a7e2057cdc4c95236e9bf7..f1b1bb14ef6de9f7f376b869cffb4b47bc3b0aa8 100644 (file)
--- a/dvd.hpp
+++ b/dvd.hpp
@@ -4,20 +4,25 @@
 namespace dvd
 {
     // Maximum number of buttons in a menu.
-    // TODO: Check whether this is a dvdauthor limitation or part of the
-    // DVD Video spec.
-    const int menu_buttons_max = 36;
+    const unsigned 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;
+    const unsigned button_n_colours = 4;
 
     // DVD virtual machine register size.
-    const int reg_bits = 16;
+    const unsigned reg_bits = 16;
 
     // Number by which button numbers must be multiplied when stored in
     // system register 8.
-    const int reg_s8_button_mult = 0x400;
+    const unsigned reg_s8_button_mult = 0x400;
+
+    // Maximum number of PGCs in a domain that can be linked to.
+    const unsigned domain_pgcs_max = 127;
+
+    // Maximum number of titles on a disc.  (Also the maximum number of
+    // titlesets per disc.)
+    const unsigned titles_max = 99;
 }
 
 #endif // !INC_DVD_HPP