OSDN Git Service

cb9498cbd05d23685c7d5886a474dafa9bdba5f2
[coroid/inqubus.git] / vhook / process.c
1 #include "mydef.h"\r
2 #include "process.h"\r
3 #include "chat/process_chat.h"\r
4 #include "chat/chat.h"\r
5 #include "chat/chat_slot.h"\r
6 \r
7 //\83v\83\8d\83Z\83X\r
8 int process(DATA* data,SDL_Surface* surf,const int now_vpos){\r
9         //\83\86\81[\83U\83R\83\81\83\93\83g\r
10         if(data->user_comment.enable){\r
11                 if(!chat_process(&data->user_comment,surf,now_vpos)){\r
12                         fputs("[process/process]failed to process comment.\n",data->log);\r
13                         return FALSE;\r
14                 }\r
15         }\r
16         //\83I\81[\83i\83R\83\81\83\93\83g\r
17         if(data->owner_comment.enable){\r
18                 if(!chat_process(&data->owner_comment,surf,now_vpos)){\r
19                         fputs("[process/process]failed to process comment.\n",data->log);\r
20                         return FALSE;\r
21                 }\r
22         }\r
23         return TRUE;\r
24 }\r
25 \r