OSDN Git Service

9f875defe5e4dbedb64de494947ad3a02fa8d0af
[mikutoga/TogaGem.git] / src / main / java / jp / sourceforge / mikutoga / parser / pmd / PmdLimits.java
1 /*
2  * pmd limit numbers
3  *
4  * License : The MIT License
5  * Copyright(c) 2010 MikuToga Partners
6  */
7
8 package jp.sourceforge.mikutoga.parser.pmd;
9
10 /**
11  * PMDファイルフォーマットの各種リミット値その他定数。
12  */
13 public final class PmdLimits {
14
15     /** モデル名最大長。バイト単位。 */
16     public static final int MAXBYTES_MODELNAME = 20;
17
18     /** モデル説明文最大長。バイト単位。 */
19     public static final int MAXBYTES_MODELDESC = 256;
20
21     /** ボーン名最大長。バイト単位。 */
22     public static final int MAXBYTES_BONENAME = 20;
23
24     /** モーフ名最大長。バイト単位。 */
25     public static final int MAXBYTES_MORPHNAME = 20;
26
27     /** ボーングループ名最大長。バイト単位。 */
28     public static final int MAXBYTES_BONEGROUPNAME = 50;
29
30     /** テクスチャファイル名最大長。バイト単位。 */
31     public static final int MAXBYTES_TEXTUREFILENAME = 20;
32
33     /** 独自トゥーンテクスチャファイル名の最大長。バイト単位。 */
34     public static final int MAXBYTES_TOONFILENAME = 100;
35
36     /** 剛体名最大長。バイト単位。 */
37     public static final int MAXBYTES_RIGIDNAME = 20;
38
39     /** ジョイント名最大長。バイト単位。 */
40     public static final int MAXBYTES_JOINTNAME = 20;
41
42
43     /**
44      * ボーン最大数。
45      * (Id : 0 - 0xfffe)
46      * MMDがいくつまで受け入れるかはまた別の話だよ。
47      */
48     public static final int MAX_BONE = 65535;
49
50     /** 剛体衝突グループ総数。 */
51     public static final int RIGIDGROUP_FIXEDNUM = 16;
52
53     /** 独自トゥーンテクスチャファイル名テーブルの固定数。 */
54     public static final int TOON_FIXEDNUM = 10;
55
56
57     /**
58      * 隠しコンストラクタ。
59      */
60     private PmdLimits(){
61         super();
62         assert false;
63         throw new AssertionError();
64     }
65
66 }