OSDN Git Service

ソースの文字コードと改行コードを修正
[coroid/inqubus.git] / vhook / nicodef.h
index 2d8fe37..9e4f964 100644 (file)
@@ -1,71 +1,71 @@
-#ifndef NICODEF_H_\r
-#define NICODEF_H_\r
-#include <SDL/SDL_ttf.h>\r
-\r
-//\92è\8b`\r
-#define NICO_WIDTH             512\r
-#define NICO_HEIGHT    384\r
-\r
-\r
-#define VPOS_FACTOR            100     //\91½\95ª\8cW\90\94\82Ì\88Ó\96¡\82Å\82Í\81E\81E\81E\82â\82Í\82è1/100\82Å\8bL\98^\82µ\82Ä\82é\82Á\82Û\82¢\r
-#define TEXT_AHEAD_SEC (1 * VPOS_FACTOR)\r
-#define TEXT_SHOW_SEC  (4 * VPOS_FACTOR)\r
-#define TEXT_HEIGHT            22\r
-\r
-#define CMD_LOC_DEF            (0)\r
-#define CMD_LOC_TOP            (1)\r
-#define CMD_LOC_BOTTOM (2)\r
-\r
-#define CMD_FONT_MAX   3\r
-#define CMD_FONT_DEF   0\r
-#define CMD_FONT_BIG   1\r
-#define CMD_FONT_SMALL 2\r
-\r
-static const int COMMENT_FONT_SIZE[CMD_FONT_MAX] = {\r
-       24,//DEF\r
-       39,//BIG\r
-       15,//SMALL\r
-};\r
-\r
-#define CMD_COLOR_MAX                          17\r
-#define CMD_COLOR_DEF                          0\r
-#define CMD_COLOR_RED                          1\r
-#define CMD_COLOR_ORANGE                       2\r
-#define CMD_COLOR_YELLOW                       3\r
-#define CMD_COLOR_PINK                         4\r
-#define CMD_COLOR_BLUE                         5\r
-#define CMD_COLOR_PURPLE                       6\r
-#define CMD_COLOR_CYAN                         7\r
-#define CMD_COLOR_GREEN                        8\r
-#define CMD_COLOR_NICOWHITE            9\r
-#define CMD_COLOR_MARINEBLUE           10\r
-#define CMD_COLOR_MADYELLOW            11\r
-#define CMD_COLOR_PASSIONORANGE        12\r
-#define CMD_COLOR_NOBLEVIOLET          13\r
-#define CMD_COLOR_ELEMENTALGREEN       14\r
-#define CMD_COLOR_TRUERED                      15\r
-#define CMD_COLOR_BLACK                        16\r
-\r
-static const SDL_Color COMMENT_COLOR[CMD_COLOR_MAX] = {\r
-       {0xff,0xff,0xff,0x00},//DEF\r
-       {0xff,0x00,0x00,0x00},//RED\r
-       {0xff,0xC0,0x00,0x00},//ORANGE\r
-       {0xff,0xff,0x00,0x00},//YELLOW\r
-       {0xff,0x80,0x80,0x00},//PINK\r
-       {0x00,0x00,0xff,0x00},//BLUE\r
-       {0xc0,0x00,0xff,0x00},//PURPLE\r
-       {0x00,0xff,0xff,0x00},//CYAN\r
-       {0x00,0xff,0x00,0x00},//GREEN\r
-       /*\83v\83\8c\83~\83A\90ê\97p*/\r
-       {0xCC,0xCC,0x99,0x00},//NICOWHITE\r
-       {0x33,0xff,0xFC,0x00},//MARINEBLUE\r
-       {0x99,0x99,0x00,0x00},//MADYELLOW\r
-       {0xFF,0x66,0x00,0x00},//PASSIONORANGE\r
-       {0x66,0x33,0xCC,0x00},//NOBLEVIOLET\r
-       {0x00,0xCC,0x66,0x00},//ELEMENTALGREEN\r
-       {0xCC,0x00,0x33,0x00},//TRUERED\r
-       {0x00,0x00,0x00,0x00},//BLACK\r
-\r
-};\r
-\r
-#endif /*NICODEF_H_*/\r
+#ifndef NICODEF_H_
+#define NICODEF_H_
+#include <SDL/SDL_ttf.h>
+
+//定義
+#define NICO_WIDTH             512
+#define NICO_HEIGHT    384
+
+
+#define VPOS_FACTOR            100     //多分係数の意味では・・・やはり1/100で記録してるっぽい
+#define TEXT_AHEAD_SEC (1 * VPOS_FACTOR)
+#define TEXT_SHOW_SEC  (4 * VPOS_FACTOR)
+#define TEXT_HEIGHT            22
+
+#define CMD_LOC_DEF            (0)
+#define CMD_LOC_TOP            (1)
+#define CMD_LOC_BOTTOM (2)
+
+#define CMD_FONT_MAX   3
+#define CMD_FONT_DEF   0
+#define CMD_FONT_BIG   1
+#define CMD_FONT_SMALL 2
+
+static const int COMMENT_FONT_SIZE[CMD_FONT_MAX] = {
+       24,//DEF
+       39,//BIG
+       15,//SMALL
+};
+
+#define CMD_COLOR_MAX                          17
+#define CMD_COLOR_DEF                          0
+#define CMD_COLOR_RED                          1
+#define CMD_COLOR_ORANGE                       2
+#define CMD_COLOR_YELLOW                       3
+#define CMD_COLOR_PINK                         4
+#define CMD_COLOR_BLUE                         5
+#define CMD_COLOR_PURPLE                       6
+#define CMD_COLOR_CYAN                         7
+#define CMD_COLOR_GREEN                        8
+#define CMD_COLOR_NICOWHITE            9
+#define CMD_COLOR_MARINEBLUE           10
+#define CMD_COLOR_MADYELLOW            11
+#define CMD_COLOR_PASSIONORANGE        12
+#define CMD_COLOR_NOBLEVIOLET          13
+#define CMD_COLOR_ELEMENTALGREEN       14
+#define CMD_COLOR_TRUERED                      15
+#define CMD_COLOR_BLACK                        16
+
+static const SDL_Color COMMENT_COLOR[CMD_COLOR_MAX] = {
+       {0xff,0xff,0xff,0x00},//DEF
+       {0xff,0x00,0x00,0x00},//RED
+       {0xff,0xC0,0x00,0x00},//ORANGE
+       {0xff,0xff,0x00,0x00},//YELLOW
+       {0xff,0x80,0x80,0x00},//PINK
+       {0x00,0x00,0xff,0x00},//BLUE
+       {0xc0,0x00,0xff,0x00},//PURPLE
+       {0x00,0xff,0xff,0x00},//CYAN
+       {0x00,0xff,0x00,0x00},//GREEN
+       /*プレミア専用*/
+       {0xCC,0xCC,0x99,0x00},//NICOWHITE
+       {0x33,0xff,0xFC,0x00},//MARINEBLUE
+       {0x99,0x99,0x00,0x00},//MADYELLOW
+       {0xFF,0x66,0x00,0x00},//PASSIONORANGE
+       {0x66,0x33,0xCC,0x00},//NOBLEVIOLET
+       {0x00,0xCC,0x66,0x00},//ELEMENTALGREEN
+       {0xCC,0x00,0x33,0x00},//TRUERED
+       {0x00,0x00,0x00,0x00},//BLACK
+
+};
+
+#endif /*NICODEF_H_*/