chuyiwen_gmsv/include/npc_quiz.h
chuyiwen bea5ac05b3 sq_gmsv_chuyiwen
sa_sever
2016-12-24 09:45:52 +09:00

30 lines
704 B
C

#ifndef __NPC_QUIZ_H__
#define __NPC_QUIZ_H__
typedef struct NPC_Quiz{
int no; // Ëø¼° į
int type; // Ëø¼°ÕýÄÌÃó ±Ø¡õØ© £ýµ©ºÌ¡õÖ­)
int level; // Ëø¼°ÒÁì»ï
int answertype; //²ÏÒü¼°¼»Ì«¾®Ð×(¨á £ý¨â £ýÇ©»ßѨÓÀÃñ
int answerNo; // Ëø¼°²ÏÒü
char question[512]; // Ëø
char select1[128]; //¼» ÷°1
char select2[128]; //¼» ÷°2
char select3[128]; //¼» ÷°3
}NPC_QUIZ;
void NPC_QuizTalked( int meindex , int talkerindex , char *msg ,
int color );
BOOL NPC_QuizInit( int meindex );
void NPC_QuizWindowTalked( int meindex, int talkerindex, int seqno, int select, char *data);
BOOL QUIZ_initQuiz( char *filename);
#endif
/*__NPC_QUIZ_H__*/