summaryrefslogtreecommitdiff
path: root/lib/global.pl
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-04-29 12:59:28 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-04-29 12:59:28 +0000
commit2e533bd16346ec74216415c01a57c7276d608cf8 (patch)
tree680ac1cb7fe15c65a53c9f0bc6b1e4949481118b /lib/global.pl
parent04c26425699a3e01d0e2abe52ad9f763396cd940 (diff)
...another commit...
git-svn-id: svn://vndb.org/vndb@9 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'lib/global.pl')
-rw-r--r--lib/global.pl27
1 files changed, 26 insertions, 1 deletions
diff --git a/lib/global.pl b/lib/global.pl
index 74c3c070..890046b2 100644
--- a/lib/global.pl
+++ b/lib/global.pl
@@ -10,7 +10,7 @@ our $PLAT = {
lin => 'Linux',
mac => 'Mac OS',
dvd => 'DVD Player',
- gba => 'Game Boy Advanced',
+ gba => 'Game Boy Advance',
nds => 'Nintendo DS',
psp => 'Playstation Portable',
ps => 'Playstation',
@@ -21,6 +21,7 @@ our $PLAT = {
oth => 'Other'
};
+
# NOTE: don't forget to update dyna.js
our $MED = {
cd => 'CD',
@@ -32,18 +33,21 @@ our $MED = {
otc => 'Other (console)',
};
+
our $PROT = {
co => 'Company',
in => 'Individual',
ng => 'Amateur group',
};
+
our $RTYP = [
'Complete',
'Partial',
'Trial'
];
+
# Yes, this is the category list. No, changing something here may
# not change it on the entire site - many things are still hardcoded
our $CAT = {
@@ -104,6 +108,7 @@ our $LSTAT = [
'Other', # XXX: hardcoded at 6
];
+
our $VREL = [
'Sequel',
'Prequel', # 1
@@ -146,6 +151,26 @@ our $VRAGES = {
};
+our $ANITYPE = [
+ # VNDB AniDB
+ [ 'unknown', 'unknown', ],
+ [ 'TV', 'TV Series' ],
+ [ 'OVA', 'OVA' ],
+ [ 'Movie', 'Movie' ],
+ [ 'unknown', 'Other' ],
+ [ 'unknown', 'Web' ],
+ [ 'TV Special', 'TV Special' ],
+ [ 'unknown', 'Music Video' ],
+];
+# AniDB defines:
+# id="1", name="unknown
+# id="2", name="TV Series
+# id="3", name="OVA
+# id="4", name="Movie
+# id="5", name="Other
+# id="6", name="Web
+# id="7", name="TV Special
+# id="8", name="Music Video