OSDN Git Service

index on dev20110528_setting_reduce: 9817594 フィールド名修正
[coroid/inqubus.git] / vhook / main.h
index edd0efc..9c200a3 100644 (file)
@@ -7,23 +7,32 @@
 #include "chat/chat.h"\r
 #include "chat/chat_slot.h"\r
 \r
+struct COMMDATA {\r
+    int enable;\r
+    CHAT chat;\r
+    CHAT_SLOT slot;\r
+    int opaque_comment;\r
+    DATA* common;\r
+};\r
+\r
 struct DATA{\r
        FILE* log;\r
        TTF_Font* font[CMD_FONT_MAX];\r
        SDL_Surface* screen;\r
-       /*\82»\82ê\82¼\82ê\82Ì\83R\83\81\83\93\83g\82É\89\9e\82\82½\83f\81[\83^*/\r
-       //\83\86\81[\83U\83R\83\81\83\93\83g\r
-       int enable_user_comment;\r
-       CHAT chat;\r
-       CHAT_SLOT slot;\r
-       //\93\8a\8de\8eÒ\83R\83\81\83\93\83g\r
-       int enable_owner_comment;\r
+//     /*\82»\82ê\82¼\82ê\82Ì\83R\83\81\83\93\83g\82É\89\9e\82\82½\83f\81[\83^*/\r
+//     //\83\86\81[\83U\83R\83\81\83\93\83g\r
+//     int enable_user_comment;\r
+//     CHAT chat;\r
+//     CHAT_SLOT slot;\r
+//     //\93\8a\8de\8eÒ\83R\83\81\83\93\83g\r
+//     int enable_owner_comment;\r
+        COMMDATA user_comment;\r
+        COMMDATA owner_comment;\r
        \r
        //\88ê\94Ê\93I\82È\83f\81[\83^\r
        int shadow_kind;\r
        int show_video;\r
        int fontsize_fix;\r
-       int opaque_comment;\r
        int process_first_called;\r
        int video_length;\r
 };\r