OSDN Git Service
(root)
/
coroid
/
inqubus.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
文字コード、改行コード修正
[coroid/inqubus.git]
/
vhook
/
chat
/
chat.h
1
#ifndef CHAT_H_
2
#define CHAT_H_
3
4
#include <SDL/SDL.h>
5
#include "../struct_define.h"
6
7
struct CHAT_ITEM{
8
//場所の特定
9
int no;
10
int vpos;
11
int location;
12
//文字の修飾
13
int size;
14
int color;
15
Uint16* str;
16
//内部処理で使う
17
int vstart;
18
int vend;
19
int showed;
20
//リファレンス
21
CHAT* chat;
22
};
23
24
struct CHAT{
25
int max_no;
26
int min_no;
27
//アイテム
28
int max_item;
29
int iterator_index;
30
CHAT_ITEM* item;
31
//リファレンス
32
CHAT_SLOT* slot;
33
};
34
35
#include "chat_slot.h"
36
struct CHAT_SET{
37
CHAT chat;
38
CHAT_SLOT slot;
39
};
40
41
//初期化
42
int initChat(FILE* log,CHAT* chat,const char* file_path,CHAT_SLOT* slot,int video_length);
43
void closeChat();
44
//イテレータ
45
void resetChatIterator(CHAT* chat);
46
CHAT_ITEM* getChatShowed(CHAT* chat,int now_vpos);
47
48
#endif /*CHAT_H_*/