30 lines
704 B
C
30 lines
704 B
C
![]() |
#ifndef __NPC_QUIZ_H__
|
|||
|
#define __NPC_QUIZ_H__
|
|||
|
|
|||
|
typedef struct NPC_Quiz{
|
|||
|
|
|||
|
int no; // <20><><EFBFBD><EFBFBD> į
|
|||
|
int type; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ء<EFBFBD>ة <20><><EFBFBD><EFBFBD><EFBFBD>̡<EFBFBD>֭)
|
|||
|
int level; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ì<EFBFBD><C3AC>
|
|||
|
int answertype; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̫<EFBFBD><CCAB><EFBFBD><EFBFBD>(<28><> <20><><EFBFBD><EFBFBD> <20><>ǩ<EFBFBD><C7A9>Ѩ<EFBFBD><D1A8><EFBFBD><EFBFBD>
|
|||
|
int answerNo; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
char question[512]; // <20><>
|
|||
|
char select1[128]; //<2F><> <20><>1
|
|||
|
char select2[128]; //<2F><> <20><>2
|
|||
|
char select3[128]; //<2F><> <20><>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__*/
|