OSDN Git Service

ソースの文字コードと改行コードを修正
[coroid/inqubus.git] / vhook / chat / chat_slot.h
index 120c6e5..8766aac 100644 (file)
@@ -1,36 +1,36 @@
-#ifndef CHAT_SLOT_H_\r
-#define CHAT_SLOT_H_\r
-\r
-#include "../struct_define.h"\r
-#include "chat.h"\r
-#include <SDL/SDL.h>\r
-\r
-struct CHAT_SLOT_ITEM{\r
-       int used;\r
-       CHAT_ITEM* chat_item;\r
-       SDL_Surface* surf;\r
-       int y;\r
-       //\83\8a\83t\83@\83\8c\83\93\83X\r
-       CHAT_SLOT* slot;\r
-};\r
-\r
-struct CHAT_SLOT{\r
-       int max_item;\r
-       int iterator_index;\r
-       CHAT_SLOT_ITEM* item;\r
-       //\83\8a\83t\83@\83\8c\83\93\83X\r
-       CHAT* chat;\r
-};\r
-#include "../main.h"\r
-//\8f\89\8aú\89»\r
-int initChatSlot(FILE* log,CHAT_SLOT* slot,int max_slot,CHAT* chat);\r
-void closeChatSlot(CHAT_SLOT* slot);\r
-//\92Ç\89Á\81A\8dí\8f\9c\r
-void addChatSlot(COMMDATA* data,CHAT_SLOT* slot,CHAT_ITEM* item,int video_width,int video_height);\r
-void deleteChatSlot(CHAT_SLOT* slot,CHAT_SLOT_ITEM* item);\r
-void deleteChatSlotFromIndex(CHAT_SLOT* slot,int index);\r
-\r
-//\83C\83e\83\8c\81[\83^\r
-void resetChatSlotIterator(CHAT_SLOT* slot);\r
-CHAT_SLOT_ITEM* getChatSlotErased(CHAT_SLOT* slot,int now_vpos);\r
-#endif /*CHAT_SLOT_H_*/\r
+#ifndef CHAT_SLOT_H_
+#define CHAT_SLOT_H_
+
+#include "../struct_define.h"
+#include "chat.h"
+#include <SDL/SDL.h>
+
+struct CHAT_SLOT_ITEM{
+       int used;
+       CHAT_ITEM* chat_item;
+       SDL_Surface* surf;
+       int y;
+       //リファレンス
+       CHAT_SLOT* slot;
+};
+
+struct CHAT_SLOT{
+       int max_item;
+       int iterator_index;
+       CHAT_SLOT_ITEM* item;
+       //リファレンス
+       CHAT* chat;
+};
+#include "../main.h"
+//初期化
+int initChatSlot(FILE* log,CHAT_SLOT* slot,int max_slot,CHAT* chat);
+void closeChatSlot(CHAT_SLOT* slot);
+//追加、削除
+void addChatSlot(COMMDATA* data,CHAT_SLOT* slot,CHAT_ITEM* item,int video_width,int video_height);
+void deleteChatSlot(CHAT_SLOT* slot,CHAT_SLOT_ITEM* item);
+void deleteChatSlotFromIndex(CHAT_SLOT* slot,int index);
+
+//イテレータ
+void resetChatSlotIterator(CHAT_SLOT* slot);
+CHAT_SLOT_ITEM* getChatSlotErased(CHAT_SLOT* slot,int now_vpos);
+#endif /*CHAT_SLOT_H_*/