#include "chat/chat.h"
#include "chat/chat_slot.h"
+/**
+ * コメント中間ファイル数. つまりオーバレイするコメントの種類数.
+ * 並びはframehook.hで定義している情報に依存することに注意.
+ */
+#define N_COMMENT_TYPE 4
+
struct COMMDATA {
int enable;
CHAT chat;
// CHAT_SLOT slot;
// //投稿者コメント
// int enable_owner_comment;
- COMMDATA user_comment;
- COMMDATA owner_comment;
-
+ COMMDATA comment[N_COMMENT_TYPE];
+
//一般的なデータ
int shadow_kind;
int show_video;
int fontsize_fix;
int process_first_called;
int video_length;
+ int aspect_mode;
};
+typedef struct {
+ const char* path;
+ int enable;
+} SETTING_COMMENT;
+
typedef struct SETTING{
- const char* data_user_path;
- const char* data_owner_path;
+ SETTING_COMMENT comment[N_COMMENT_TYPE];
const char* font_path;
int video_length;
int font_index;
int owner_slot_max;
int shadow_kind;
/*TRUE OR FALSE*/
- int enable_user_comment;
- int enable_owner_comment;
int show_video;
int fontsize_fix;
int opaque_comment;
+ /**
+ * アスペクト比の指定. コメントのフォントサイズや速度に影響する.
+ * 0 - 4:3
+ * 1 - 16:9
+ */
+ int aspect_mode;
}SETTING;
int init(FILE* log);