OSDN Git Service

リポジトリの中間ファイルをすべて削除し、再構築。
[dtxmania/dtxmania.git] / DTXManiaプロジェクト / コード / ステージ / CActDFPFont.cs
1 using System;\r
2 using System.Collections.Generic;\r
3 using System.Text;\r
4 using System.Runtime.InteropServices;\r
5 using System.Drawing;\r
6 using SlimDX;\r
7 using FDK;\r
8 \r
9 namespace DTXMania\r
10 {\r
11         internal class CActDFPFont : CActivity\r
12         {\r
13                 // コンストラクタ\r
14 \r
15                 public CActDFPFont()\r
16                 {\r
17                         ST文字領域[] st文字領域Array = new ST文字領域[ 0x5d ];\r
18                         ST文字領域 st文字領域94 = new ST文字領域();\r
19                         ST文字領域 st文字領域 = st文字領域94;\r
20                         st文字領域.ch = ' ';\r
21                         st文字領域.rc = new Rectangle( 10, 3, 13, 0x1b );\r
22                         st文字領域Array[ 0 ] = st文字領域;\r
23                         st文字領域94 = new ST文字領域();\r
24                         ST文字領域 st文字領域2 = st文字領域94;\r
25                         st文字領域2.ch = '!';\r
26                         st文字領域2.rc = new Rectangle( 0x19, 3, 14, 0x1b );\r
27                         st文字領域Array[ 1 ] = st文字領域2;\r
28                         st文字領域94 = new ST文字領域();\r
29                         ST文字領域 st文字領域3 = st文字領域94;\r
30                         st文字領域3.ch = '"';\r
31                         st文字領域3.rc = new Rectangle( 0x2c, 3, 0x11, 0x1b );\r
32                         st文字領域Array[ 2 ] = st文字領域3;\r
33                         st文字領域94 = new ST文字領域();\r
34                         ST文字領域 st文字領域4 = st文字領域94;\r
35                         st文字領域4.ch = '#';\r
36                         st文字領域4.rc = new Rectangle( 0x40, 3, 0x18, 0x1b );\r
37                         st文字領域Array[ 3 ] = st文字領域4;\r
38                         st文字領域94 = new ST文字領域();\r
39                         ST文字領域 st文字領域5 = st文字領域94;\r
40                         st文字領域5.ch = '$';\r
41                         st文字領域5.rc = new Rectangle( 90, 3, 0x15, 0x1b );\r
42                         st文字領域Array[ 4 ] = st文字領域5;\r
43                         st文字領域94 = new ST文字領域();\r
44                         ST文字領域 st文字領域6 = st文字領域94;\r
45                         st文字領域6.ch = '%';\r
46                         st文字領域6.rc = new Rectangle( 0x71, 3, 0x1b, 0x1b );\r
47                         st文字領域Array[ 5 ] = st文字領域6;\r
48                         st文字領域94 = new ST文字領域();\r
49                         ST文字領域 st文字領域7 = st文字領域94;\r
50                         st文字領域7.ch = '&';\r
51                         st文字領域7.rc = new Rectangle( 0x8e, 3, 0x18, 0x1b );\r
52                         st文字領域Array[ 6 ] = st文字領域7;\r
53                         st文字領域94 = new ST文字領域();\r
54                         ST文字領域 st文字領域8 = st文字領域94;\r
55                         st文字領域8.ch = '\'';\r
56                         st文字領域8.rc = new Rectangle( 0xab, 3, 11, 0x1b );\r
57                         st文字領域Array[ 7 ] = st文字領域8;\r
58                         st文字領域94 = new ST文字領域();\r
59                         ST文字領域 st文字領域9 = st文字領域94;\r
60                         st文字領域9.ch = '(';\r
61                         st文字領域9.rc = new Rectangle( 0xc0, 3, 0x10, 0x1b );\r
62                         st文字領域Array[ 8 ] = st文字領域9;\r
63                         st文字領域94 = new ST文字領域();\r
64                         ST文字領域 st文字領域10 = st文字領域94;\r
65                         st文字領域10.ch = ')';\r
66                         st文字領域10.rc = new Rectangle( 0xd0, 3, 0x10, 0x1b );\r
67                         st文字領域Array[ 9 ] = st文字領域10;\r
68                         st文字領域94 = new ST文字領域();\r
69                         ST文字領域 st文字領域11 = st文字領域94;\r
70                         st文字領域11.ch = '*';\r
71                         st文字領域11.rc = new Rectangle( 0xe2, 3, 0x15, 0x1b );\r
72                         st文字領域Array[ 10 ] = st文字領域11;\r
73                         st文字領域94 = new ST文字領域();\r
74                         ST文字領域 st文字領域12 = st文字領域94;\r
75                         st文字領域12.ch = '+';\r
76                         st文字領域12.rc = new Rectangle( 2, 0x1f, 0x18, 0x1b );\r
77                         st文字領域Array[ 11 ] = st文字領域12;\r
78                         st文字領域94 = new ST文字領域();\r
79                         ST文字領域 st文字領域13 = st文字領域94;\r
80                         st文字領域13.ch = ',';\r
81                         st文字領域13.rc = new Rectangle( 0x1b, 0x1f, 11, 0x1b );\r
82                         st文字領域Array[ 12 ] = st文字領域13;\r
83                         st文字領域94 = new ST文字領域();\r
84                         ST文字領域 st文字領域14 = st文字領域94;\r
85                         st文字領域14.ch = '-';\r
86                         st文字領域14.rc = new Rectangle( 0x29, 0x1f, 13, 0x1b );\r
87                         st文字領域Array[ 13 ] = st文字領域14;\r
88                         st文字領域94 = new ST文字領域();\r
89                         ST文字領域 st文字領域15 = st文字領域94;\r
90                         st文字領域15.ch = '.';\r
91                         st文字領域15.rc = new Rectangle( 0x37, 0x1f, 11, 0x1b );\r
92                         st文字領域Array[ 14 ] = st文字領域15;\r
93                         st文字領域94 = new ST文字領域();\r
94                         ST文字領域 st文字領域16 = st文字領域94;\r
95                         st文字領域16.ch = '/';\r
96                         st文字領域16.rc = new Rectangle( 0x44, 0x1f, 0x15, 0x1b );\r
97                         st文字領域Array[ 15 ] = st文字領域16;\r
98                         st文字領域94 = new ST文字領域();\r
99                         ST文字領域 st文字領域17 = st文字領域94;\r
100                         st文字領域17.ch = '0';\r
101                         st文字領域17.rc = new Rectangle( 0x5b, 0x1f, 20, 0x1b );\r
102                         st文字領域Array[ 0x10 ] = st文字領域17;\r
103                         st文字領域94 = new ST文字領域();\r
104                         ST文字領域 st文字領域18 = st文字領域94;\r
105                         st文字領域18.ch = '1';\r
106                         st文字領域18.rc = new Rectangle( 0x75, 0x1f, 14, 0x1b );\r
107                         st文字領域Array[ 0x11 ] = st文字領域18;\r
108                         st文字領域94 = new ST文字領域();\r
109                         ST文字領域 st文字領域19 = st文字領域94;\r
110                         st文字領域19.ch = '2';\r
111                         st文字領域19.rc = new Rectangle( 0x86, 0x1f, 0x15, 0x1b );\r
112                         st文字領域Array[ 0x12 ] = st文字領域19;\r
113                         st文字領域94 = new ST文字領域();\r
114                         ST文字領域 st文字領域20 = st文字領域94;\r
115                         st文字領域20.ch = '3';\r
116                         st文字領域20.rc = new Rectangle( 0x9d, 0x1f, 20, 0x1b );\r
117                         st文字領域Array[ 0x13 ] = st文字領域20;\r
118                         st文字領域94 = new ST文字領域();\r
119                         ST文字領域 st文字領域21 = st文字領域94;\r
120                         st文字領域21.ch = '4';\r
121                         st文字領域21.rc = new Rectangle( 0xb3, 0x1f, 20, 0x1b );\r
122                         st文字領域Array[ 20 ] = st文字領域21;\r
123                         st文字領域94 = new ST文字領域();\r
124                         ST文字領域 st文字領域22 = st文字領域94;\r
125                         st文字領域22.ch = '5';\r
126                         st文字領域22.rc = new Rectangle( 0xca, 0x1f, 0x13, 0x1b );\r
127                         st文字領域Array[ 0x15 ] = st文字領域22;\r
128                         st文字領域94 = new ST文字領域();\r
129                         ST文字領域 st文字領域23 = st文字領域94;\r
130                         st文字領域23.ch = '6';\r
131                         st文字領域23.rc = new Rectangle( 0xe0, 0x1f, 20, 0x1b );\r
132                         st文字領域Array[ 0x16 ] = st文字領域23;\r
133                         st文字領域94 = new ST文字領域();\r
134                         ST文字領域 st文字領域24 = st文字領域94;\r
135                         st文字領域24.ch = '7';\r
136                         st文字領域24.rc = new Rectangle( 4, 0x3b, 0x13, 0x1b );\r
137                         st文字領域Array[ 0x17 ] = st文字領域24;\r
138                         st文字領域94 = new ST文字領域();\r
139                         ST文字領域 st文字領域25 = st文字領域94;\r
140                         st文字領域25.ch = '8';\r
141                         st文字領域25.rc = new Rectangle( 0x18, 0x3b, 20, 0x1b );\r
142                         st文字領域Array[ 0x18 ] = st文字領域25;\r
143                         st文字領域94 = new ST文字領域();\r
144                         ST文字領域 st文字領域26 = st文字領域94;\r
145                         st文字領域26.ch = '9';\r
146                         st文字領域26.rc = new Rectangle( 0x2f, 0x3b, 0x13, 0x1b );\r
147                         st文字領域Array[ 0x19 ] = st文字領域26;\r
148                         st文字領域94 = new ST文字領域();\r
149                         ST文字領域 st文字領域27 = st文字領域94;\r
150                         st文字領域27.ch = ':';\r
151                         st文字領域27.rc = new Rectangle( 0x44, 0x3b, 12, 0x1b );\r
152                         st文字領域Array[ 0x1a ] = st文字領域27;\r
153                         st文字領域94 = new ST文字領域();\r
154                         ST文字領域 st文字領域28 = st文字領域94;\r
155                         st文字領域28.ch = ';';\r
156                         st文字領域28.rc = new Rectangle( 0x51, 0x3b, 13, 0x1b );\r
157                         st文字領域Array[ 0x1b ] = st文字領域28;\r
158                         st文字領域94 = new ST文字領域();\r
159                         ST文字領域 st文字領域29 = st文字領域94;\r
160                         st文字領域29.ch = '<';\r
161                         st文字領域29.rc = new Rectangle( 0x60, 0x3b, 20, 0x1b );\r
162                         st文字領域Array[ 0x1c ] = st文字領域29;\r
163                         st文字領域94 = new ST文字領域();\r
164                         ST文字領域 st文字領域30 = st文字領域94;\r
165                         st文字領域30.ch = '=';\r
166                         st文字領域30.rc = new Rectangle( 0x74, 0x3b, 0x11, 0x1b );\r
167                         st文字領域Array[ 0x1d ] = st文字領域30;\r
168                         st文字領域94 = new ST文字領域();\r
169                         ST文字領域 st文字領域31 = st文字領域94;\r
170                         st文字領域31.ch = '>';\r
171                         st文字領域31.rc = new Rectangle( 0x85, 0x3b, 20, 0x1b );\r
172                         st文字領域Array[ 30 ] = st文字領域31;\r
173                         st文字領域94 = new ST文字領域();\r
174                         ST文字領域 st文字領域32 = st文字領域94;\r
175                         st文字領域32.ch = '?';\r
176                         st文字領域32.rc = new Rectangle( 0x9c, 0x3b, 20, 0x1b );\r
177                         st文字領域Array[ 0x1f ] = st文字領域32;\r
178                         st文字領域94 = new ST文字領域();\r
179                         ST文字領域 st文字領域33 = st文字領域94;\r
180                         st文字領域33.ch = 'A';\r
181                         st文字領域33.rc = new Rectangle( 0xb1, 0x3b, 0x17, 0x1b );\r
182                         st文字領域Array[ 0x20 ] = st文字領域33;\r
183                         st文字領域94 = new ST文字領域();\r
184                         ST文字領域 st文字領域34 = st文字領域94;\r
185                         st文字領域34.ch = 'B';\r
186                         st文字領域34.rc = new Rectangle( 0xcb, 0x3b, 0x15, 0x1b );\r
187                         st文字領域Array[ 0x21 ] = st文字領域34;\r
188                         st文字領域94 = new ST文字領域();\r
189                         ST文字領域 st文字領域35 = st文字領域94;\r
190                         st文字領域35.ch = 'C';\r
191                         st文字領域35.rc = new Rectangle( 0xe3, 0x3b, 0x16, 0x1b );\r
192                         st文字領域Array[ 0x22 ] = st文字領域35;\r
193                         st文字領域94 = new ST文字領域();\r
194                         ST文字領域 st文字領域36 = st文字領域94;\r
195                         st文字領域36.ch = 'D';\r
196                         st文字領域36.rc = new Rectangle( 2, 0x57, 0x16, 0x1b );\r
197                         st文字領域Array[ 0x23 ] = st文字領域36;\r
198                         st文字領域94 = new ST文字領域();\r
199                         ST文字領域 st文字領域37 = st文字領域94;\r
200                         st文字領域37.ch = 'E';\r
201                         st文字領域37.rc = new Rectangle( 0x1a, 0x57, 0x16, 0x1b );\r
202                         st文字領域Array[ 0x24 ] = st文字領域37;\r
203                         st文字領域94 = new ST文字領域();\r
204                         ST文字領域 st文字領域38 = st文字領域94;\r
205                         st文字領域38.ch = 'F';\r
206                         st文字領域38.rc = new Rectangle( 0x30, 0x57, 0x16, 0x1b );\r
207                         st文字領域Array[ 0x25 ] = st文字領域38;\r
208                         st文字領域94 = new ST文字領域();\r
209                         ST文字領域 st文字領域39 = st文字領域94;\r
210                         st文字領域39.ch = 'G';\r
211                         st文字領域39.rc = new Rectangle( 0x48, 0x57, 0x16, 0x1b );\r
212                         st文字領域Array[ 0x26 ] = st文字領域39;\r
213                         st文字領域94 = new ST文字領域();\r
214                         ST文字領域 st文字領域40 = st文字領域94;\r
215                         st文字領域40.ch = 'H';\r
216                         st文字領域40.rc = new Rectangle( 0x61, 0x57, 0x18, 0x1b );\r
217                         st文字領域Array[ 0x27 ] = st文字領域40;\r
218                         st文字領域94 = new ST文字領域();\r
219                         ST文字領域 st文字領域41 = st文字領域94;\r
220                         st文字領域41.ch = 'I';\r
221                         st文字領域41.rc = new Rectangle( 0x7a, 0x57, 13, 0x1b );\r
222                         st文字領域Array[ 40 ] = st文字領域41;\r
223                         st文字領域94 = new ST文字領域();\r
224                         ST文字領域 st文字領域42 = st文字領域94;\r
225                         st文字領域42.ch = 'J';\r
226                         st文字領域42.rc = new Rectangle( 0x88, 0x57, 20, 0x1b );\r
227                         st文字領域Array[ 0x29 ] = st文字領域42;\r
228                         st文字領域94 = new ST文字領域();\r
229                         ST文字領域 st文字領域43 = st文字領域94;\r
230                         st文字領域43.ch = 'K';\r
231                         st文字領域43.rc = new Rectangle( 0x9d, 0x57, 0x18, 0x1b );\r
232                         st文字領域Array[ 0x2a ] = st文字領域43;\r
233                         st文字領域94 = new ST文字領域();\r
234                         ST文字領域 st文字領域44 = st文字領域94;\r
235                         st文字領域44.ch = 'L';\r
236                         st文字領域44.rc = new Rectangle( 0xb7, 0x57, 20, 0x1b );\r
237                         st文字領域Array[ 0x2b ] = st文字領域44;\r
238                         st文字領域94 = new ST文字領域();\r
239                         ST文字領域 st文字領域45 = st文字領域94;\r
240                         st文字領域45.ch = 'M';\r
241                         st文字領域45.rc = new Rectangle( 0xce, 0x57, 0x1a, 0x1b );\r
242                         st文字領域Array[ 0x2c ] = st文字領域45;\r
243                         st文字領域94 = new ST文字領域();\r
244                         ST文字領域 st文字領域46 = st文字領域94;\r
245                         st文字領域46.ch = 'N';\r
246                         st文字領域46.rc = new Rectangle( 0xe9, 0x57, 0x17, 0x1b );\r
247                         st文字領域Array[ 0x2d ] = st文字領域46;\r
248                         st文字領域94 = new ST文字領域();\r
249                         ST文字領域 st文字領域47 = st文字領域94;\r
250                         st文字領域47.ch = 'O';\r
251                         st文字領域47.rc = new Rectangle( 2, 0x73, 0x18, 0x1b );\r
252                         st文字領域Array[ 0x2e ] = st文字領域47;\r
253                         st文字領域94 = new ST文字領域();\r
254                         ST文字領域 st文字領域48 = st文字領域94;\r
255                         st文字領域48.ch = 'P';\r
256                         st文字領域48.rc = new Rectangle( 0x1c, 0x73, 0x15, 0x1b );\r
257                         st文字領域Array[ 0x2f ] = st文字領域48;\r
258                         st文字領域94 = new ST文字領域();\r
259                         ST文字領域 st文字領域49 = st文字領域94;\r
260                         st文字領域49.ch = 'Q';\r
261                         st文字領域49.rc = new Rectangle( 0x33, 0x73, 0x17, 0x1b );\r
262                         st文字領域Array[ 0x30 ] = st文字領域49;\r
263                         st文字領域94 = new ST文字領域();\r
264                         ST文字領域 st文字領域50 = st文字領域94;\r
265                         st文字領域50.ch = 'R';\r
266                         st文字領域50.rc = new Rectangle( 0x4c, 0x73, 0x16, 0x1b );\r
267                         st文字領域Array[ 0x31 ] = st文字領域50;\r
268                         st文字領域94 = new ST文字領域();\r
269                         ST文字領域 st文字領域51 = st文字領域94;\r
270                         st文字領域51.ch = 'S';\r
271                         st文字領域51.rc = new Rectangle( 100, 0x73, 0x15, 0x1b );\r
272                         st文字領域Array[ 50 ] = st文字領域51;\r
273                         st文字領域94 = new ST文字領域();\r
274                         ST文字領域 st文字領域52 = st文字領域94;\r
275                         st文字領域52.ch = 'T';\r
276                         st文字領域52.rc = new Rectangle( 0x7c, 0x73, 0x16, 0x1b );\r
277                         st文字領域Array[ 0x33 ] = st文字領域52;\r
278                         st文字領域94 = new ST文字領域();\r
279                         ST文字領域 st文字領域53 = st文字領域94;\r
280                         st文字領域53.ch = 'U';\r
281                         st文字領域53.rc = new Rectangle( 0x93, 0x73, 0x16, 0x1b );\r
282                         st文字領域Array[ 0x34 ] = st文字領域53;\r
283                         st文字領域94 = new ST文字領域();\r
284                         ST文字領域 st文字領域54 = st文字領域94;\r
285                         st文字領域54.ch = 'V';\r
286                         st文字領域54.rc = new Rectangle( 0xad, 0x73, 0x16, 0x1b );\r
287                         st文字領域Array[ 0x35 ] = st文字領域54;\r
288                         st文字領域94 = new ST文字領域();\r
289                         ST文字領域 st文字領域55 = st文字領域94;\r
290                         st文字領域55.ch = 'W';\r
291                         st文字領域55.rc = new Rectangle( 0xc5, 0x73, 0x1a, 0x1b );\r
292                         st文字領域Array[ 0x36 ] = st文字領域55;\r
293                         st文字領域94 = new ST文字領域();\r
294                         ST文字領域 st文字領域56 = st文字領域94;\r
295                         st文字領域56.ch = 'X';\r
296                         st文字領域56.rc = new Rectangle( 0xe0, 0x73, 0x1a, 0x1b );\r
297                         st文字領域Array[ 0x37 ] = st文字領域56;\r
298                         st文字領域94 = new ST文字領域();\r
299                         ST文字領域 st文字領域57 = st文字領域94;\r
300                         st文字領域57.ch = 'Y';\r
301                         st文字領域57.rc = new Rectangle( 4, 0x8f, 0x17, 0x1b );\r
302                         st文字領域Array[ 0x38 ] = st文字領域57;\r
303                         st文字領域94 = new ST文字領域();\r
304                         ST文字領域 st文字領域58 = st文字領域94;\r
305                         st文字領域58.ch = 'Z';\r
306                         st文字領域58.rc = new Rectangle( 0x1b, 0x8f, 0x16, 0x1b );\r
307                         st文字領域Array[ 0x39 ] = st文字領域58;\r
308                         st文字領域94 = new ST文字領域();\r
309                         ST文字領域 st文字領域59 = st文字領域94;\r
310                         st文字領域59.ch = '[';\r
311                         st文字領域59.rc = new Rectangle( 0x31, 0x8f, 0x11, 0x1b );\r
312                         st文字領域Array[ 0x3a ] = st文字領域59;\r
313                         st文字領域94 = new ST文字領域();\r
314                         ST文字領域 st文字領域60 = st文字領域94;\r
315                         st文字領域60.ch = '\\';\r
316                         st文字領域60.rc = new Rectangle( 0x42, 0x8f, 0x19, 0x1b );\r
317                         st文字領域Array[ 0x3b ] = st文字領域60;\r
318                         st文字領域94 = new ST文字領域();\r
319                         ST文字領域 st文字領域61 = st文字領域94;\r
320                         st文字領域61.ch = ']';\r
321                         st文字領域61.rc = new Rectangle( 0x5c, 0x8f, 0x11, 0x1b );\r
322                         st文字領域Array[ 60 ] = st文字領域61;\r
323                         st文字領域94 = new ST文字領域();\r
324                         ST文字領域 st文字領域62 = st文字領域94;\r
325                         st文字領域62.ch = '^';\r
326                         st文字領域62.rc = new Rectangle( 0x71, 0x8f, 0x10, 0x1b );\r
327                         st文字領域Array[ 0x3d ] = st文字領域62;\r
328                         st文字領域94 = new ST文字領域();\r
329                         ST文字領域 st文字領域63 = st文字領域94;\r
330                         st文字領域63.ch = '_';\r
331                         st文字領域63.rc = new Rectangle( 0x81, 0x8f, 0x13, 0x1b );\r
332                         st文字領域Array[ 0x3e ] = st文字領域63;\r
333                         st文字領域94 = new ST文字領域();\r
334                         ST文字領域 st文字領域64 = st文字領域94;\r
335                         st文字領域64.ch = 'a';\r
336                         st文字領域64.rc = new Rectangle( 150, 0x8f, 0x13, 0x1b );\r
337                         st文字領域Array[ 0x3f ] = st文字領域64;\r
338                         st文字領域94 = new ST文字領域();\r
339                         ST文字領域 st文字領域65 = st文字領域94;\r
340                         st文字領域65.ch = 'b';\r
341                         st文字領域65.rc = new Rectangle( 0xac, 0x8f, 20, 0x1b );\r
342                         st文字領域Array[ 0x40 ] = st文字領域65;\r
343                         st文字領域94 = new ST文字領域();\r
344                         ST文字領域 st文字領域66 = st文字領域94;\r
345                         st文字領域66.ch = 'c';\r
346                         st文字領域66.rc = new Rectangle( 0xc3, 0x8f, 0x12, 0x1b );\r
347                         st文字領域Array[ 0x41 ] = st文字領域66;\r
348                         st文字領域94 = new ST文字領域();\r
349                         ST文字領域 st文字領域67 = st文字領域94;\r
350                         st文字領域67.ch = 'd';\r
351                         st文字領域67.rc = new Rectangle( 0xd8, 0x8f, 0x15, 0x1b );\r
352                         st文字領域Array[ 0x42 ] = st文字領域67;\r
353                         st文字領域94 = new ST文字領域();\r
354                         ST文字領域 st文字領域68 = st文字領域94;\r
355                         st文字領域68.ch = 'e';\r
356                         st文字領域68.rc = new Rectangle( 2, 0xab, 0x13, 0x1b );\r
357                         st文字領域Array[ 0x43 ] = st文字領域68;\r
358                         st文字領域94 = new ST文字領域();\r
359                         ST文字領域 st文字領域69 = st文字領域94;\r
360                         st文字領域69.ch = 'f';\r
361                         st文字領域69.rc = new Rectangle( 0x17, 0xab, 0x11, 0x1b );\r
362                         st文字領域Array[ 0x44 ] = st文字領域69;\r
363                         st文字領域94 = new ST文字領域();\r
364                         ST文字領域 st文字領域70 = st文字領域94;\r
365                         st文字領域70.ch = 'g';\r
366                         st文字領域70.rc = new Rectangle( 40, 0xab, 0x15, 0x1b );\r
367                         st文字領域Array[ 0x45 ] = st文字領域70;\r
368                         st文字領域94 = new ST文字領域();\r
369                         ST文字領域 st文字領域71 = st文字領域94;\r
370                         st文字領域71.ch = 'h';\r
371                         st文字領域71.rc = new Rectangle( 0x3f, 0xab, 20, 0x1b );\r
372                         st文字領域Array[ 70 ] = st文字領域71;\r
373                         st文字領域94 = new ST文字領域();\r
374                         ST文字領域 st文字領域72 = st文字領域94;\r
375                         st文字領域72.ch = 'i';\r
376                         st文字領域72.rc = new Rectangle( 0x55, 0xab, 13, 0x1b );\r
377                         st文字領域Array[ 0x47 ] = st文字領域72;\r
378                         st文字領域94 = new ST文字領域();\r
379                         ST文字領域 st文字領域73 = st文字領域94;\r
380                         st文字領域73.ch = 'j';\r
381                         st文字領域73.rc = new Rectangle( 0x62, 0xab, 0x10, 0x1b );\r
382                         st文字領域Array[ 0x48 ] = st文字領域73;\r
383                         st文字領域94 = new ST文字領域();\r
384                         ST文字領域 st文字領域74 = st文字領域94;\r
385                         st文字領域74.ch = 'k';\r
386                         st文字領域74.rc = new Rectangle( 0x74, 0xab, 20, 0x1b );\r
387                         st文字領域Array[ 0x49 ] = st文字領域74;\r
388                         st文字領域94 = new ST文字領域();\r
389                         ST文字領域 st文字領域75 = st文字領域94;\r
390                         st文字領域75.ch = 'l';\r
391                         st文字領域75.rc = new Rectangle( 0x8a, 0xab, 13, 0x1b );\r
392                         st文字領域Array[ 0x4a ] = st文字領域75;\r
393                         st文字領域94 = new ST文字領域();\r
394                         ST文字領域 st文字領域76 = st文字領域94;\r
395                         st文字領域76.ch = 'm';\r
396                         st文字領域76.rc = new Rectangle( 0x98, 0xab, 0x1a, 0x1b );\r
397                         st文字領域Array[ 0x4b ] = st文字領域76;\r
398                         st文字領域94 = new ST文字領域();\r
399                         ST文字領域 st文字領域77 = st文字領域94;\r
400                         st文字領域77.ch = 'n';\r
401                         st文字領域77.rc = new Rectangle( 0xb5, 0xab, 20, 0x1b );\r
402                         st文字領域Array[ 0x4c ] = st文字領域77;\r
403                         st文字領域94 = new ST文字領域();\r
404                         ST文字領域 st文字領域78 = st文字領域94;\r
405                         st文字領域78.ch = 'o';\r
406                         st文字領域78.rc = new Rectangle( 0xcc, 0xab, 0x13, 0x1b );\r
407                         st文字領域Array[ 0x4d ] = st文字領域78;\r
408                         st文字領域94 = new ST文字領域();\r
409                         ST文字領域 st文字領域79 = st文字領域94;\r
410                         st文字領域79.ch = 'p';\r
411                         st文字領域79.rc = new Rectangle( 0xe1, 0xab, 0x15, 0x1b );\r
412                         st文字領域Array[ 0x4e ] = st文字領域79;\r
413                         st文字領域94 = new ST文字領域();\r
414                         ST文字領域 st文字領域80 = st文字領域94;\r
415                         st文字領域80.ch = 'q';\r
416                         st文字領域80.rc = new Rectangle( 2, 0xc7, 20, 0x1b );\r
417                         st文字領域Array[ 0x4f ] = st文字領域80;\r
418                         st文字領域94 = new ST文字領域();\r
419                         ST文字領域 st文字領域81 = st文字領域94;\r
420                         st文字領域81.ch = 'r';\r
421                         st文字領域81.rc = new Rectangle( 0x18, 0xc7, 0x12, 0x1b );\r
422                         st文字領域Array[ 80 ] = st文字領域81;\r
423                         st文字領域94 = new ST文字領域();\r
424                         ST文字領域 st文字領域82 = st文字領域94;\r
425                         st文字領域82.ch = 's';\r
426                         st文字領域82.rc = new Rectangle( 0x2a, 0xc7, 0x13, 0x1b );\r
427                         st文字領域Array[ 0x51 ] = st文字領域82;\r
428                         st文字領域94 = new ST文字領域();\r
429                         ST文字領域 st文字領域83 = st文字領域94;\r
430                         st文字領域83.ch = 't';\r
431                         st文字領域83.rc = new Rectangle( 0x3f, 0xc7, 0x10, 0x1b );\r
432                         st文字領域Array[ 0x52 ] = st文字領域83;\r
433                         st文字領域94 = new ST文字領域();\r
434                         ST文字領域 st文字領域84 = st文字領域94;\r
435                         st文字領域84.ch = 'u';\r
436                         st文字領域84.rc = new Rectangle( 80, 0xc7, 20, 0x1b );\r
437                         st文字領域Array[ 0x53 ] = st文字領域84;\r
438                         st文字領域94 = new ST文字領域();\r
439                         ST文字領域 st文字領域85 = st文字領域94;\r
440                         st文字領域85.ch = 'v';\r
441                         st文字領域85.rc = new Rectangle( 0x68, 0xc7, 20, 0x1b );\r
442                         st文字領域Array[ 0x54 ] = st文字領域85;\r
443                         st文字領域94 = new ST文字領域();\r
444                         ST文字領域 st文字領域86 = st文字領域94;\r
445                         st文字領域86.ch = 'w';\r
446                         st文字領域86.rc = new Rectangle( 0x7f, 0xc7, 0x1a, 0x1b );\r
447                         st文字領域Array[ 0x55 ] = st文字領域86;\r
448                         st文字領域94 = new ST文字領域();\r
449                         ST文字領域 st文字領域87 = st文字領域94;\r
450                         st文字領域87.ch = 'x';\r
451                         st文字領域87.rc = new Rectangle( 0x9a, 0xc7, 0x16, 0x1b );\r
452                         st文字領域Array[ 0x56 ] = st文字領域87;\r
453                         st文字領域94 = new ST文字領域();\r
454                         ST文字領域 st文字領域88 = st文字領域94;\r
455                         st文字領域88.ch = 'y';\r
456                         st文字領域88.rc = new Rectangle( 0xb1, 0xc7, 0x16, 0x1b );\r
457                         st文字領域Array[ 0x57 ] = st文字領域88;\r
458                         st文字領域94 = new ST文字領域();\r
459                         ST文字領域 st文字領域89 = st文字領域94;\r
460                         st文字領域89.ch = 'z';\r
461                         st文字領域89.rc = new Rectangle( 200, 0xc7, 0x13, 0x1b );\r
462                         st文字領域Array[ 0x58 ] = st文字領域89;\r
463                         st文字領域94 = new ST文字領域();\r
464                         ST文字領域 st文字領域90 = st文字領域94;\r
465                         st文字領域90.ch = '{';\r
466                         st文字領域90.rc = new Rectangle( 220, 0xc7, 15, 0x1b );\r
467                         st文字領域Array[ 0x59 ] = st文字領域90;\r
468                         st文字領域94 = new ST文字領域();\r
469                         ST文字領域 st文字領域91 = st文字領域94;\r
470                         st文字領域91.ch = '|';\r
471                         st文字領域91.rc = new Rectangle( 0xeb, 0xc7, 13, 0x1b );\r
472                         st文字領域Array[ 90 ] = st文字領域91;\r
473                         st文字領域94 = new ST文字領域();\r
474                         ST文字領域 st文字領域92 = st文字領域94;\r
475                         st文字領域92.ch = '}';\r
476                         st文字領域92.rc = new Rectangle( 1, 0xe3, 15, 0x1b );\r
477                         st文字領域Array[ 0x5b ] = st文字領域92;\r
478                         ST文字領域 st文字領域93 = new ST文字領域();\r
479                         st文字領域93.ch = '~';\r
480                         st文字領域93.rc = new Rectangle( 0x12, 0xe3, 0x12, 0x1b );\r
481                         st文字領域Array[ 0x5c ] = st文字領域93;\r
482                         this.st文字領域 = st文字領域Array;\r
483                 }\r
484 \r
485 \r
486                 // メソッド\r
487 \r
488                 public int n文字列長dot( string str )\r
489                 {\r
490                         return this.n文字列長dot( str, 1f );\r
491                 }\r
492                 public int n文字列長dot( string str, float fScale )\r
493                 {\r
494                         if( string.IsNullOrEmpty( str ) )\r
495                         {\r
496                                 return 0;\r
497                         }\r
498                         int num = 0;\r
499                         foreach( char ch in str )\r
500                         {\r
501                                 foreach( ST文字領域 st文字領域 in this.st文字領域 )\r
502                                 {\r
503                                         if( st文字領域.ch == ch )\r
504                                         {\r
505                                                 num += (int) ( ( st文字領域.rc.Width - 5 ) * fScale );\r
506                                                 break;\r
507                                         }\r
508                                 }\r
509                         }\r
510                         return num;\r
511                 }\r
512                 public void t文字列描画( int x, int y, string str )\r
513                 {\r
514                         this.t文字列描画( x, y, str, false, 1f );\r
515                 }\r
516                 public void t文字列描画( int x, int y, string str, bool b強調 )\r
517                 {\r
518                         this.t文字列描画( x, y, str, b強調, 1f );\r
519                 }\r
520                 public void t文字列描画( int x, int y, string str, bool b強調, float fScale )\r
521                 {\r
522                         if( !base.b活性化してない && !string.IsNullOrEmpty( str ) )\r
523                         {\r
524                                 CTexture texture = b強調 ? this.tx強調文字 : this.tx通常文字;\r
525                                 if( texture != null )\r
526                                 {\r
527                                         texture.vc拡大縮小倍率 = new Vector3( fScale, fScale, 1f );\r
528                                         foreach( char ch in str )\r
529                                         {\r
530                                                 foreach( ST文字領域 st文字領域 in this.st文字領域 )\r
531                                                 {\r
532                                                         if( st文字領域.ch == ch )\r
533                                                         {\r
534                                                                 texture.t2D描画( CDTXMania.app.Device, x, y, st文字領域.rc );\r
535                                                                 x += (int) ( ( st文字領域.rc.Width - 5 ) * fScale );\r
536                                                                 break;\r
537                                                         }\r
538                                                 }\r
539                                         }\r
540                                 }\r
541                         }\r
542                 }\r
543 \r
544 \r
545                 // CActivity 実装\r
546 \r
547                 public override void OnManagedリソースの作成()\r
548                 {\r
549                         if( !base.b活性化してない )\r
550                         {\r
551                                 this.tx通常文字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\Screen font dfp.png" ), false );\r
552                                 this.tx強調文字 = CDTXMania.tテクスチャの生成( CSkin.Path( @"Graphics\Screen font dfp em.png" ), false );\r
553                                 base.OnManagedリソースの作成();\r
554                         }\r
555                 }\r
556                 public override void OnManagedリソースの解放()\r
557                 {\r
558                         if( !base.b活性化してない )\r
559                         {\r
560                                 if( this.tx強調文字 != null )\r
561                                 {\r
562                                         this.tx強調文字.Dispose();\r
563                                         this.tx強調文字 = null;\r
564                                 }\r
565                                 if( this.tx通常文字 != null )\r
566                                 {\r
567                                         this.tx通常文字.Dispose();\r
568                                         this.tx通常文字 = null;\r
569                                 }\r
570                                 base.OnManagedリソースの解放();\r
571                         }\r
572                 }\r
573                 \r
574 \r
575                 // その他\r
576 \r
577                 #region [ private ]\r
578                 //-----------------\r
579                 [StructLayout( LayoutKind.Sequential )]\r
580                 private struct ST文字領域\r
581                 {\r
582                         public char ch;\r
583                         public Rectangle rc;\r
584                 }\r
585 \r
586                 private readonly ST文字領域[] st文字領域;\r
587                 private CTexture tx強調文字;\r
588                 private CTexture tx通常文字;\r
589                 //-----------------\r
590                 #endregion\r
591         }\r
592 }\r