OSDN Git Service

.logファイルを管理対象外に
[coroid/inqubus.git] / vhook / chat / chat.h
1 #ifndef CHAT_H_\r
2 #define CHAT_H_\r
3 \r
4 #include <SDL/SDL.h>\r
5 #include "../struct_define.h"\r
6 \r
7 struct CHAT_ITEM{\r
8         //\8fê\8f\8a\82Ì\93Á\92è\r
9         int no;\r
10         int vpos;\r
11         int location;\r
12         //\95\8e\9a\82Ì\8fC\8fü\r
13         int size;\r
14         int color;\r
15         Uint16* str;\r
16         //\93à\95\94\8f\88\97\9d\82Å\8eg\82¤\r
17         int vstart;\r
18         int vend;\r
19         int showed;\r
20         //\83\8a\83t\83@\83\8c\83\93\83X\r
21         CHAT* chat;\r
22 };\r
23 \r
24 struct CHAT{\r
25         int max_no;\r
26         int min_no;\r
27         //\83A\83C\83e\83\80\r
28         int max_item;\r
29         int iterator_index;\r
30         CHAT_ITEM* item;\r
31         //\83\8a\83t\83@\83\8c\83\93\83X\r
32         CHAT_SLOT* slot;\r
33 };\r
34 \r
35 #include "chat_slot.h"\r
36 struct CHAT_SET{\r
37         CHAT chat;\r
38         CHAT_SLOT slot;\r
39 };\r
40 \r
41 //\8f\89\8aú\89»\r
42 int initChat(FILE* log,CHAT* chat,const char* file_path,CHAT_SLOT* slot,int video_length);\r
43 void closeChat();\r
44 //\83C\83e\83\8c\81[\83^\r
45 void resetChatIterator(CHAT* chat);\r
46 CHAT_ITEM* getChatShowed(CHAT* chat,int now_vpos);\r
47 \r
48 #endif /*CHAT_H_*/\r