OSDN Git Service

9e4f964030638ffafa5d0c7926a795ab53647fa0
[coroid/inqubus.git] / vhook / nicodef.h
1 #ifndef NICODEF_H_
2 #define NICODEF_H_
3 #include <SDL/SDL_ttf.h>
4
5 //定義
6 #define NICO_WIDTH              512
7 #define NICO_HEIGHT     384
8
9
10 #define VPOS_FACTOR             100     //多分係数の意味では・・・やはり1/100で記録してるっぽい
11 #define TEXT_AHEAD_SEC  (1 * VPOS_FACTOR)
12 #define TEXT_SHOW_SEC   (4 * VPOS_FACTOR)
13 #define TEXT_HEIGHT             22
14
15 #define CMD_LOC_DEF             (0)
16 #define CMD_LOC_TOP             (1)
17 #define CMD_LOC_BOTTOM  (2)
18
19 #define CMD_FONT_MAX    3
20 #define CMD_FONT_DEF    0
21 #define CMD_FONT_BIG    1
22 #define CMD_FONT_SMALL  2
23
24 static const int COMMENT_FONT_SIZE[CMD_FONT_MAX] = {
25         24,//DEF
26         39,//BIG
27         15,//SMALL
28 };
29
30 #define CMD_COLOR_MAX                           17
31 #define CMD_COLOR_DEF                           0
32 #define CMD_COLOR_RED                           1
33 #define CMD_COLOR_ORANGE                        2
34 #define CMD_COLOR_YELLOW                        3
35 #define CMD_COLOR_PINK                          4
36 #define CMD_COLOR_BLUE                          5
37 #define CMD_COLOR_PURPLE                        6
38 #define CMD_COLOR_CYAN                          7
39 #define CMD_COLOR_GREEN                 8
40 #define CMD_COLOR_NICOWHITE             9
41 #define CMD_COLOR_MARINEBLUE            10
42 #define CMD_COLOR_MADYELLOW             11
43 #define CMD_COLOR_PASSIONORANGE 12
44 #define CMD_COLOR_NOBLEVIOLET           13
45 #define CMD_COLOR_ELEMENTALGREEN        14
46 #define CMD_COLOR_TRUERED                       15
47 #define CMD_COLOR_BLACK                 16
48
49 static const SDL_Color COMMENT_COLOR[CMD_COLOR_MAX] = {
50         {0xff,0xff,0xff,0x00},//DEF
51         {0xff,0x00,0x00,0x00},//RED
52         {0xff,0xC0,0x00,0x00},//ORANGE
53         {0xff,0xff,0x00,0x00},//YELLOW
54         {0xff,0x80,0x80,0x00},//PINK
55         {0x00,0x00,0xff,0x00},//BLUE
56         {0xc0,0x00,0xff,0x00},//PURPLE
57         {0x00,0xff,0xff,0x00},//CYAN
58         {0x00,0xff,0x00,0x00},//GREEN
59         /*プレミア専用*/
60         {0xCC,0xCC,0x99,0x00},//NICOWHITE
61         {0x33,0xff,0xFC,0x00},//MARINEBLUE
62         {0x99,0x99,0x00,0x00},//MADYELLOW
63         {0xFF,0x66,0x00,0x00},//PASSIONORANGE
64         {0x66,0x33,0xCC,0x00},//NOBLEVIOLET
65         {0x00,0xCC,0x66,0x00},//ELEMENTALGREEN
66         {0xCC,0x00,0x33,0x00},//TRUERED
67         {0x00,0x00,0x00,0x00},//BLACK
68
69 };
70
71 #endif /*NICODEF_H_*/