112 lines
3.5 KiB
C
112 lines
3.5 KiB
C
![]() |
|
|||
|
#ifndef _ONLINEGM_
|
|||
|
#define _ONLINEGM_
|
|||
|
|
|||
|
#define ONLINEGM_BACKGROUND OLD_GRAPHICS_START+821 //<2F><><EFBFBD><EFBFBD>ͼ
|
|||
|
#define ONLINEGM_YES_OR_NO 35322 //С<><D0A1><EFBFBD><EFBFBD>ʯ<EFBFBD>屳<EFBFBD><E5B1B3>ͼ 26195<39><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ
|
|||
|
#define ONLINEGM_CHECK_U OLD_GRAPHICS_START+820 //<2F><>ѯ(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_CHECK_D 35319 //<2F><>ѯ(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_DELETE_U OLD_GRAPHICS_START+819 //ɾ<><C9BE>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_DELETE_D 35321 //ɾ<><C9BE>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_ENTER_U 26099 //<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_ENTER_D 35320//<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_CLEAR_U 26298 //<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_CLEAR_D 26299 //<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_HELP_U OLD_GRAPHICS_START+818 //ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_HELP_D 35318 //ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_QUIT 26042 //<2F>ر<EFBFBD>
|
|||
|
#define ONLINEGM_UP_U 26064 //<2F>Ͼ<EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_UP_D 26065 //<2F>Ͼ<EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_DOWN_U 26066 //<2F>¾<EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_DOWN_D 26067 //<2F>¾<EFBFBD>(<28><><EFBFBD><EFBFBD>)
|
|||
|
#define ONLINEGM_SURE_D 26288 //ȷ<><C8B7>(<28><><EFBFBD><EFBFBD>)(<28><>ɫ<EFBFBD><C9AB>)
|
|||
|
#define ONLINEGM_SURE_U 26289 //ȷ<><C8B7>(<28><><EFBFBD><EFBFBD>)(<28><>ɫ<EFBFBD><C9AB>)
|
|||
|
#define ONLINEGM_CHANCEL 26291 //ȡ<><C8A1>
|
|||
|
|
|||
|
|
|||
|
#define DEF_UPDOWN_TOTAL 22 // <20><><EFBFBD>¾<EFBFBD><C2BE><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DEF_BUTTON_TOTAL 28 // <20><><EFBFBD>ϻر<CFBB>ϵͳ<CFB5><CDB3>ť<EFBFBD><C5A5><EFBFBD><EFBFBD>
|
|||
|
#define DEF_CLASS_TOTAL 2 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DEF_C1_TOTAL 14 // <20><><EFBFBD><EFBFBD>һϸ<D2BB><CFB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define DEF_C2_TOTAL 11 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϸ<EFBFBD><CFB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define DEF_MAX_ADD_VALUE 20 //Ŀǰ<C4BF>趨<EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>20<32><30>
|
|||
|
|
|||
|
#define MAX_INPUT_LINE 30 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define DEF_INPUT_LINE 4 // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD> chat<61><74>20
|
|||
|
|
|||
|
#define MAX_INPUT_HISTORY 20 // ???????????
|
|||
|
|
|||
|
const long UP_ANIM_ID[DEF_BUTTON_TOTAL]={
|
|||
|
ONLINEGM_CHECK_U ,
|
|||
|
ONLINEGM_DELETE_U ,
|
|||
|
ONLINEGM_ENTER_U ,
|
|||
|
ONLINEGM_CLEAR_U ,
|
|||
|
ONLINEGM_HELP_U ,
|
|||
|
ONLINEGM_QUIT ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U ,
|
|||
|
ONLINEGM_UP_U ,
|
|||
|
ONLINEGM_DOWN_U
|
|||
|
};
|
|||
|
const long DOWN_ANIM_ID[DEF_BUTTON_TOTAL]={
|
|||
|
ONLINEGM_CHECK_D ,
|
|||
|
ONLINEGM_DELETE_D ,
|
|||
|
ONLINEGM_ENTER_D ,
|
|||
|
ONLINEGM_CLEAR_D ,
|
|||
|
ONLINEGM_HELP_D ,
|
|||
|
ONLINEGM_QUIT ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D ,
|
|||
|
ONLINEGM_UP_D ,
|
|||
|
ONLINEGM_DOWN_D
|
|||
|
};
|
|||
|
const short BUTTON_XY[DEF_BUTTON_TOTAL][2]={
|
|||
|
{584,97 },{584 ,120},{584,316},{584, 340},{584,409},{584 ,434},
|
|||
|
{550-100,54+100 },{530+1-100,72+100 },{550-100,366+100},{530+1-100,384+100},
|
|||
|
{164-100,175+100},{144+1-100,193+100},{229-100,175+100},{209+1-100,193+100},{298-100,175+100},{278+1-100,193+100},
|
|||
|
{468-100+21,175+100},{448+1-100+21,193+100},{530-100+21,175+100},{510+1-100+21,193+100},{593-100+21,175+100},{573+1-100+21,193+100},
|
|||
|
{164-100,212+100},{144+1-100,230+100},{392-100,212+100},{372+1-100,230+100},{614-100,212+100},{594+1-100,230+100}
|
|||
|
};
|
|||
|
|
|||
|
int iOnlineGmProc( void );
|
|||
|
|
|||
|
#endif
|