MIDITrail をピカピカにする。鍵盤方向自動切替・多ポート・歌詞対応等
Revisión | b083c3703fbf6bc59af30d36cdbdfa3b9840bbd2 (tree) |
---|---|
Tiempo | 2018-04-11 18:23:21 |
Autor | yoshy <yoshy@user...> |
Commiter | yoshy |
Merge commit 'mod_yossiepon_20161226' into develop
@@ -45,20 +45,29 @@ public: | ||
45 | 45 | //解放 |
46 | 46 | void Release(); |
47 | 47 | |
48 | -// >>> modify 20120728 yossiepon begin | |
48 | +// >>> modify access level to protected 20161224 yossiepon begin | |
49 | 49 | protected: |
50 | +// <<< modify 20161224 yossiepon end | |
50 | 51 | |
51 | 52 | DXPrimitive m_Primitive; |
52 | - MTNoteDesign m_NoteDesign; | |
53 | - | |
54 | -// <<< modify 20120728 yossiepon end | |
55 | 53 | |
54 | +// >>> modify access level 20161224 yossiepon begin | |
56 | 55 | private: |
56 | +// <<< modify 20161224 yossiepon end | |
57 | 57 | |
58 | -// >>> modify 20120728 yossiepon begin | |
59 | 58 | unsigned long m_BarNum; |
60 | 59 | SMPortList m_PortList; |
61 | -// <<< modify 20120728 yossiepon end | |
60 | + | |
61 | +// >>> modify access level to protected 20161224 yossiepon begin | |
62 | +protected: | |
63 | +// <<< modify 20161224 yossiepon end | |
64 | + | |
65 | + MTNoteDesign m_NoteDesign; | |
66 | + | |
67 | +// >>> modify access level 20161224 yossiepon begin | |
68 | +private: | |
69 | +// <<< modify 20161224 yossiepon end | |
70 | + | |
62 | 71 | bool m_isVisible; |
63 | 72 | |
64 | 73 | //頂点バッファ構造体 |
@@ -80,8 +80,19 @@ public: | ||
80 | 80 | //スキップ状態 |
81 | 81 | void SetSkipStatus(bool isSkipping); |
82 | 82 | |
83 | -// >>> modify 20120728 yossiepon begin | |
83 | +private: | |
84 | + | |
85 | + //発音ノート情報構造体 | |
86 | + struct NoteStatus { | |
87 | + bool isActive; | |
88 | + bool isHide; | |
89 | + unsigned long index; | |
90 | + unsigned long startTime; | |
91 | + }; | |
92 | + | |
93 | +// >>> modify access level to protected 20161224 yossiepon begin | |
84 | 94 | protected: |
95 | +// <<< modify 20161224 yossiepon end | |
85 | 96 | |
86 | 97 | //頂点バッファ構造体 |
87 | 98 | struct MTNOTEBOX_VERTEX { |
@@ -90,7 +101,8 @@ protected: | ||
90 | 101 | DWORD c; //ディフューズ色 |
91 | 102 | }; |
92 | 103 | |
93 | -protected: | |
104 | +// >>> modify access level to protected 20161224 yossiepon begin | |
105 | +// <<< modify 20161224 yossiepon end | |
94 | 106 | |
95 | 107 | //ノートデザイン |
96 | 108 | MTNoteDesign m_NoteDesign; |
@@ -107,10 +119,39 @@ protected: | ||
107 | 119 | unsigned long m_CurNoteIndex; |
108 | 120 | unsigned long m_ActiveNoteNum; |
109 | 121 | |
122 | +// >>> modify access level 20161224 yossiepon begin | |
123 | +private: | |
124 | +// <<< modify 20161224 yossiepon end | |
125 | + | |
126 | + NoteStatus* m_pNoteStatus; | |
127 | + | |
128 | + //スキップ状態 | |
129 | + bool m_isSkipping; | |
130 | + | |
131 | +// >>> modify access level to protected 20161224 yossiepon begin | |
132 | +protected: | |
133 | +// <<< modify 20161224 yossiepon end | |
134 | + | |
110 | 135 | //ピッチベンド情報 |
111 | 136 | MTNotePitchBend* m_pNotePitchBend; |
112 | 137 | |
138 | +// >>> modify access level 20161224 yossiepon begin | |
139 | +private: | |
140 | +// <<< modify 20161224 yossiepon end | |
141 | + | |
142 | + //頂点バッファFVFフォーマット | |
143 | + DWORD _GetFVFFormat(){ return (D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE); } | |
144 | + | |
145 | + int _CreateAllNoteBox(LPDIRECT3DDEVICE9 pD3DDevice); | |
146 | + int _CreateActiveNoteBox(LPDIRECT3DDEVICE9 pD3DDevice); | |
147 | + | |
148 | +// >>> modify access level to protected 20161224 yossiepon begin | |
149 | +protected: | |
150 | +// <<< modify 20161224 yossiepon end | |
151 | + | |
152 | +// >>> modify 20120728 yossiepon begin | |
113 | 153 | virtual int _CreateNoteStatus(); |
154 | +// <<< modify 20120728 yossiepon end | |
114 | 155 | |
115 | 156 | int _CreateVertexOfNote( |
116 | 157 | SMNote note, |
@@ -121,47 +162,28 @@ protected: | ||
121 | 162 | bool isEnablePitchBend = false |
122 | 163 | ); |
123 | 164 | |
124 | - int _TransformActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
125 | - virtual int _UpdateStatusOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
126 | - virtual int _UpdateVertexOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
127 | - | |
128 | - int _HideNoteBox(unsigned long index); | |
129 | - int _ShowNoteBox(unsigned long index); | |
130 | - | |
131 | -// <<< modify 20120728 yossiepon end | |
132 | - | |
165 | +// >>> modify access level 20161224 yossiepon begin | |
133 | 166 | private: |
134 | - | |
135 | - //発音ノート情報構造体 | |
136 | - struct NoteStatus { | |
137 | - bool isActive; | |
138 | - bool isHide; | |
139 | - unsigned long index; | |
140 | - unsigned long startTime; | |
141 | - }; | |
142 | - | |
143 | -// >>> modify 20120728 yossiepon begin | |
144 | -private: | |
145 | - | |
146 | - //発音中ノートボックス | |
147 | - NoteStatus* m_pNoteStatus; | |
148 | - | |
149 | - //スキップ状態 | |
150 | - bool m_isSkipping; | |
151 | - | |
152 | - //頂点バッファFVFフォーマット | |
153 | - DWORD _GetFVFFormat(){ return (D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE); } | |
154 | - | |
155 | - int _CreateAllNoteBox(LPDIRECT3DDEVICE9 pD3DDevice); | |
156 | - int _CreateActiveNoteBox(LPDIRECT3DDEVICE9 pD3DDevice); | |
167 | +// <<< modify 20161224 yossiepon end | |
157 | 168 | |
158 | 169 | unsigned long _GetVertexIndexOfNote(unsigned long index); |
159 | 170 | |
160 | 171 | void _MakeMaterial(D3DMATERIAL9* pMaterial); |
161 | 172 | void _MakeMaterialForActiveNote(D3DMATERIAL9* pMaterial); |
162 | 173 | |
174 | +// >>> modify access level to protected 20161224 yossiepon begin | |
175 | +protected: | |
176 | +// <<< modify 20161224 yossiepon end | |
177 | + | |
178 | + int _TransformActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
179 | +// >>> modify 20120728 yossiepon begin | |
180 | + virtual int _UpdateStatusOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
181 | + virtual int _UpdateVertexOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
163 | 182 | // <<< modify 20120728 yossiepon end |
164 | 183 | |
184 | + int _HideNoteBox(unsigned long index); | |
185 | + int _ShowNoteBox(unsigned long index); | |
186 | + | |
165 | 187 | }; |
166 | 188 | |
167 | 189 |
@@ -4,7 +4,7 @@ | ||
4 | 4 | // |
5 | 5 | // ノートデザインクラス |
6 | 6 | // |
7 | -// Copyright (C) 2010-2012 WADA Masashi. All Rights Reserved. | |
7 | +// Copyright (C) 2010-2013 WADA Masashi. All Rights Reserved. | |
8 | 8 | // |
9 | 9 | //****************************************************************************** |
10 | 10 |
@@ -493,15 +493,19 @@ D3DXCOLOR MTNoteDesign::GetNoteBoxColor( | ||
493 | 493 | { |
494 | 494 | D3DXCOLOR color; |
495 | 495 | |
496 | - //チャンネル番号によって色を変える | |
497 | - //ポート番号とノート番号による色の変化は未サポート | |
498 | - | |
499 | - if (chNo >= 16) { | |
500 | - //データ異常だが無視する | |
501 | - color = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA | |
496 | + if (m_NoteColorType == Channel) { | |
497 | + //チャンネル番号によって色を変える | |
498 | + if (chNo >= 16) { | |
499 | + //データ異常だが無視する | |
500 | + color = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA | |
501 | + } | |
502 | + else { | |
503 | + color = m_NoteColor[chNo]; | |
504 | + } | |
502 | 505 | } |
503 | - else { | |
504 | - color = m_NoteColor[chNo]; | |
506 | + else if (m_NoteColorType == Scale) { | |
507 | + //音階によって色を変える | |
508 | + color = m_NoteColorOfScale[(noteNo % 12)]; | |
505 | 509 | } |
506 | 510 | |
507 | 511 | return color; |
@@ -591,9 +595,13 @@ void MTNoteDesign::_Clear(void) | ||
591 | 595 | m_PortIndex[i] = 0; |
592 | 596 | } |
593 | 597 | |
598 | + m_NoteColorType = Channel; | |
594 | 599 | for (i = 0; i < 16; i++) { |
595 | 600 | m_NoteColor[i] = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA |
596 | 601 | } |
602 | + for (i = 0; i < 12; i++) { | |
603 | + m_NoteColorOfScale[i] = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA | |
604 | + } | |
597 | 605 | m_ActiveNoteEmissive = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA |
598 | 606 | m_GridLineColor = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA |
599 | 607 | m_PlaybackSectionColor = D3DXCOLOR(1.0f, 1.0f, 1.0f, 1.0f); //RGBA |
@@ -611,8 +619,9 @@ int MTNoteDesign::_LoadConfFile( | ||
611 | 619 | ) |
612 | 620 | { |
613 | 621 | int result = 0; |
614 | - TCHAR key[16] = {_T('\0')}; | |
622 | + TCHAR key[32] = {_T('\0')}; | |
615 | 623 | TCHAR hexColor[16] = {_T('\0')}; |
624 | + TCHAR noteColorType[16] = {_T('\0')}; | |
616 | 625 | unsigned long i = 0; |
617 | 626 | MTConfFile confFile; |
618 | 627 |
@@ -651,15 +660,34 @@ int MTNoteDesign::_LoadConfFile( | ||
651 | 660 | result = confFile.SetCurSection(_T("Color")); |
652 | 661 | if (result != 0) goto EXIT; |
653 | 662 | |
663 | + //ノートカラー種別を取得 | |
664 | + result = confFile.GetStr(_T("NoteColorType"), noteColorType, 16, _T("CHANNEL")); | |
665 | + if (result != 0) goto EXIT; | |
666 | + | |
667 | + //ノートカラー種別を決定 | |
668 | + m_NoteColorType = Channel; | |
669 | + if (_tcscmp(noteColorType, _T("SCALE")) == 0) { | |
670 | + m_NoteColorType = Scale; | |
671 | + } | |
672 | + | |
654 | 673 | //ノート色情報を取得 |
655 | 674 | for (i = 0; i < 16; i++) { |
656 | - _stprintf_s(key, 16, _T("Ch-%02d-NoteRGBA"), i+1); | |
675 | + _stprintf_s(key, 32, _T("Ch-%02d-NoteRGBA"), i+1); | |
657 | 676 | result = confFile.GetStr(key, hexColor, 16, _T("FFFFFFFF")); |
658 | 677 | if (result != 0) goto EXIT; |
659 | 678 | |
660 | 679 | m_NoteColor[i] = DXColorUtil::MakeColorFromHexRGBA(hexColor); |
661 | 680 | } |
662 | 681 | |
682 | + //音階用ノート色情報を取得 | |
683 | + for (i = 0; i < 12; i++) { | |
684 | + _stprintf_s(key, 32, _T("Scale-%02d-NoteRGBA"), i+1); | |
685 | + result = confFile.GetStr(key, hexColor, 16, _T("FFFFFFFF")); | |
686 | + if (result != 0) goto EXIT; | |
687 | + | |
688 | + m_NoteColorOfScale[i] = DXColorUtil::MakeColorFromHexRGBA(hexColor); | |
689 | + } | |
690 | + | |
663 | 691 | //グリッドライン色情報を取得 |
664 | 692 | result = confFile.GetStr(_T("GridLineRGBA"), hexColor, 16, _T("444444FF")); |
665 | 693 | if (result != 0) goto EXIT; |
@@ -4,7 +4,7 @@ | ||
4 | 4 | // |
5 | 5 | // ノートデザインクラス |
6 | 6 | // |
7 | -// Copyright (C) 2010-2012 WADA Masashi. All Rights Reserved. | |
7 | +// Copyright (C) 2010-2013 WADA Masashi. All Rights Reserved. | |
8 | 8 | // |
9 | 9 | //****************************************************************************** |
10 | 10 |
@@ -46,7 +46,9 @@ public: | ||
46 | 46 | virtual ~MTNoteDesign(void); |
47 | 47 | |
48 | 48 | //初期化 |
49 | - int Initialize(const TCHAR* pSceneName, SMSeqData* pSeqData); | |
49 | +// >>> modify 20161225 yossiepon begin | |
50 | + virtual int Initialize(const TCHAR* pSceneName, SMSeqData* pSeqData); | |
51 | +// <<< modify 20161225 yossiepon end | |
50 | 52 | |
51 | 53 | //演奏位置取得 |
52 | 54 | float GetPlayPosX(unsigned long curTickTime); |
@@ -175,22 +177,6 @@ public: | ||
175 | 177 | //再生面カラー取得 |
176 | 178 | D3DXCOLOR GetPlaybackSectionColor(); |
177 | 179 | |
178 | -// >>> modify 20120728 yossiepon begin | |
179 | -protected: | |
180 | - | |
181 | - float m_RippleHeight; | |
182 | - float m_RippleWidth; | |
183 | - | |
184 | - SMPortList m_PortList; | |
185 | - unsigned char m_PortIndex[256]; | |
186 | - | |
187 | - float m_ActiveNoteWhiteRate; | |
188 | - | |
189 | - virtual void _Clear(); | |
190 | - virtual int _LoadConfFile(const TCHAR* pSceneName); | |
191 | - | |
192 | -// <<< modify 20120728 yossiepon end | |
193 | - | |
194 | 180 | private: |
195 | 181 | |
196 | 182 | enum NoteColorType { |
@@ -198,16 +184,36 @@ private: | ||
198 | 184 | Scale |
199 | 185 | }; |
200 | 186 | |
201 | -// >>> modify 20120728 yossiepon begin | |
202 | 187 | unsigned long m_TimeDivision; |
203 | 188 | float m_QuarterNoteLength; |
204 | 189 | float m_NoteBoxHeight; |
205 | 190 | float m_NoteBoxWidth; |
206 | 191 | float m_NoteStep; |
207 | 192 | float m_ChStep; |
193 | + | |
194 | +// >>> modify access level to protected 20161224 yossiepon begin | |
195 | +protected: | |
196 | +// <<< modify 20161224 yossiepon end | |
197 | + | |
198 | + float m_RippleHeight; | |
199 | + float m_RippleWidth; | |
200 | + | |
201 | +// >>> modify access level 20161224 yossiepon begin | |
202 | +private: | |
203 | +// <<< modify 20161224 yossiepon end | |
204 | + | |
208 | 205 | float m_PictBoardRelativePos; |
209 | 206 | |
210 | -// <<< modify 20120728 yossiepon end | |
207 | +// >>> modify access level to protected 20161224 yossiepon begin | |
208 | +protected: | |
209 | +// <<< modify 20161224 yossiepon end | |
210 | + | |
211 | + SMPortList m_PortList; | |
212 | + unsigned char m_PortIndex[256]; | |
213 | + | |
214 | +// >>> modify access level 20161224 yossiepon begin | |
215 | +private: | |
216 | +// <<< modify 20161224 yossiepon end | |
211 | 217 | |
212 | 218 | NoteColorType m_NoteColorType; |
213 | 219 | D3DXCOLOR m_NoteColor[16]; |
@@ -216,13 +222,30 @@ private: | ||
216 | 222 | D3DXCOLOR m_GridLineColor; |
217 | 223 | D3DXCOLOR m_PlaybackSectionColor; |
218 | 224 | |
219 | -// >>> modify 20120728 yossiepon begin | |
220 | 225 | int m_ActiveNoteDuration; |
226 | + | |
227 | +// >>> modify access level to protected 20161224 yossiepon begin | |
228 | +protected: | |
229 | +// <<< modify 20161224 yossiepon end | |
230 | + | |
231 | + float m_ActiveNoteWhiteRate; | |
232 | + | |
233 | +// >>> modify access level 20161224 yossiepon begin | |
234 | +private: | |
235 | +// <<< modify 20161224 yossiepon end | |
236 | + | |
221 | 237 | int m_RippleDuration; |
222 | 238 | |
223 | 239 | int m_LiveMonitorDisplayDuration; |
224 | 240 | float m_LiveNoteLengthPerSecond; |
225 | 241 | |
242 | +// >>> modify access level to protected 20161224 yossiepon begin | |
243 | +protected: | |
244 | +// <<< modify 20161224 yossiepon end | |
245 | + | |
246 | +// >>> modify 20120728 yossiepon begin | |
247 | + virtual void _Clear(); | |
248 | + virtual int _LoadConfFile(const TCHAR* pSceneName); | |
226 | 249 | // <<< modify 20120728 yossiepon end |
227 | 250 | |
228 | 251 | }; |
@@ -30,6 +30,27 @@ MTNoteDesignMod::~MTNoteDesignMod(void) | ||
30 | 30 | } |
31 | 31 | |
32 | 32 | //****************************************************************************** |
33 | +// 初期化 | |
34 | +//****************************************************************************** | |
35 | +int MTNoteDesignMod::Initialize( | |
36 | + const TCHAR* pSceneName, | |
37 | + SMSeqData* pSeqData | |
38 | + ) | |
39 | +{ | |
40 | + int result = 0; | |
41 | + | |
42 | + //基底クラスの初期化処理を呼び出す | |
43 | + MTNoteDesign::Initialize(pSceneName, pSeqData); | |
44 | + | |
45 | + //パラメータ設定ファイル読み込み | |
46 | + result = _LoadConfFile(pSceneName); | |
47 | + if (result != 0) goto EXIT; | |
48 | + | |
49 | +EXIT:; | |
50 | + return result; | |
51 | +} | |
52 | + | |
53 | +//****************************************************************************** | |
33 | 54 | // 波紋ディケイ時間取得(msec) |
34 | 55 | //****************************************************************************** |
35 | 56 | unsigned long MTNoteDesignMod::GetRippleDecayDuration() |
@@ -46,6 +67,22 @@ unsigned long MTNoteDesignMod::GetRippleReleaseDuration() | ||
46 | 67 | } |
47 | 68 | |
48 | 69 | //****************************************************************************** |
70 | +// 波紋上書き回数 | |
71 | +//****************************************************************************** | |
72 | +unsigned long MTNoteDesignMod::GetRippleOverwriteTimes() | |
73 | +{ | |
74 | + return (unsigned long)m_RippleOverwriteTimes; | |
75 | +} | |
76 | + | |
77 | +//****************************************************************************** | |
78 | +// 波紋描画間隔 | |
79 | +//****************************************************************************** | |
80 | +float MTNoteDesignMod::GetRippleSpacing() | |
81 | +{ | |
82 | + return m_RippleSpacing; | |
83 | +} | |
84 | + | |
85 | +//****************************************************************************** | |
49 | 86 | // 波紋縦サイズ取得 |
50 | 87 | //****************************************************************************** |
51 | 88 | float MTNoteDesignMod::GetRippleHeight( |
@@ -213,6 +250,14 @@ int MTNoteDesignMod::_LoadConfFile( | ||
213 | 250 | result = confFile.GetInt(_T("ReleaseDuration"), &m_RippleReleaseDuration, 250); |
214 | 251 | if (result != 0) goto EXIT; |
215 | 252 | |
253 | + //波紋上書き回数 | |
254 | + result = confFile.GetInt(_T("OverwriteTimes"), &m_RippleOverwriteTimes, 3); | |
255 | + if (result != 0) goto EXIT; | |
256 | + | |
257 | + //波紋描画間隔 | |
258 | + result = confFile.GetFloat(_T("Spacing"), &m_RippleSpacing, 0.002f); | |
259 | + if (result != 0) goto EXIT; | |
260 | + | |
216 | 261 | EXIT:; |
217 | 262 | return result; |
218 | 263 | } |
@@ -22,10 +22,17 @@ public: | ||
22 | 22 | MTNoteDesignMod(void); |
23 | 23 | virtual ~MTNoteDesignMod(void); |
24 | 24 | |
25 | + //初期化 | |
26 | + virtual int Initialize(const TCHAR* pSceneName, SMSeqData* pSeqData); | |
27 | + | |
25 | 28 | //波紋表示時間取得 |
26 | 29 | unsigned long GetRippleDecayDuration(); |
27 | 30 | unsigned long GetRippleReleaseDuration(); |
28 | 31 | |
32 | + //波紋描画情報取得 | |
33 | + unsigned long GetRippleOverwriteTimes(); | |
34 | + float GetRippleSpacing(); | |
35 | + | |
29 | 36 | //波紋サイズ取得 |
30 | 37 | float GetRippleHeight(float rate); |
31 | 38 | float GetRippleWidth(float rate); |
@@ -50,9 +57,15 @@ protected: | ||
50 | 57 | |
51 | 58 | private: |
52 | 59 | |
60 | + //ディケイ時間 | |
53 | 61 | int m_RippleDecayDuration; |
62 | + //リリース時間 | |
54 | 63 | int m_RippleReleaseDuration; |
55 | 64 | |
65 | + //上書き回数 | |
66 | + int m_RippleOverwriteTimes; | |
67 | + //描画間隔 | |
68 | + float m_RippleSpacing; | |
56 | 69 | }; |
57 | 70 | |
58 | 71 |
@@ -54,9 +54,7 @@ public: | ||
54 | 54 | ); |
55 | 55 | |
56 | 56 | //更新 |
57 | -// >>> modify 20120728 yossiepon begin | |
58 | - virtual int Transform(LPDIRECT3DDEVICE9 pD3DDevice, D3DXVECTOR3 camVector, float rollAngle); | |
59 | -// <<< modify 20120728 yossiepon end | |
57 | + int Transform(LPDIRECT3DDEVICE9 pD3DDevice, D3DXVECTOR3 camVector, float rollAngle); | |
60 | 58 | |
61 | 59 | //描画 |
62 | 60 | // >>> modify 20120728 yossiepon begin |
@@ -97,8 +95,9 @@ public: | ||
97 | 95 | //スキップ状態 |
98 | 96 | void SetSkipStatus(bool isSkipping); |
99 | 97 | |
100 | -// >>> modify 20120728 yossiepon begin | |
98 | +// >>> modify access level to protected 20120728 yossiepon begin | |
101 | 99 | protected: |
100 | +// >>> modify 20120728 yossiepon end | |
102 | 101 | |
103 | 102 | //ノート発音状態構造体 |
104 | 103 | struct NoteStatus { |
@@ -121,11 +120,21 @@ protected: | ||
121 | 120 | //頂点バッファFVFフォーマット |
122 | 121 | DWORD _GetFVFFormat(){ return (D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_DIFFUSE | D3DFVF_TEX1); } |
123 | 122 | |
124 | -protected: | |
123 | +// >>> modify access level to protected 20161224 yossiepon begin | |
124 | +// >>> modify 20161224 yossiepon end | |
125 | 125 | |
126 | 126 | //描画系 |
127 | 127 | DXPrimitive m_Primitive; |
128 | 128 | LPDIRECT3DTEXTURE9 m_pTexture; |
129 | +// >>> modify access level 20161224 yossiepon begin | |
130 | +private: | |
131 | +// >>> modify 20161224 yossiepon end | |
132 | + | |
133 | + D3DMATERIAL9 m_Material; | |
134 | + | |
135 | +// >>> modify access level to protected 20161224 yossiepon begin | |
136 | +protected: | |
137 | +// >>> modify 20161224 yossiepon end | |
129 | 138 | |
130 | 139 | //再生時刻 |
131 | 140 | unsigned long m_CurTickTime; |
@@ -140,6 +149,17 @@ protected: | ||
140 | 149 | MTNotePitchBend* m_pNotePitchBend; |
141 | 150 | |
142 | 151 | //ノート発音状態情報 |
152 | + | |
153 | +// >>> modify access level 20161224 yossiepon begin | |
154 | +private: | |
155 | +// >>> modify 20161224 yossiepon end | |
156 | + | |
157 | + NoteStatus* m_pNoteStatus; | |
158 | + | |
159 | +// >>> modify access level to protected 20161224 yossiepon begin | |
160 | +protected: | |
161 | +// >>> modify 20161224 yossiepon end | |
162 | + | |
143 | 163 | unsigned long m_ActiveNoteNum; |
144 | 164 | |
145 | 165 | //表示可否 |
@@ -148,24 +168,23 @@ protected: | ||
148 | 168 | //スキップ状態 |
149 | 169 | bool m_isSkipping; |
150 | 170 | |
151 | - virtual int _CreateNoteStatus(); | |
152 | - virtual int _CreateVertex(LPDIRECT3DDEVICE9 pD3DDevice); | |
153 | - virtual void _MakeMaterial(D3DMATERIAL9* pMaterial); | |
154 | - virtual int _TransformRipple(LPDIRECT3DDEVICE9 pD3DDevice); | |
155 | - virtual int _UpdateVertexOfRipple(LPDIRECT3DDEVICE9 pD3DDevice); | |
171 | +// >>> modify access level 20161224 yossiepon begin | |
172 | +private: | |
173 | +// >>> modify 20161224 yossiepon end | |
156 | 174 | |
157 | -// <<< modify 20120728 yossiepon end | |
175 | + int _CreateTexture(LPDIRECT3DDEVICE9 pD3DDevice, const TCHAR* pSceneName); | |
158 | 176 | |
159 | -private: | |
177 | +// >>> modify access level to protected 20161224 yossiepon begin | |
178 | +protected: | |
179 | +// >>> modify 20161224 yossiepon end | |
160 | 180 | |
161 | -// >>> modify 20120728 yossiepon begin | |
162 | - //描画系 | |
163 | - D3DMATERIAL9 m_Material; | |
181 | + virtual int _CreateNoteStatus(); | |
182 | + virtual int _CreateVertex(LPDIRECT3DDEVICE9 pD3DDevice); | |
164 | 183 | |
165 | - //ノート発音状態情報 | |
166 | - NoteStatus* m_pNoteStatus; | |
184 | +// >>> modify access level 20161224 yossiepon begin | |
185 | +private: | |
186 | +// >>> modify 20161224 yossiepon end | |
167 | 187 | |
168 | - int _CreateTexture(LPDIRECT3DDEVICE9 pD3DDevice, const TCHAR* pSceneName); | |
169 | 188 | int _SetVertexPosition( |
170 | 189 | MTNOTERIPPLE_VERTEX* pVertex, |
171 | 190 | NoteStatus* pNoteStatus, |
@@ -174,7 +193,13 @@ private: | ||
174 | 193 | bool* pIsTimeout |
175 | 194 | ); |
176 | 195 | |
177 | -// <<< modify 20120728 yossiepon end | |
196 | +// >>> modify access level to protected 20161224 yossiepon begin | |
197 | +protected: | |
198 | +// >>> modify 20161224 yossiepon end | |
199 | + | |
200 | + virtual void _MakeMaterial(D3DMATERIAL9* pMaterial); | |
201 | + virtual int _TransformRipple(LPDIRECT3DDEVICE9 pD3DDevice); | |
202 | + virtual int _UpdateVertexOfRipple(LPDIRECT3DDEVICE9 pD3DDevice); | |
178 | 203 | |
179 | 204 | }; |
180 | 205 |
@@ -17,12 +17,6 @@ | ||
17 | 17 | using namespace YNBaseLib; |
18 | 18 | |
19 | 19 | //****************************************************************************** |
20 | -// パラメータ定義 | |
21 | -//****************************************************************************** | |
22 | -//波紋の上書き回数 | |
23 | -#define MTNOTERIPPLE_MAX_OVERWRITE_NUM 3 | |
24 | - | |
25 | -//****************************************************************************** | |
26 | 20 | // コンストラクタ |
27 | 21 | //****************************************************************************** |
28 | 22 | MTNoteRippleMod::MTNoteRippleMod(void) : MTNoteRipple() |
@@ -56,9 +50,9 @@ int MTNoteRippleMod::Create( | ||
56 | 50 | |
57 | 51 | Release(); |
58 | 52 | |
59 | - // 基底クラスの生成処理を呼び出す | |
60 | - result = MTNoteRipple::Create(pD3DDevice, pSceneName, pSeqData, pNotePitchBend); | |
61 | - if (result != 0) goto EXIT; | |
53 | + //// 基底クラスの生成処理を呼び出す | |
54 | + //result = MTNoteRipple::Create(pD3DDevice, pSceneName, pSeqData, pNotePitchBend); | |
55 | + //if (result != 0) goto EXIT; | |
62 | 56 | |
63 | 57 | //ノートデザインModオブジェクト初期化 |
64 | 58 | result = m_NoteDesignMod.Initialize(pSceneName, pSeqData); |
@@ -72,51 +66,10 @@ int MTNoteRippleMod::Create( | ||
72 | 66 | result = track.GetNoteListWithRealTime(&m_NoteListRT, pSeqData->GetTimeDivision()); |
73 | 67 | if (result != 0) goto EXIT; |
74 | 68 | |
75 | -EXIT:; | |
76 | - return result; | |
77 | -} | |
78 | - | |
79 | -//****************************************************************************** | |
80 | -// 移動 | |
81 | -//****************************************************************************** | |
82 | -int MTNoteRippleMod::Transform( | |
83 | - LPDIRECT3DDEVICE9 pD3DDevice, | |
84 | - D3DXVECTOR3 camVector, | |
85 | - float rollAngle | |
86 | - ) | |
87 | -{ | |
88 | - int result = 0; | |
89 | - D3DXVECTOR3 moveVector; | |
90 | - D3DXMATRIX rotateMatrix; | |
91 | - D3DXMATRIX moveMatrix; | |
92 | - D3DXMATRIX worldMatrix; | |
93 | - | |
94 | - m_CamVector = camVector; | |
95 | - | |
96 | - //波紋の頂点更新 | |
97 | - result = _TransformRipple(pD3DDevice); | |
69 | + // 基底クラスの生成処理を呼び出す | |
70 | + result = MTNoteRipple::Create(pD3DDevice, pSceneName, pSeqData, pNotePitchBend); | |
98 | 71 | if (result != 0) goto EXIT; |
99 | 72 | |
100 | - //行列初期化 | |
101 | - D3DXMatrixIdentity(&rotateMatrix); | |
102 | - D3DXMatrixIdentity(&moveMatrix); | |
103 | - D3DXMatrixIdentity(&worldMatrix); | |
104 | - | |
105 | - //回転行列 | |
106 | - //TODO: ini で切り替えられるようにする | |
107 | - //D3DXMatrixRotationX(&rotateMatrix, D3DXToRadian(rollAngle + 180.0f)); | |
108 | - D3DXMatrixRotationX(&rotateMatrix, D3DXToRadian(rollAngle)); | |
109 | - | |
110 | - //移動行列 | |
111 | - moveVector = m_NoteDesign.GetWorldMoveVector(); | |
112 | - D3DXMatrixTranslation(&moveMatrix, moveVector.x, moveVector.y, moveVector.z); | |
113 | - | |
114 | - //行列の合成 | |
115 | - D3DXMatrixMultiply(&worldMatrix, &rotateMatrix, &moveMatrix); | |
116 | - | |
117 | - //変換行列設定 | |
118 | - m_Primitive.Transform(worldMatrix); | |
119 | - | |
120 | 73 | EXIT:; |
121 | 74 | return result; |
122 | 75 | } |
@@ -366,6 +319,9 @@ int MTNoteRippleMod::_UpdateVertexOfRipple( | ||
366 | 319 | |
367 | 320 | ZeroMemory(m_KeyDownRate, sizeof(float) * MTNOTERIPPLE_MAX_PORT_NUM * SM_MAX_CH_NUM * SM_MAX_NOTE_NUM); |
368 | 321 | |
322 | + // 波紋上書き回数 | |
323 | + unsigned long overwriteTimes = m_NoteDesignMod.GetRippleOverwriteTimes(); | |
324 | + | |
369 | 325 | //発音中ノートの波紋について頂点を更新 |
370 | 326 | for (i = 0; i < MTNOTERIPPLE_MAX_RIPPLE_NUM; i++) { |
371 | 327 | if (m_pNoteStatusMod[i].isActive) { |
@@ -380,7 +336,7 @@ int MTNoteRippleMod::_UpdateVertexOfRipple( | ||
380 | 336 | if ((note.portNo < MTNOTERIPPLE_MAX_PORT_NUM) |
381 | 337 | && (m_KeyDownRate[note.portNo][note.chNo][note.noteNo] < m_pNoteStatusMod[i].keyDownRate)) { |
382 | 338 | //頂点更新:波紋の描画位置とサイズを変える |
383 | - for(j = 0; j < MTNOTERIPPLE_MAX_OVERWRITE_NUM; j++) { | |
339 | + for(j = 0; j < overwriteTimes; j++) { | |
384 | 340 | _SetVertexPosition( |
385 | 341 | &(pVertex[activeNoteNum*6]), //頂点バッファ書き込み位置 |
386 | 342 | note, //ノート情報 |
@@ -436,8 +392,8 @@ int MTNoteRippleMod::Draw( | ||
436 | 392 | pD3DDevice->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_LINEAR); |
437 | 393 | |
438 | 394 | //レンダリングステート設定:加算合成 |
439 | - //pD3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_ONE); | |
440 | 395 | pD3DDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_ONE); |
396 | + pD3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA); | |
441 | 397 | |
442 | 398 | //プリミティブ描画 |
443 | 399 | if (m_ActiveNoteNum > 0) { |
@@ -447,8 +403,8 @@ int MTNoteRippleMod::Draw( | ||
447 | 403 | } |
448 | 404 | |
449 | 405 | //レンダリングステート設定:通常のアルファ合成 |
450 | - //pD3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA); | |
451 | 406 | pD3DDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA); |
407 | + pD3DDevice->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA); | |
452 | 408 | |
453 | 409 | EXIT:; |
454 | 410 | return result; |
@@ -506,6 +462,9 @@ int MTNoteRippleMod::_CreateVertex( | ||
506 | 462 | unsigned long vertexNum = 0; |
507 | 463 | MTNOTERIPPLE_VERTEX* pVertex = NULL; |
508 | 464 | |
465 | + // 波紋上書き回数 | |
466 | + unsigned long overwriteTimes = m_NoteDesignMod.GetRippleOverwriteTimes(); | |
467 | + | |
509 | 468 | //プリミティブ初期化 |
510 | 469 | result = m_Primitive.Initialize( |
511 | 470 | sizeof(MTNOTERIPPLE_VERTEX),//頂点サイズ |
@@ -515,7 +474,7 @@ int MTNoteRippleMod::_CreateVertex( | ||
515 | 474 | if (result != 0) goto EXIT; |
516 | 475 | |
517 | 476 | //頂点バッファ生成 |
518 | - vertexNum = 6 * MTNOTERIPPLE_MAX_RIPPLE_NUM * MTNOTERIPPLE_MAX_OVERWRITE_NUM; | |
477 | + vertexNum = 6 * MTNOTERIPPLE_MAX_RIPPLE_NUM * overwriteTimes; | |
519 | 478 | result = m_Primitive.CreateVertexBuffer(pD3DDevice, vertexNum); |
520 | 479 | if (result != 0) goto EXIT; |
521 | 480 |
@@ -523,7 +482,7 @@ int MTNoteRippleMod::_CreateVertex( | ||
523 | 482 | result = m_Primitive.LockVertex((void**)&pVertex); |
524 | 483 | if (result != 0) goto EXIT; |
525 | 484 | |
526 | - ZeroMemory(pVertex, sizeof(MTNOTERIPPLE_VERTEX) * 6 * MTNOTERIPPLE_MAX_RIPPLE_NUM * MTNOTERIPPLE_MAX_OVERWRITE_NUM); | |
485 | + ZeroMemory(pVertex, sizeof(MTNOTERIPPLE_VERTEX) * 6 * MTNOTERIPPLE_MAX_RIPPLE_NUM * overwriteTimes); | |
527 | 486 | |
528 | 487 | //バッファのロック解除 |
529 | 488 | result = m_Primitive.UnlockVertex(); |
@@ -546,6 +505,7 @@ int MTNoteRippleMod::_SetVertexPosition( | ||
546 | 505 | int result = 0; |
547 | 506 | unsigned long i = 0; |
548 | 507 | float rh, rw = 0.0f; |
508 | + float spacing = 0.0f; | |
549 | 509 | float alpha = 0.0f; |
550 | 510 | D3DXVECTOR3 center; |
551 | 511 | D3DXCOLOR color; |
@@ -569,6 +529,9 @@ int MTNoteRippleMod::_SetVertexPosition( | ||
569 | 529 | rh = m_NoteDesignMod.GetRippleHeight(pNoteStatus->keyDownRate); |
570 | 530 | rw = m_NoteDesignMod.GetRippleWidth(pNoteStatus->keyDownRate); |
571 | 531 | |
532 | + //波紋描画間隔 | |
533 | + spacing = m_NoteDesignMod.GetRippleSpacing(); | |
534 | + | |
572 | 535 | //描画終了確認 |
573 | 536 | if ((rh <= 0.0f) || (rw <= 0.0f)) { |
574 | 537 | goto EXIT; |
@@ -579,10 +542,10 @@ int MTNoteRippleMod::_SetVertexPosition( | ||
579 | 542 | // Zファイティングによって発生するちらつきやかすれを回避する |
580 | 543 | // グラフィックカードによって現象が異なる |
581 | 544 | if (center.x < m_CamVector.x) { |
582 | - center.x -= 0.002f * (MTNOTELYRICS_MAX_LYRICS_NUM + MTNOTERIPPLE_MAX_RIPPLE_NUM) - (rippleNo + 1) * 0.002f; | |
545 | + center.x -= spacing * (MTNOTELYRICS_MAX_LYRICS_NUM + MTNOTERIPPLE_MAX_RIPPLE_NUM - (rippleNo + 1)); | |
583 | 546 | } |
584 | 547 | else { |
585 | - center.x -= 0.002f * MTNOTELYRICS_MAX_LYRICS_NUM + (rippleNo + 1) * 0.002f; | |
548 | + center.x -= spacing * (MTNOTELYRICS_MAX_LYRICS_NUM + rippleNo + 1); | |
586 | 549 | } |
587 | 550 | |
588 | 551 | //頂点座標 |
@@ -40,9 +40,6 @@ public: | ||
40 | 40 | MTNotePitchBend* pNotePitchBend |
41 | 41 | ); |
42 | 42 | |
43 | - //更新 | |
44 | - virtual int Transform(LPDIRECT3DDEVICE9 pD3DDevice, D3DXVECTOR3 camVector, float rollAngle); | |
45 | - | |
46 | 43 | //描画 |
47 | 44 | virtual int Draw(LPDIRECT3DDEVICE9 pD3DDevice); |
48 | 45 |
@@ -80,19 +80,6 @@ public: | ||
80 | 80 | //共有用テクスチャ取得 |
81 | 81 | LPDIRECT3DTEXTURE9 GetTexture(); |
82 | 82 | |
83 | -// >>> modify 20120728 yossiepon begin | |
84 | -protected: | |
85 | - | |
86 | - //キーボードプリミティブ | |
87 | - DXPrimitive m_PrimitiveKeyboard; | |
88 | - | |
89 | - //キーボードデザイン | |
90 | - MTPianoKeyboardDesign m_KeyboardDesign; | |
91 | - | |
92 | - int _RotateKey(unsigned char noteNo, float angle, D3DXCOLOR* pColor = NULL); | |
93 | - | |
94 | -// <<< modify 20120728 yossiepon end | |
95 | - | |
96 | 83 | private: |
97 | 84 | |
98 | 85 | //頂点バッファ構造体 |
@@ -111,14 +98,31 @@ private: | ||
111 | 98 | unsigned long indexNum; |
112 | 99 | } MTBufInfo; |
113 | 100 | |
101 | +// >>> modify access level to protected 20161224 yossiepon begin | |
102 | +protected: | |
103 | +// <<< modify 20161224 yossiepon end | |
104 | + | |
105 | + //キーボードプリミティブ | |
106 | + DXPrimitive m_PrimitiveKeyboard; | |
107 | + | |
108 | +// >>> modify access level 20161224 yossiepon begin | |
114 | 109 | private: |
110 | +// <<< modify 20161224 yossiepon end | |
115 | 111 | |
116 | -// >>> modify 20120728 yossiepon begin | |
117 | 112 | //テクスチャ |
118 | 113 | LPDIRECT3DTEXTURE9 m_pTexture; |
119 | 114 | D3DXIMAGE_INFO m_ImgInfo; |
120 | 115 | |
121 | -// <<< modify 20120728 yossiepon end | |
116 | +// >>> modify access level to protected 20161224 yossiepon begin | |
117 | +protected: | |
118 | +// <<< modify 20161224 yossiepon end | |
119 | + | |
120 | + //キーボードデザイン | |
121 | + MTPianoKeyboardDesign m_KeyboardDesign; | |
122 | + | |
123 | +// >>> modify access level 20161224 yossiepon begin | |
124 | +private: | |
125 | +// <<< modify 20161224 yossiepon end | |
122 | 126 | |
123 | 127 | //バッファ情報 |
124 | 128 | MTBufInfo m_BufInfo[SM_MAX_NOTE_NUM]; |
@@ -157,9 +161,17 @@ private: | ||
157 | 161 | int _LoadTexture(LPDIRECT3DDEVICE9 pD3DDevice, const TCHAR* pSceneName); |
158 | 162 | void _MakeMaterial(D3DMATERIAL9* pMaterial); |
159 | 163 | |
160 | -// >>> modify 20120728 yossiepon begin | |
164 | +// >>> modify access level to protected 20161224 yossiepon begin | |
165 | +protected: | |
166 | +// <<< modify 20161224 yossiepon end | |
167 | + | |
168 | + int _RotateKey(unsigned char noteNo, float angle, D3DXCOLOR* pColor = NULL); | |
169 | + | |
170 | +// >>> modify access level 20161224 yossiepon begin | |
171 | +private: | |
172 | +// <<< modify 20161224 yossiepon end | |
173 | + | |
161 | 174 | D3DXVECTOR3 _RotateYZ(float centerY, float centerZ, D3DXVECTOR3 p1, float angle); |
162 | -// <<< modify 20120728 yossiepon end | |
163 | 175 | |
164 | 176 | int _HideKey(unsigned char noteNo); |
165 | 177 |
@@ -77,8 +77,9 @@ public: | ||
77 | 77 | //スキップ状態 |
78 | 78 | void SetSkipStatus(bool isSkipping); |
79 | 79 | |
80 | -// >>> modify 20120728 yossiepon begin | |
80 | +// >>> modify access level to protected 20161224 yossiepon begin | |
81 | 81 | protected: |
82 | +// <<< modify 20161224 yossiepon end | |
82 | 83 | |
83 | 84 | //キー状態 |
84 | 85 | enum KeyStatus { |
@@ -95,13 +96,8 @@ protected: | ||
95 | 96 | float keyDownRate; |
96 | 97 | }; |
97 | 98 | |
98 | -// >>> modify 20140920 yossiepon begin | |
99 | -protected: | |
100 | - //シングルキーボードフラグ | |
101 | - bool m_isSingleKeyboard; | |
102 | -// <<< modify 20120920 yossiepon end | |
103 | - | |
104 | -protected: | |
99 | +// >>> modify access level to protected 20161224 yossiepon begin | |
100 | +// <<< modify 20161224 yossiepon end | |
105 | 101 | |
106 | 102 | //ノートデザイン |
107 | 103 | MTNoteDesign m_NoteDesign; |
@@ -122,16 +118,44 @@ protected: | ||
122 | 118 | NoteStatus* m_pNoteStatus; |
123 | 119 | float m_KeyDownRate[SM_MAX_CH_NUM][SM_MAX_NOTE_NUM]; |
124 | 120 | |
121 | +// >>> modify access level 20161224 yossiepon begin | |
122 | +private: | |
123 | +// <<< modify 20161224 yossiepon end | |
124 | + | |
125 | + //スキップ状態 | |
126 | + bool m_isSkipping; | |
127 | + | |
128 | +// >>> modify access level to protected 20161224 yossiepon begin | |
129 | +protected: | |
130 | +// <<< modify 20161224 yossiepon end | |
131 | + | |
125 | 132 | //ピッチベンド情報 |
126 | 133 | MTNotePitchBend* m_pNotePitchBend; |
127 | 134 | |
128 | 135 | //表示可否 |
129 | 136 | bool m_isEnable; |
130 | 137 | |
138 | + //シングルキーボードフラグ | |
139 | + bool m_isSingleKeyboard; | |
140 | + | |
131 | 141 | int _CreateNoteStatus(); |
142 | +// >>> modify 20120728 yossiepon begin | |
132 | 143 | virtual int _CreateKeyboards(LPDIRECT3DDEVICE9 pD3DDevice, const TCHAR* pSceneName, SMSeqData* pSeqData); |
144 | +// <<< modify 20120728 yossiepon end | |
133 | 145 | |
134 | 146 | int _TransformActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); |
147 | + | |
148 | +// >>> modify access level 20161224 yossiepon begin | |
149 | +private: | |
150 | +// <<< modify 20161224 yossiepon end | |
151 | + | |
152 | + int _UpdateStatusOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
153 | + | |
154 | +// >>> modify access level to protected 20161224 yossiepon begin | |
155 | +protected: | |
156 | +// <<< modify 20161224 yossiepon end | |
157 | + | |
158 | +// >>> modify 20120728 yossiepon begin | |
135 | 159 | virtual int _UpdateNoteStatus( |
136 | 160 | unsigned long playTimeMSec, |
137 | 161 | unsigned long keyDownDuration, |
@@ -140,20 +164,8 @@ protected: | ||
140 | 164 | NoteStatus* pNoteStatus |
141 | 165 | ); |
142 | 166 | virtual int _UpdateVertexOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); |
143 | - float _GetPichBendShiftPosX(unsigned char portNo, unsigned char chNo); | |
144 | - | |
145 | -// <<< modify 20120728 yossiepon end | |
146 | - | |
147 | -private: | |
148 | - | |
149 | -// >>> modify 20120728 yossiepon begin | |
150 | - //スキップ状態 | |
151 | - bool m_isSkipping; | |
152 | -// <<< modify 20120728 yossiepon end | |
153 | - | |
154 | -// >>> modify 20120728 yossiepon begin | |
155 | - int _UpdateStatusOfActiveNotes(LPDIRECT3DDEVICE9 pD3DDevice); | |
156 | 167 | // <<< modify 20120728 yossiepon end |
168 | + float _GetPichBendShiftPosX(unsigned char portNo, unsigned char chNo); | |
157 | 169 | |
158 | 170 | }; |
159 | 171 |
@@ -66,7 +66,7 @@ int MTPianoKeyboardCtrlMod::Create( | ||
66 | 66 | } |
67 | 67 | |
68 | 68 | //ノートデザインオブジェクト初期化 |
69 | - result = m_NoteDesign.Initialize(pSceneName, pSeqData); | |
69 | + result = m_NoteDesignMod.Initialize(pSceneName, pSeqData); | |
70 | 70 | if (result != 0) goto EXIT; |
71 | 71 | |
72 | 72 | //キーボードデザイン初期化 |
@@ -175,7 +175,7 @@ int MTPianoKeyboardCtrlMod::Transform( | ||
175 | 175 | if (result != 0) goto EXIT; |
176 | 176 | |
177 | 177 | //再生面頂点座標取得 |
178 | - m_NoteDesign.GetPlaybackSectionVirtexPos( | |
178 | + m_NoteDesignMod.GetPlaybackSectionVirtexPos( | |
179 | 179 | 0, |
180 | 180 | &vectorLU, |
181 | 181 | &vectorRU, |
@@ -186,9 +186,11 @@ int MTPianoKeyboardCtrlMod::Transform( | ||
186 | 186 | float boardHeight = vectorLU.y - vectorLD.y; |
187 | 187 | float keyboardWidth = m_KeyboardDesignMod.GetPortOriginX(0) * -2.0f; |
188 | 188 | |
189 | + float rippleSpacing = m_NoteDesignMod.GetRippleSpacing(); | |
190 | + | |
189 | 191 | //移動ベクトル:再生面に追従する |
190 | - moveVector2 = m_NoteDesign.GetWorldMoveVector(); | |
191 | - moveVector2.x += m_NoteDesign.GetPlayPosX(m_CurTickTime); | |
192 | + moveVector2 = m_NoteDesignMod.GetWorldMoveVector(); | |
193 | + moveVector2.x += m_NoteDesignMod.GetPlayPosX(m_CurTickTime); | |
192 | 194 | |
193 | 195 | unsigned char lastPortNo = 0; |
194 | 196 |
@@ -243,7 +245,7 @@ int MTPianoKeyboardCtrlMod::Transform( | ||
243 | 245 | moveVector1.y -= m_KeyboardDesignMod.GetWhiteKeyHeight() / 4.0f; |
244 | 246 | |
245 | 247 | //鍵盤の長さ+リップルマージン+歌詞マージンだけ手前に |
246 | - moveVector1.z -= m_KeyboardDesignMod.GetWhiteKeyLen() + 0.002f * (MTNOTELYRICS_MAX_LYRICS_NUM + MTNOTERIPPLE_MAX_RIPPLE_NUM) * (keyboardWidth / boardHeight); | |
248 | + moveVector1.z -= m_KeyboardDesignMod.GetWhiteKeyLen() + rippleSpacing * (MTNOTELYRICS_MAX_LYRICS_NUM + MTNOTERIPPLE_MAX_RIPPLE_NUM) * (keyboardWidth / boardHeight); | |
247 | 249 | |
248 | 250 | } else { |
249 | 251 |
@@ -355,7 +357,7 @@ int MTPianoKeyboardCtrlMod::_UpdateVertexOfActiveNotes( | ||
355 | 357 | } |
356 | 358 | |
357 | 359 | //ノートの色 |
358 | - noteColor = m_NoteDesign.GetNoteBoxColor(note.portNo, note.chNo, note.noteNo); | |
360 | + noteColor = m_NoteDesignMod.GetNoteBoxColor(note.portNo, note.chNo, note.noteNo); | |
359 | 361 | |
360 | 362 | //発音対象キーを回転 |
361 | 363 | // すでに同一ノートに対して頂点を更新している場合 |
@@ -12,6 +12,7 @@ | ||
12 | 12 | |
13 | 13 | #include "MTPianoKeyboardCtrl.h" |
14 | 14 | #include "MTPianoKeyboardDesignMod.h" |
15 | +#include "MTNoteDesignMod.h" | |
15 | 16 | |
16 | 17 | |
17 | 18 | //****************************************************************************** |
@@ -49,6 +50,9 @@ protected: | ||
49 | 50 | |
50 | 51 | private: |
51 | 52 | |
53 | + //ノートデザイン | |
54 | + MTNoteDesignMod m_NoteDesignMod; | |
55 | + | |
52 | 56 | //キーボードデザイン |
53 | 57 | MTPianoKeyboardDesignMod m_KeyboardDesignMod; |
54 | 58 |
@@ -194,29 +194,6 @@ public: | ||
194 | 194 | unsigned char GetKeyDispRangeEnd(); |
195 | 195 | bool IsKeyDisp(unsigned char noteNo); |
196 | 196 | |
197 | -// >>> modify 20120728 yossiepon begin | |
198 | -protected: | |
199 | - | |
200 | - //ポート情報 | |
201 | - SMPortList m_PortList; | |
202 | - unsigned char m_PortIndex[SM_MAX_PORT_NUM]; | |
203 | - | |
204 | - //キーボード配置情報 | |
205 | - float m_KeyboardStepY; | |
206 | - | |
207 | - //発音中キー色情報 | |
208 | - int m_ActiveKeyColorDuration; | |
209 | - float m_ActiveKeyColorTailRate; | |
210 | - | |
211 | - virtual void _Initialize(); | |
212 | - virtual int _LoadConfFile(const TCHAR* pSceneName); | |
213 | - | |
214 | -// <<< modify 20120728 yossiepon end | |
215 | - | |
216 | -// >>> modify 20140920 yossiepon begin | |
217 | - ActiveKeyColorType m_ActiveKeyColorType; | |
218 | -// <<< modify 20120920 yossiepon end | |
219 | - | |
220 | 197 | private: |
221 | 198 | |
222 | 199 | //キー情報 |
@@ -227,11 +204,20 @@ private: | ||
227 | 204 | |
228 | 205 | private: |
229 | 206 | |
230 | -// >>> modify 20120728 yossiepon begin | |
231 | 207 | //キー情報配列 |
232 | 208 | MTKeyInfo m_KeyInfo[SM_MAX_NOTE_NUM]; |
233 | 209 | |
234 | -// <<< modify 20120728 yossiepon end | |
210 | +// >>> modify access level to protected 20161224 yossiepon begin | |
211 | +protected: | |
212 | +// <<< modify 20161224 yossiepon end | |
213 | + | |
214 | + //ポート情報 | |
215 | + SMPortList m_PortList; | |
216 | + unsigned char m_PortIndex[SM_MAX_PORT_NUM]; | |
217 | + | |
218 | +// >>> modify access level 20161224 yossiepon begin | |
219 | +private: | |
220 | +// <<< modify 20161224 yossiepon end | |
235 | 221 | |
236 | 222 | //スケール情報 |
237 | 223 | float m_WhiteKeyStep; |
@@ -255,27 +241,64 @@ private: | ||
255 | 241 | int m_KeyUpDuration; |
256 | 242 | |
257 | 243 | //キーボード配置情報 |
258 | -// >>> modify 20120728 yossiepon begin | |
244 | + | |
245 | +// >>> modify access level to protected 20161224 yossiepon begin | |
246 | +protected: | |
247 | +// <<< modify 20161224 yossiepon end | |
248 | + | |
249 | + float m_KeyboardStepY; | |
250 | + | |
251 | +// >>> modify access level 20161224 yossiepon begin | |
252 | +private: | |
253 | +// <<< modify 20161224 yossiepon end | |
254 | + | |
259 | 255 | float m_KeyboardStepZ; |
260 | 256 | int m_KeyboardMaxDispNum; |
261 | -// <<< modify 20120728 yossiepon end | |
262 | 257 | |
263 | 258 | //キー色情報 |
264 | 259 | D3DXCOLOR m_WhiteKeyColor; |
265 | 260 | D3DXCOLOR m_BlackKeyColor; |
266 | 261 | |
267 | 262 | //発音中キー色情報 |
268 | -// >>> modify 20120728 yossiepon begin | |
269 | 263 | D3DXCOLOR m_ActiveKeyColor; |
270 | -// <<< modify 20120728 yossiepon end | |
271 | 264 | |
272 | -// >>> modify 20120728 yossiepon begin | |
265 | +// >>> modify access level to protected 20161224 yossiepon begin | |
266 | +protected: | |
267 | +// <<< modify 20161224 yossiepon end | |
268 | + | |
269 | + int m_ActiveKeyColorDuration; | |
270 | + float m_ActiveKeyColorTailRate; | |
271 | + ActiveKeyColorType m_ActiveKeyColorType; | |
272 | + | |
273 | +// >>> modify access level 20161224 yossiepon begin | |
274 | +private: | |
275 | +// <<< modify 20161224 yossiepon end | |
276 | + | |
273 | 277 | //キー表示範囲 |
274 | 278 | int m_KeyDispRangeStart; |
275 | 279 | int m_KeyDispRangeEnd; |
276 | 280 | |
281 | +// >>> modify access level to protected 20161224 yossiepon begin | |
282 | +protected: | |
283 | +// <<< modify 20161224 yossiepon end | |
284 | + | |
285 | +// >>> modify 20120728 yossiepon begin | |
286 | + virtual void _Initialize(); | |
287 | +// <<< modify 20120728 yossiepon end | |
288 | + | |
289 | +// >>> modify access level 20161224 yossiepon begin | |
290 | +private: | |
291 | +// <<< modify 20161224 yossiepon end | |
292 | + | |
277 | 293 | void _InitKeyType(); |
278 | 294 | void _InitKeyPos(); |
295 | + | |
296 | +// >>> modify access level to protected 20161224 yossiepon begin | |
297 | +protected: | |
298 | +// <<< modify 20161224 yossiepon end | |
299 | + | |
300 | +// >>> modify 20120728 yossiepon begin | |
301 | + virtual int _LoadConfFile(const TCHAR* pSceneName); | |
279 | 302 | // <<< modify 20120728 yossiepon end |
280 | 303 | |
281 | 304 | }; |
@@ -199,6 +199,11 @@ int MTPianoKeyboardDesignMod::_LoadConfFile( | ||
199 | 199 | unsigned long i = 0; |
200 | 200 | MTConfFile confFile; |
201 | 201 | |
202 | + //基底クラスの読み込み処理を呼び出す | |
203 | + result = MTPianoKeyboardDesign::_LoadConfFile(pSceneName); | |
204 | + if (result != 0) goto EXIT; | |
205 | + | |
206 | + //設定ファイルを開く | |
202 | 207 | result = confFile.Initialize(pSceneName); |
203 | 208 | if (result != 0) goto EXIT; |
204 | 209 |
@@ -164,7 +164,7 @@ int MTPianoKeyboardMod::PushKey( | ||
164 | 164 | goto EXIT; |
165 | 165 | } |
166 | 166 | |
167 | - angle = m_KeyboardDesign.GetKeyRotateAngle() * keyDownRate; | |
167 | + angle = m_KeyboardDesignMod.GetKeyRotateAngle() * keyDownRate; | |
168 | 168 | |
169 | 169 | if (keyDownRate < 1.0f) { |
170 | 170 | //キーが下降中/上昇中の場合は色を変更せず回転させる |
@@ -121,6 +121,7 @@ private: | ||
121 | 121 | |
122 | 122 | // >>> modify access level to protected 20161223 yossiepon begin |
123 | 123 | protected: |
124 | +// <<< modify 20161223 yossiepon end | |
124 | 125 | |
125 | 126 | //一人称カメラ |
126 | 127 | MTFirstPersonCam m_FirstPersonCam; |
@@ -137,11 +138,9 @@ protected: | ||
137 | 138 | MTMeshCtrl m_MeshCtrl; |
138 | 139 | MTBackgroundImage m_BackgroundImage; |
139 | 140 | |
140 | -// <<< modify 20161223 yossiepon end | |
141 | - | |
142 | -// >>> add 20161223 yossiepon begin | |
141 | +// >>> modify access level 20161223 yossiepon begin | |
143 | 142 | private: |
144 | -// <<< add 20161223 yossiepon end | |
143 | +// <<< modify access level 20161223 yossiepon end | |
145 | 144 | |
146 | 145 | //マウス視線移動モード |
147 | 146 | bool m_IsMouseCamMode; |
@@ -157,6 +156,7 @@ private: | ||
157 | 156 | |
158 | 157 | // >>> modify access level to protected 20161223 yossiepon begin |
159 | 158 | protected: |
159 | +// <<< modify 20161223 yossiepon end | |
160 | 160 | |
161 | 161 | //スキップ状態 |
162 | 162 | bool m_IsSkipping; |
@@ -166,11 +166,9 @@ protected: | ||
166 | 166 | // <<< modify 20120728 yossiepon end |
167 | 167 | void _SetLightColor(DXDirLight* pLight); |
168 | 168 | |
169 | -// <<< modify 20161223 yossiepon end | |
170 | - | |
171 | -// >>> add 20161223 yossiepon begin | |
169 | +// >>> modify access level 20161223 yossiepon begin | |
172 | 170 | private: |
173 | -// <<< add 20161223 yossiepon end | |
171 | +// <<< modify access level 20161223 yossiepon end | |
174 | 172 | |
175 | 173 | int _LoadConf(); |
176 | 174 |
@@ -89,7 +89,7 @@ int MTScenePianoRoll3DMod::Create( | ||
89 | 89 | m_PictBoard.SetEnable(false); |
90 | 90 | |
91 | 91 | //ピアノキーボード制御 |
92 | - result = m_PianoKeyboardCtrl.Create(pD3DDevice, GetName(), pSeqData, &m_NotePitchBend, m_IsSingleKeyboard); | |
92 | + result = m_PianoKeyboardCtrlMod.Create(pD3DDevice, GetName(), pSeqData, &m_NotePitchBend, m_IsSingleKeyboard); | |
93 | 93 | if (result != 0) goto EXIT; |
94 | 94 | |
95 | 95 | EXIT:; |
@@ -134,7 +134,7 @@ int MTScenePianoRoll3DMod::Transform( | ||
134 | 134 | if (result != 0) goto EXIT; |
135 | 135 | |
136 | 136 | //ピアノキーボード更新 |
137 | - result = m_PianoKeyboardCtrl.Transform(pD3DDevice, rollAngle); | |
137 | + result = m_PianoKeyboardCtrlMod.Transform(pD3DDevice, rollAngle); | |
138 | 138 | if (result != 0) goto EXIT; |
139 | 139 | |
140 | 140 | EXIT:; |
@@ -201,7 +201,7 @@ int MTScenePianoRoll3DMod::Draw( | ||
201 | 201 | if (result != 0) goto EXIT; |
202 | 202 | |
203 | 203 | //ピアノキーボード描画 |
204 | - result = m_PianoKeyboardCtrl.Draw(pD3DDevice); | |
204 | + result = m_PianoKeyboardCtrlMod.Draw(pD3DDevice); | |
205 | 205 | if (result != 0) goto EXIT; |
206 | 206 | |
207 | 207 | } else { |
@@ -209,7 +209,7 @@ int MTScenePianoRoll3DMod::Draw( | ||
209 | 209 | //キーボード>波紋>歌詞>タイムインジケータ>メッシュの順で奥から描画 |
210 | 210 | |
211 | 211 | //ピアノキーボード描画 |
212 | - result = m_PianoKeyboardCtrl.Draw(pD3DDevice); | |
212 | + result = m_PianoKeyboardCtrlMod.Draw(pD3DDevice); | |
213 | 213 | if (result != 0) goto EXIT; |
214 | 214 | |
215 | 215 | //ノート波紋描画 |
@@ -246,7 +246,7 @@ void MTScenePianoRoll3DMod::Release() | ||
246 | 246 | m_NoteBoxMod.Release(); |
247 | 247 | m_NoteRippleMod.Release(); |
248 | 248 | m_NoteLyrics.Release(); |
249 | - m_PianoKeyboardCtrl.Release(); | |
249 | + m_PianoKeyboardCtrlMod.Release(); | |
250 | 250 | |
251 | 251 | MTScenePianoRoll3D::Release(); |
252 | 252 | } |
@@ -288,8 +288,8 @@ int MTScenePianoRoll3DMod::OnRecvSequencerMsg( | ||
288 | 288 | m_NoteBoxMod.SetCurTickTime(parser.GetPlayTickTime()); |
289 | 289 | m_NoteLyrics.SetPlayTimeMSec(parser.GetPlayTimeMSec()); |
290 | 290 | m_NoteLyrics.SetCurTickTime(parser.GetPlayTickTime()); |
291 | - m_PianoKeyboardCtrl.SetPlayTimeMSec(parser.GetPlayTimeMSec()); | |
292 | - m_PianoKeyboardCtrl.SetCurTickTime(parser.GetPlayTickTime()); | |
291 | + m_PianoKeyboardCtrlMod.SetPlayTimeMSec(parser.GetPlayTimeMSec()); | |
292 | + m_PianoKeyboardCtrlMod.SetCurTickTime(parser.GetPlayTickTime()); | |
293 | 293 | } |
294 | 294 | //テンポ変更通知 |
295 | 295 | else if (parser.GetMsg() == SMMsgParser::MsgTempo) { |
@@ -326,8 +326,8 @@ int MTScenePianoRoll3DMod::OnRecvSequencerMsg( | ||
326 | 326 | m_NoteRippleMod.SetSkipStatus(true); |
327 | 327 | m_NoteLyrics.Reset(); |
328 | 328 | m_NoteLyrics.SetSkipStatus(true); |
329 | - m_PianoKeyboardCtrl.Reset(); | |
330 | - m_PianoKeyboardCtrl.SetSkipStatus(true); | |
329 | + m_PianoKeyboardCtrlMod.Reset(); | |
330 | + m_PianoKeyboardCtrlMod.SetSkipStatus(true); | |
331 | 331 | m_IsSkipping = true; |
332 | 332 | } |
333 | 333 | //スキップ終了通知 |
@@ -336,7 +336,7 @@ int MTScenePianoRoll3DMod::OnRecvSequencerMsg( | ||
336 | 336 | m_NoteBoxMod.SetSkipStatus(false); |
337 | 337 | m_NoteRippleMod.SetSkipStatus(false); |
338 | 338 | m_NoteLyrics.SetSkipStatus(false); |
339 | - m_PianoKeyboardCtrl.SetSkipStatus(false); | |
339 | + m_PianoKeyboardCtrlMod.SetSkipStatus(false); | |
340 | 340 | m_IsSkipping = false; |
341 | 341 | } |
342 | 342 |
@@ -354,7 +354,7 @@ void MTScenePianoRoll3DMod::_Reset() | ||
354 | 354 | m_NoteBoxMod.Reset(); |
355 | 355 | m_NoteRippleMod.Reset(); |
356 | 356 | m_NoteLyrics.Reset(); |
357 | - m_PianoKeyboardCtrl.Reset(); | |
357 | + m_PianoKeyboardCtrlMod.Reset(); | |
358 | 358 | } |
359 | 359 | |
360 | 360 | //****************************************************************************** |
@@ -367,7 +367,7 @@ void MTScenePianoRoll3DMod::SetEffect( | ||
367 | 367 | { |
368 | 368 | switch (type) { |
369 | 369 | case EffectPianoKeyboard: |
370 | - m_PianoKeyboardCtrl.SetEnable(isEnable); | |
370 | + m_PianoKeyboardCtrlMod.SetEnable(isEnable); | |
371 | 371 | break; |
372 | 372 | case EffectRipple: |
373 | 373 | m_NoteRippleMod.SetEnable(isEnable); |
@@ -70,7 +70,7 @@ private: | ||
70 | 70 | MTNoteBoxMod m_NoteBoxMod; |
71 | 71 | MTNoteRippleMod m_NoteRippleMod; |
72 | 72 | MTNoteLyrics m_NoteLyrics; |
73 | - MTPianoKeyboardCtrlMod m_PianoKeyboardCtrl; | |
73 | + MTPianoKeyboardCtrlMod m_PianoKeyboardCtrlMod; | |
74 | 74 | |
75 | 75 | }; |
76 | 76 |
@@ -0,0 +1,105 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=15.0 | |
3 | +VelocityLR=15.0 | |
4 | +VelocityUD=10.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.0 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.0 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272EE | |
25 | +Ch-02-NoteRGBA=81EF72EE | |
26 | +Ch-03-NoteRGBA=7291EFEE | |
27 | +Ch-04-NoteRGBA=EFA272EE | |
28 | +Ch-05-NoteRGBA=72EF91EE | |
29 | +Ch-06-NoteRGBA=8372EFEE | |
30 | +Ch-07-NoteRGBA=EFD072EE | |
31 | +Ch-08-NoteRGBA=72EFC1EE | |
32 | +Ch-09-NoteRGBA=B072EFEE | |
33 | +Ch-10-NoteRGBA=DEEF72EE | |
34 | +Ch-11-NoteRGBA=72EFEFEE | |
35 | +Ch-12-NoteRGBA=E072EFEE | |
36 | +Ch-13-NoteRGBA=B0EF72EE | |
37 | +Ch-14-NoteRGBA=72BFEFEE | |
38 | +Ch-15-NoteRGBA=EF72D0EE | |
39 | +Ch-16-NoteRGBA=EF72A0EE | |
40 | +Scale-01-NoteRGBA=D50000EE | |
41 | +Scale-02-NoteRGBA=480BFFEE | |
42 | +Scale-03-NoteRGBA=FFFF40EE | |
43 | +Scale-04-NoteRGBA=9F009FEE | |
44 | +Scale-05-NoteRGBA=AAFFD5EE | |
45 | +Scale-06-NoteRGBA=9F001CEE | |
46 | +Scale-07-NoteRGBA=409FFFEE | |
47 | +Scale-08-NoteRGBA=FFAF0BEE | |
48 | +Scale-09-NoteRGBA=9F00D5EE | |
49 | +Scale-10-NoteRGBA=75FF75EE | |
50 | +Scale-11-NoteRGBA=6A0035EE | |
51 | +Scale-12-NoteRGBA=75E7FFEE | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=AAAAAAAA | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +;Duration=1600 | |
64 | +DecayDuration=100 | |
65 | +ReleaseDuration=250 | |
66 | +OverwriteTimes=3 | |
67 | +Spacing=0.002 | |
68 | + | |
69 | +[Stars] | |
70 | +NumberOfStars=2000 | |
71 | + | |
72 | +[Bitmap] | |
73 | +Board=data\Board.png | |
74 | +Ripple=data\Ripple2.png | |
75 | + | |
76 | +[PianoKeyboard] | |
77 | +KeyDownDuration=40 | |
78 | +KeyUpDuration=40 | |
79 | +KeyboardStepY=0.34 | |
80 | +KeyboardStepZ=1.5 | |
81 | +KeyboardMaxDispNum=16 | |
82 | +WhiteKeyColor=FFFFFFDD | |
83 | +BlackKeyColor=FFFFFFDD | |
84 | +ActiveKeyColorType=STANDARD | |
85 | +;ActiveKeyColor=FF0000FF | |
86 | +Ch-01-ActiveKeyColor=E61A1AEE | |
87 | +Ch-02-ActiveKeyColor=1FFF01EE | |
88 | +Ch-03-ActiveKeyColor=013DFFEE | |
89 | +Ch-04-ActiveKeyColor=FF6101EE | |
90 | +Ch-05-ActiveKeyColor=01FF43EE | |
91 | +Ch-06-ActiveKeyColor=2501FFEE | |
92 | +Ch-07-ActiveKeyColor=FFC001EE | |
93 | +Ch-08-ActiveKeyColor=01FFA2EE | |
94 | +Ch-09-ActiveKeyColor=7F01FFEE | |
95 | +Ch-10-ActiveKeyColor=DEFF01EE | |
96 | +Ch-11-ActiveKeyColor=01FCFFEE | |
97 | +Ch-12-ActiveKeyColor=DE01FFEE | |
98 | +Ch-13-ActiveKeyColor=7FFF01EE | |
99 | +Ch-14-ActiveKeyColor=019DFFEE | |
100 | +Ch-15-ActiveKeyColor=FF01C0EE | |
101 | +Ch-16-ActiveKeyColor=FF0161EE | |
102 | +ActiveKeyColorDuration=400 | |
103 | +ActiveKeyColorTailRate=0.5 | |
104 | +KeyDispRangeStart=0 | |
105 | +KeyDispRangeEnd=127 |
@@ -0,0 +1,77 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=15.0 | |
3 | +VelocityLR=15.0 | |
4 | +VelocityUD=10.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.0 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.0 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272FF | |
25 | +Ch-02-NoteRGBA=81EF72FF | |
26 | +Ch-03-NoteRGBA=7291EFFF | |
27 | +Ch-04-NoteRGBA=EFA272FF | |
28 | +Ch-05-NoteRGBA=72EF91FF | |
29 | +Ch-06-NoteRGBA=8372EFFF | |
30 | +Ch-07-NoteRGBA=EFD072FF | |
31 | +Ch-08-NoteRGBA=72EFC1FF | |
32 | +Ch-09-NoteRGBA=B072EFFF | |
33 | +Ch-10-NoteRGBA=DEEF72FF | |
34 | +Ch-11-NoteRGBA=72EFEFFF | |
35 | +Ch-12-NoteRGBA=E072EFFF | |
36 | +Ch-13-NoteRGBA=B0EF72FF | |
37 | +Ch-14-NoteRGBA=72BFEFFF | |
38 | +Ch-15-NoteRGBA=EF72D0FF | |
39 | +Ch-16-NoteRGBA=EF72A0FF | |
40 | +Scale-01-NoteRGBA=D50000FF | |
41 | +Scale-02-NoteRGBA=480BFFFF | |
42 | +Scale-03-NoteRGBA=FFFF40FF | |
43 | +Scale-04-NoteRGBA=9F009FFF | |
44 | +Scale-05-NoteRGBA=AAFFD5FF | |
45 | +Scale-06-NoteRGBA=9F001CFF | |
46 | +Scale-07-NoteRGBA=409FFFFF | |
47 | +Scale-08-NoteRGBA=FFAF0BFF | |
48 | +Scale-09-NoteRGBA=9F00D5FF | |
49 | +Scale-10-NoteRGBA=75FF75FF | |
50 | +Scale-11-NoteRGBA=6A0035FF | |
51 | +Scale-12-NoteRGBA=75E7FFFF | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=FFFFFFFF | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +Duration=1600 | |
64 | + | |
65 | +[Stars] | |
66 | +NumberOfStars=2000 | |
67 | + | |
68 | +[Bitmap] | |
69 | +Board=data\Board.png | |
70 | +Ripple=data\Ripple.png | |
71 | + | |
72 | +#[Mesh] | |
73 | +#XFile=mesh\model.x | |
74 | +#PositionX=0.0 | |
75 | +#PositionY=0.0 | |
76 | +#PositionZ=0.0 | |
77 | + |
@@ -0,0 +1,106 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=15.0 | |
3 | +VelocityLR=15.0 | |
4 | +VelocityUD=10.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.1 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.5 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272EE | |
25 | +Ch-02-NoteRGBA=81EF72EE | |
26 | +Ch-03-NoteRGBA=7291EFEE | |
27 | +Ch-04-NoteRGBA=EFA272EE | |
28 | +Ch-05-NoteRGBA=72EF91EE | |
29 | +Ch-06-NoteRGBA=8372EFEE | |
30 | +Ch-07-NoteRGBA=EFD072EE | |
31 | +Ch-08-NoteRGBA=72EFC1EE | |
32 | +Ch-09-NoteRGBA=B072EFEE | |
33 | +Ch-10-NoteRGBA=DEEF72EE | |
34 | +Ch-11-NoteRGBA=72EFEFEE | |
35 | +Ch-12-NoteRGBA=E072EFEE | |
36 | +Ch-13-NoteRGBA=B0EF72EE | |
37 | +Ch-14-NoteRGBA=72BFEFEE | |
38 | +Ch-15-NoteRGBA=EF72D0EE | |
39 | +Ch-16-NoteRGBA=EF72A0EE | |
40 | +Scale-01-NoteRGBA=D50000EE | |
41 | +Scale-02-NoteRGBA=480BFFEE | |
42 | +Scale-03-NoteRGBA=FFFF40EE | |
43 | +Scale-04-NoteRGBA=9F009FEE | |
44 | +Scale-05-NoteRGBA=AAFFD5EE | |
45 | +Scale-06-NoteRGBA=9F001CEE | |
46 | +Scale-07-NoteRGBA=409FFFEE | |
47 | +Scale-08-NoteRGBA=FFAF0BEE | |
48 | +Scale-09-NoteRGBA=9F00D5EE | |
49 | +Scale-10-NoteRGBA=75FF75EE | |
50 | +Scale-11-NoteRGBA=6A0035EE | |
51 | +Scale-12-NoteRGBA=75E7FFEE | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=AAAAAAAA | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +;Duration=1600 | |
64 | +DecayDuration=100 | |
65 | +ReleaseDuration=250 | |
66 | +OverwriteTimes=3 | |
67 | +Spacing=0.002 | |
68 | + | |
69 | +[Stars] | |
70 | +NumberOfStars=2000 | |
71 | + | |
72 | +[Bitmap] | |
73 | +Board=data\Board.png | |
74 | +Ripple=data\Ripple2.png | |
75 | +Keyboard=data\Keyboard.png | |
76 | + | |
77 | +[PianoKeyboard] | |
78 | +KeyDownDuration=40 | |
79 | +KeyUpDuration=40 | |
80 | +KeyboardStepY=0.34 | |
81 | +KeyboardStepZ=1.5 | |
82 | +KeyboardMaxDispNum=16 | |
83 | +WhiteKeyColor=FFFFFFDD | |
84 | +BlackKeyColor=FFFFFFDD | |
85 | +ActiveKeyColorType=STANDARD | |
86 | +;ActiveKeyColor=FF0000FF | |
87 | +Ch-01-ActiveKeyColor=E61A1AEE | |
88 | +Ch-02-ActiveKeyColor=1FFF01EE | |
89 | +Ch-03-ActiveKeyColor=013DFFEE | |
90 | +Ch-04-ActiveKeyColor=FF6101EE | |
91 | +Ch-05-ActiveKeyColor=01FF43EE | |
92 | +Ch-06-ActiveKeyColor=2501FFEE | |
93 | +Ch-07-ActiveKeyColor=FFC001EE | |
94 | +Ch-08-ActiveKeyColor=01FFA2EE | |
95 | +Ch-09-ActiveKeyColor=7F01FFEE | |
96 | +Ch-10-ActiveKeyColor=DEFF01EE | |
97 | +Ch-11-ActiveKeyColor=01FCFFEE | |
98 | +Ch-12-ActiveKeyColor=DE01FFEE | |
99 | +Ch-13-ActiveKeyColor=7FFF01EE | |
100 | +Ch-14-ActiveKeyColor=019DFFEE | |
101 | +Ch-15-ActiveKeyColor=FF01C0EE | |
102 | +Ch-16-ActiveKeyColor=FF0161EE | |
103 | +ActiveKeyColorDuration=400 | |
104 | +ActiveKeyColorTailRate=0.5 | |
105 | +KeyDispRangeStart=0 | |
106 | +KeyDispRangeEnd=127 |
@@ -0,0 +1,77 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=15.0 | |
3 | +VelocityLR=15.0 | |
4 | +VelocityUD=10.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.1 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.5 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272FF | |
25 | +Ch-02-NoteRGBA=81EF72FF | |
26 | +Ch-03-NoteRGBA=7291EFFF | |
27 | +Ch-04-NoteRGBA=EFA272FF | |
28 | +Ch-05-NoteRGBA=72EF91FF | |
29 | +Ch-06-NoteRGBA=8372EFFF | |
30 | +Ch-07-NoteRGBA=EFD072FF | |
31 | +Ch-08-NoteRGBA=72EFC1FF | |
32 | +Ch-09-NoteRGBA=B072EFFF | |
33 | +Ch-10-NoteRGBA=DEEF72FF | |
34 | +Ch-11-NoteRGBA=72EFEFFF | |
35 | +Ch-12-NoteRGBA=E072EFFF | |
36 | +Ch-13-NoteRGBA=B0EF72FF | |
37 | +Ch-14-NoteRGBA=72BFEFFF | |
38 | +Ch-15-NoteRGBA=EF72D0FF | |
39 | +Ch-16-NoteRGBA=EF72A0FF | |
40 | +Scale-01-NoteRGBA=D50000FF | |
41 | +Scale-02-NoteRGBA=480BFFFF | |
42 | +Scale-03-NoteRGBA=FFFF40FF | |
43 | +Scale-04-NoteRGBA=9F009FFF | |
44 | +Scale-05-NoteRGBA=AAFFD5FF | |
45 | +Scale-06-NoteRGBA=9F001CFF | |
46 | +Scale-07-NoteRGBA=409FFFFF | |
47 | +Scale-08-NoteRGBA=FFAF0BFF | |
48 | +Scale-09-NoteRGBA=9F00D5FF | |
49 | +Scale-10-NoteRGBA=75FF75FF | |
50 | +Scale-11-NoteRGBA=6A0035FF | |
51 | +Scale-12-NoteRGBA=75E7FFFF | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=FFFFFFFF | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +Duration=1600 | |
64 | + | |
65 | +[Stars] | |
66 | +NumberOfStars=2000 | |
67 | + | |
68 | +[Bitmap] | |
69 | +Board=data\Board.png | |
70 | +Ripple=data\Ripple.png | |
71 | + | |
72 | +#[Mesh] | |
73 | +#XFile=mesh\model.x | |
74 | +#PositionX=0.0 | |
75 | +#PositionY=0.0 | |
76 | +#PositionZ=0.0 | |
77 | + |
@@ -0,0 +1,93 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=10.0 | |
3 | +VelocityLR=10.0 | |
4 | +VelocityUD=5.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.1 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.5 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272FF | |
25 | +Ch-02-NoteRGBA=81EF72FF | |
26 | +Ch-03-NoteRGBA=7291EFFF | |
27 | +Ch-04-NoteRGBA=EFA272FF | |
28 | +Ch-05-NoteRGBA=72EF91FF | |
29 | +Ch-06-NoteRGBA=8372EFFF | |
30 | +Ch-07-NoteRGBA=EFD072FF | |
31 | +Ch-08-NoteRGBA=72EFC1FF | |
32 | +Ch-09-NoteRGBA=B072EFFF | |
33 | +Ch-10-NoteRGBA=DEEF72FF | |
34 | +Ch-11-NoteRGBA=72EFEFFF | |
35 | +Ch-12-NoteRGBA=E072EFFF | |
36 | +Ch-13-NoteRGBA=B0EF72FF | |
37 | +Ch-14-NoteRGBA=72BFEFFF | |
38 | +Ch-15-NoteRGBA=EF72D0FF | |
39 | +Ch-16-NoteRGBA=EF72A0FF | |
40 | +Scale-01-NoteRGBA=D50000FF | |
41 | +Scale-02-NoteRGBA=480BFFFF | |
42 | +Scale-03-NoteRGBA=FFFF40FF | |
43 | +Scale-04-NoteRGBA=9F009FFF | |
44 | +Scale-05-NoteRGBA=AAFFD5FF | |
45 | +Scale-06-NoteRGBA=9F001CFF | |
46 | +Scale-07-NoteRGBA=409FFFFF | |
47 | +Scale-08-NoteRGBA=FFAF0BFF | |
48 | +Scale-09-NoteRGBA=9F00D5FF | |
49 | +Scale-10-NoteRGBA=75FF75FF | |
50 | +Scale-11-NoteRGBA=6A0035FF | |
51 | +Scale-12-NoteRGBA=75E7FFFF | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=AAAAAAFF | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +Duration=1600 | |
64 | + | |
65 | +[Stars] | |
66 | +NumberOfStars=2000 | |
67 | + | |
68 | +[Bitmap] | |
69 | +Board=data\Board.png | |
70 | +Ripple=data\Ripple.png | |
71 | +Keyboard=data\Keyboard.png | |
72 | + | |
73 | +[PianoKeyboard] | |
74 | +KeyDownDuration=40 | |
75 | +KeyUpDuration=40 | |
76 | +KeyboardStepY=0.34 | |
77 | +KeyboardStepZ=1.5 | |
78 | +KeyboardMaxDispNum=16 | |
79 | +WhiteKeyColor=FFFFFFFF | |
80 | +BlackKeyColor=FFFFFFFF | |
81 | +ActiveKeyColorType=STANDARD | |
82 | +ActiveKeyColor=FF0000FF | |
83 | +ActiveKeyColorDuration=400 | |
84 | +ActiveKeyColorTailRate=0.5 | |
85 | +KeyDispRangeStart=0 | |
86 | +KeyDispRangeEnd=127 | |
87 | + | |
88 | +#[Mesh] | |
89 | +#XFile=mesh\model.x | |
90 | +#PositionX=0.0 | |
91 | +#PositionY=0.0 | |
92 | +#PositionZ=0.0 | |
93 | + |
@@ -0,0 +1,93 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=10.0 | |
3 | +VelocityLR=10.0 | |
4 | +VelocityUD=5.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.1 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.5 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272FF | |
25 | +Ch-02-NoteRGBA=81EF72FF | |
26 | +Ch-03-NoteRGBA=7291EFFF | |
27 | +Ch-04-NoteRGBA=EFA272FF | |
28 | +Ch-05-NoteRGBA=72EF91FF | |
29 | +Ch-06-NoteRGBA=8372EFFF | |
30 | +Ch-07-NoteRGBA=EFD072FF | |
31 | +Ch-08-NoteRGBA=72EFC1FF | |
32 | +Ch-09-NoteRGBA=B072EFFF | |
33 | +Ch-10-NoteRGBA=DEEF72FF | |
34 | +Ch-11-NoteRGBA=72EFEFFF | |
35 | +Ch-12-NoteRGBA=E072EFFF | |
36 | +Ch-13-NoteRGBA=B0EF72FF | |
37 | +Ch-14-NoteRGBA=72BFEFFF | |
38 | +Ch-15-NoteRGBA=EF72D0FF | |
39 | +Ch-16-NoteRGBA=EF72A0FF | |
40 | +Scale-01-NoteRGBA=D50000FF | |
41 | +Scale-02-NoteRGBA=480BFFFF | |
42 | +Scale-03-NoteRGBA=FFFF40FF | |
43 | +Scale-04-NoteRGBA=9F009FFF | |
44 | +Scale-05-NoteRGBA=AAFFD5FF | |
45 | +Scale-06-NoteRGBA=9F001CFF | |
46 | +Scale-07-NoteRGBA=409FFFFF | |
47 | +Scale-08-NoteRGBA=FFAF0BFF | |
48 | +Scale-09-NoteRGBA=9F00D5FF | |
49 | +Scale-10-NoteRGBA=75FF75FF | |
50 | +Scale-11-NoteRGBA=6A0035FF | |
51 | +Scale-12-NoteRGBA=75E7FFFF | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=AAAAAAFF | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +Duration=1600 | |
64 | + | |
65 | +[Stars] | |
66 | +NumberOfStars=2000 | |
67 | + | |
68 | +[Bitmap] | |
69 | +Board=data\Board.png | |
70 | +Ripple=data\Ripple.png | |
71 | +Keyboard=data\Keyboard.png | |
72 | + | |
73 | +[PianoKeyboard] | |
74 | +KeyDownDuration=40 | |
75 | +KeyUpDuration=40 | |
76 | +KeyboardStepY=0 | |
77 | +KeyboardStepZ=0.001 | |
78 | +KeyboardMaxDispNum=1 | |
79 | +WhiteKeyColor=FFFFFFFF | |
80 | +BlackKeyColor=FFFFFFFF | |
81 | +ActiveKeyColorType=NOTE | |
82 | +ActiveKeyColor=FF0000FF | |
83 | +ActiveKeyColorDuration=400 | |
84 | +ActiveKeyColorTailRate=0.3 | |
85 | +KeyDispRangeStart=0 | |
86 | +KeyDispRangeEnd=127 | |
87 | + | |
88 | +#[Mesh] | |
89 | +#XFile=mesh\model.x | |
90 | +#PositionX=0.0 | |
91 | +#PositionY=0.0 | |
92 | +#PositionZ=0.0 | |
93 | + |
@@ -0,0 +1,93 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=10.0 | |
3 | +VelocityLR=10.0 | |
4 | +VelocityUD=5.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.1 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.5 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272FF | |
25 | +Ch-02-NoteRGBA=81EF72FF | |
26 | +Ch-03-NoteRGBA=7291EFFF | |
27 | +Ch-04-NoteRGBA=EFA272FF | |
28 | +Ch-05-NoteRGBA=72EF91FF | |
29 | +Ch-06-NoteRGBA=8372EFFF | |
30 | +Ch-07-NoteRGBA=EFD072FF | |
31 | +Ch-08-NoteRGBA=72EFC1FF | |
32 | +Ch-09-NoteRGBA=B072EFFF | |
33 | +Ch-10-NoteRGBA=DEEF72FF | |
34 | +Ch-11-NoteRGBA=72EFEFFF | |
35 | +Ch-12-NoteRGBA=E072EFFF | |
36 | +Ch-13-NoteRGBA=B0EF72FF | |
37 | +Ch-14-NoteRGBA=72BFEFFF | |
38 | +Ch-15-NoteRGBA=EF72D0FF | |
39 | +Ch-16-NoteRGBA=EF72A0FF | |
40 | +Scale-01-NoteRGBA=D50000FF | |
41 | +Scale-02-NoteRGBA=480BFFFF | |
42 | +Scale-03-NoteRGBA=FFFF40FF | |
43 | +Scale-04-NoteRGBA=9F009FFF | |
44 | +Scale-05-NoteRGBA=AAFFD5FF | |
45 | +Scale-06-NoteRGBA=9F001CFF | |
46 | +Scale-07-NoteRGBA=409FFFFF | |
47 | +Scale-08-NoteRGBA=FFAF0BFF | |
48 | +Scale-09-NoteRGBA=9F00D5FF | |
49 | +Scale-10-NoteRGBA=75FF75FF | |
50 | +Scale-11-NoteRGBA=6A0035FF | |
51 | +Scale-12-NoteRGBA=75E7FFFF | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=AAAAAAFF | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +Duration=1600 | |
64 | + | |
65 | +[Stars] | |
66 | +NumberOfStars=2000 | |
67 | + | |
68 | +[Bitmap] | |
69 | +Board=data\Board.png | |
70 | +Ripple=data\Ripple.png | |
71 | +Keyboard=data\Keyboard.png | |
72 | + | |
73 | +[PianoKeyboard] | |
74 | +KeyDownDuration=40 | |
75 | +KeyUpDuration=40 | |
76 | +KeyboardStepY=0 | |
77 | +KeyboardStepZ=0.001 | |
78 | +KeyboardMaxDispNum=1 | |
79 | +WhiteKeyColor=FFFFFFFF | |
80 | +BlackKeyColor=FFFFFFFF | |
81 | +ActiveKeyColorType=NOTE | |
82 | +ActiveKeyColor=FF0000FF | |
83 | +ActiveKeyColorDuration=400 | |
84 | +ActiveKeyColorTailRate=0.3 | |
85 | +KeyDispRangeStart=0 | |
86 | +KeyDispRangeEnd=127 | |
87 | + | |
88 | +#[Mesh] | |
89 | +#XFile=mesh\model.x | |
90 | +#PositionX=0.0 | |
91 | +#PositionY=0.0 | |
92 | +#PositionZ=0.0 | |
93 | + |
@@ -0,0 +1,93 @@ | ||
1 | +[FirstPersonCam] | |
2 | +VelocityFB=10.0 | |
3 | +VelocityLR=10.0 | |
4 | +VelocityUD=5.0 | |
5 | +VelocityPT=6.0 | |
6 | +AcceleRate=2.0 | |
7 | +VelocityAutoRoll=6.0 | |
8 | +VelocityManualRoll=1.0 | |
9 | + | |
10 | +[Scale] | |
11 | +QuarterNoteLength=1.0 | |
12 | +NoteBoxHeight=0.1 | |
13 | +NoteBoxWidth=0.1 | |
14 | +NoteStep=0.1 | |
15 | +ChStep=0.5 | |
16 | +RippleHeight=1.0 | |
17 | +RippleWidth=1.0 | |
18 | +PictBoardRelativePos=1.0 | |
19 | +LiveNoteLengthPerSecond=2.0 | |
20 | +LiveMonitorDisplayDuration=30000 | |
21 | + | |
22 | +[Color] | |
23 | +NoteColorType=CHANNEL | |
24 | +Ch-01-NoteRGBA=EF7272FF | |
25 | +Ch-02-NoteRGBA=81EF72FF | |
26 | +Ch-03-NoteRGBA=7291EFFF | |
27 | +Ch-04-NoteRGBA=EFA272FF | |
28 | +Ch-05-NoteRGBA=72EF91FF | |
29 | +Ch-06-NoteRGBA=8372EFFF | |
30 | +Ch-07-NoteRGBA=EFD072FF | |
31 | +Ch-08-NoteRGBA=72EFC1FF | |
32 | +Ch-09-NoteRGBA=B072EFFF | |
33 | +Ch-10-NoteRGBA=DEEF72FF | |
34 | +Ch-11-NoteRGBA=72EFEFFF | |
35 | +Ch-12-NoteRGBA=E072EFFF | |
36 | +Ch-13-NoteRGBA=B0EF72FF | |
37 | +Ch-14-NoteRGBA=72BFEFFF | |
38 | +Ch-15-NoteRGBA=EF72D0FF | |
39 | +Ch-16-NoteRGBA=EF72A0FF | |
40 | +Scale-01-NoteRGBA=D50000FF | |
41 | +Scale-02-NoteRGBA=480BFFFF | |
42 | +Scale-03-NoteRGBA=FFFF40FF | |
43 | +Scale-04-NoteRGBA=9F009FFF | |
44 | +Scale-05-NoteRGBA=AAFFD5FF | |
45 | +Scale-06-NoteRGBA=9F001CFF | |
46 | +Scale-07-NoteRGBA=409FFFFF | |
47 | +Scale-08-NoteRGBA=FFAF0BFF | |
48 | +Scale-09-NoteRGBA=9F00D5FF | |
49 | +Scale-10-NoteRGBA=75FF75FF | |
50 | +Scale-11-NoteRGBA=6A0035FF | |
51 | +Scale-12-NoteRGBA=75E7FFFF | |
52 | +GridLineRGBA=444444FF | |
53 | +PlaybackSectionRGBA=AAAAFF4E | |
54 | +CaptionRGBA=AAAAAAFF | |
55 | +BackGroundRGB=000000 | |
56 | + | |
57 | +[ActiveNote] | |
58 | +Duration=400 | |
59 | +WhiteRate=0.9 | |
60 | +EmissiveRGBA=1A1A1A1A | |
61 | + | |
62 | +[Ripple] | |
63 | +Duration=1600 | |
64 | + | |
65 | +[Stars] | |
66 | +NumberOfStars=2000 | |
67 | + | |
68 | +[Bitmap] | |
69 | +Board=data\Board.png | |
70 | +Ripple=data\Ripple.png | |
71 | +Keyboard=data\Keyboard.png | |
72 | + | |
73 | +[PianoKeyboard] | |
74 | +KeyDownDuration=40 | |
75 | +KeyUpDuration=40 | |
76 | +KeyboardStepY=0.34 | |
77 | +KeyboardStepZ=1.5 | |
78 | +KeyboardMaxDispNum=16 | |
79 | +WhiteKeyColor=FFFFFFFF | |
80 | +BlackKeyColor=FFFFFFFF | |
81 | +ActiveKeyColorType=STANDARD | |
82 | +ActiveKeyColor=FF0000FF | |
83 | +ActiveKeyColorDuration=400 | |
84 | +ActiveKeyColorTailRate=0.5 | |
85 | +KeyDispRangeStart=0 | |
86 | +KeyDispRangeEnd=127 | |
87 | + | |
88 | +#[Mesh] | |
89 | +#XFile=mesh\model.x | |
90 | +#PositionX=0.0 | |
91 | +#PositionY=0.0 | |
92 | +#PositionZ=0.0 | |
93 | + |
@@ -0,0 +1,16 @@ | ||
1 | +[PlayerControl] | |
2 | +AllowMultipleInstances=0 | |
3 | +AutoPlaybackAfterOpenFile=0 | |
4 | + | |
5 | +[ViewControl] | |
6 | +ShowFileName=0 | |
7 | + | |
8 | +[SkipControl] | |
9 | +SkipBackTimeSpanInMsec=10000 | |
10 | +SkipForwardTimeSpanInMsec=10000 | |
11 | +MovingTimeSpanInMsec=400 | |
12 | + | |
13 | +[PlaybackSpeedControl] | |
14 | +SpeedStepInPercent=1 | |
15 | +MaxSpeedInPercent=400 | |
16 | + |