OSDN Git Service

文字コード、改行コード修正
[coroid/inqubus.git] / vhook / chat / chat.h
index 08ee058..efc49a1 100644 (file)
@@ -1,48 +1,48 @@
-#ifndef CHAT_H_\r
-#define CHAT_H_\r
-\r
-#include <SDL/SDL.h>\r
-#include "../struct_define.h"\r
-\r
-struct CHAT_ITEM{\r
-       //\8fê\8f\8a\82Ì\93Á\92è\r
-       int no;\r
-       int vpos;\r
-       int location;\r
-       //\95\8e\9a\82Ì\8fC\8fü\r
-       int size;\r
-       int color;\r
-       Uint16* str;\r
-       //\93à\95\94\8f\88\97\9d\82Å\8eg\82¤\r
-       int vstart;\r
-       int vend;\r
-       int showed;\r
-       //\83\8a\83t\83@\83\8c\83\93\83X\r
-       CHAT* chat;\r
-};\r
-\r
-struct CHAT{\r
-       int max_no;\r
-       int min_no;\r
-       //\83A\83C\83e\83\80\r
-       int max_item;\r
-       int iterator_index;\r
-       CHAT_ITEM* item;\r
-       //\83\8a\83t\83@\83\8c\83\93\83X\r
-       CHAT_SLOT* slot;\r
-};\r
-\r
-#include "chat_slot.h"\r
-struct CHAT_SET{\r
-       CHAT chat;\r
-       CHAT_SLOT slot;\r
-};\r
-\r
-//\8f\89\8aú\89»\r
-int initChat(FILE* log,CHAT* chat,const char* file_path,CHAT_SLOT* slot,int video_length);\r
-void closeChat();\r
-//\83C\83e\83\8c\81[\83^\r
-void resetChatIterator(CHAT* chat);\r
-CHAT_ITEM* getChatShowed(CHAT* chat,int now_vpos);\r
-\r
-#endif /*CHAT_H_*/\r
+#ifndef CHAT_H_
+#define CHAT_H_
+
+#include <SDL/SDL.h>
+#include "../struct_define.h"
+
+struct CHAT_ITEM{
+       //場所の特定
+       int no;
+       int vpos;
+       int location;
+       //文字の修飾
+       int size;
+       int color;
+       Uint16* str;
+       //内部処理で使う
+       int vstart;
+       int vend;
+       int showed;
+       //リファレンス
+       CHAT* chat;
+};
+
+struct CHAT{
+       int max_no;
+       int min_no;
+       //アイテム
+       int max_item;
+       int iterator_index;
+       CHAT_ITEM* item;
+       //リファレンス
+       CHAT_SLOT* slot;
+};
+
+#include "chat_slot.h"
+struct CHAT_SET{
+       CHAT chat;
+       CHAT_SLOT slot;
+};
+
+//初期化
+int initChat(FILE* log,CHAT* chat,const char* file_path,CHAT_SLOT* slot,int video_length);
+void closeChat();
+//イテレータ
+void resetChatIterator(CHAT* chat);
+CHAT_ITEM* getChatShowed(CHAT* chat,int now_vpos);
+
+#endif /*CHAT_H_*/