📄 define.h
字号:
#define _BTN_ID_STATUS_Y 266
#define _BTN_ID_STATUSMAGIC_X 224
#define _BTN_ID_STATUSMAGIC_Y 98
#define _EQUIP_CHAR_X 100
#define _EQUIP_CHAR_Y 200
#define _U_DRESS 0
#define _U_WEAPON 1
#define _U_RIGHTHAND 2
#define _U_NECKLACE 3
#define _U_HELMET 4
#define _U_ARMRINGL 5
#define _U_ARMRINGR 6
#define _U_RINGL 7
#define _U_RINGR 8
#define _U_CHARM 9
#define _U_UNEQUIP 100
#define _MAX_MAGIC_SKILL 32
/******************************************************************************************************************
#1. Store Window
*******************************************************************************************************************/
#define _STORE_STATE_SELL 0
#define _STORE_STATE_BUY 1
/******************************************************************************************************************
#1. Client To Server Message
*******************************************************************************************************************/
#define CM_QUERYUSERNAME 80
#define CM_QUERYBAGITEMS 81
#define CM_DROPITEM 1000
#define CM_PICKUP 1001
#define CM_TAKEONITEM 1003
#define CM_TAKEOFFITEM 1004
#define CM_EAT 1006
#define CM_MAGICKEYCHANGE 1008
#define CM_LOGINNOTICEOK 1018
#define CM_GROUPMODE 1019 // ***************************************
#define CM_CREATEGROUP 1020 // ***************************************
#define CM_ADDGROUPMEMBER 1021 // ***************************************
#define CM_DELGROUPMEMBER 1022 // ***************************************
#define CM_TRUN 3010
#define CM_WALK 3011
#define CM_RUN 3013
#define CM_HIT 3014
#define CM_LONGHIT 3019
#define CM_POWERHIT 3018
#define CM_SPELL 3017 // 焊辰饶 辑滚俊辑 铰牢捞 坷搁 悼累阑 茄促. 胶歧悼累捞 场抄饶 sm_magicfire啊 坷搁 悼累阑 胶拍靛肺 官槽促.
#define CM_WIDEHIT 3024
#define CM_FIREHIT 3025
#define CM_SAY 3030
#define CM_RIDE 3031
#define CM_BUTCH 1007
#define CM_SITDOWN 3012
#define CM_CLICKNPC 1010
#define CM_OPENDOOR 1002
//侩扁
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 傍烹
#define CM_CLICKNPC 1010 // 捞 皋矫瘤甫 辑滚肺 焊郴绢 秦寸 MPC狼 沥焊甫 罐绰促.
#define CM_MERCHANTDLGSELECT 1011 // 荤侩磊啊 NPC措拳吝 Tag啊 粮犁窍绰 何盒阑 Click沁阑版快 焊郴绢柳促.
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 迫扁
#define CM_MERCHANTQUERYSELLPRICE 1012 // 迫扁 拱扒阑 棵妨 初阑 版快 啊拜阑 掘绰促.
// 函版且 鞘夸啊 乐澜 (苞芭: 迫拱扒狼 啊拜父 钎矫, 泅犁: 迫府绰 拱扒狼 阿败 葛滴钎矫)
#define CM_USERSELLITEM 1013 // 迫扁 滚瓢阑 喘啡阑 版快 (苞扁: 迫拱扒父 窍唱父 焊晨, 泅犁: 迫拱扒 葛滴 焊晨
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 荤扁
#define CM_USERBUYITEM 1014 // 荤扁 滚瓢阑 喘啡阑 版快
#define CM_USERGETDETAILITEM 1015 // 惑痢 格废吝俊 Sub Menu啊 乐绰 巴阑 努腐沁阑 版快
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 荐府
#define CM_USERREPAIRITEM 1023 // 荐府窍促 滚瓢阑 喘范阑 版快
#define CM_MERCHANTQUERYREPAIRCOST 1024 // 荐府且酒捞袍阑 棵妨 初阑 版快 啊拜阑 掘绰促.
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 距规
#define CM_USERMAKEDRUGITEM 1034 //
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 咯包
#define CM_USERSTORAGEITEM 1031 // 荤侩磊啊 负变促 滚瓢(咆胶飘 滚瓢 酒丛)阑 喘范阑 版快 焊郴绢柳促.
#define CM_USERTAKEBACKSTORAGEITEM 1032 // 荤侩磊啊 茫绰促 滚瓢(咆胶飘 滚瓢 酒丛)阑 喘范阑 版快 焊郴绢柳促.
////////////////////////////////////////////////////////////////////////////////////////////////////////
// 巩颇
#define CM_OPENGUILDDLG 1035 // 荤侩磊啊 巩颇芒阑 凯绊磊 沁阑 版快 焊郴绢柳促.
#define CM_GUILDHOME 1036 // 荤侩磊啊 巩颇芒吝 HOME 滚瓢阑 喘范阑 版快 焊郴绢柳促.
#define CM_GUILDMEMBERLIST 1037 // 荤侩磊啊 巩颇芒吝 巩盔LIST甫 焊绊磊 寝阑 版快
#define CM_GUILDADDMEMBER 1038 // 荤侩磊啊 巩盔眠啊甫 沁阑 版快
#define CM_GUILDDELMEMBER 1039 // 荤侩磊啊 巩盔昏力甫 沁阑 版快
#define CM_GUILDUPDATENOTICE 1040 // 荤侩磊啊 巩颇傍瘤甫 荐沥 沁阑 版快
#define CM_GUILDUPDATERANKINFO 1041 // 荤侩磊啊 巩盔流困甫 荐沥沁阑 版快
#define CM_GUILDMAKEALLY 1044 // 荤侩磊啊 巩颇悼竿阑 沁阑 版快
#define CM_GUILDBREAKALLY 1045 // 荤侩磊啊 巩颇悼竿颇扁甫 沁阑版快
/******************************************************************************************************************
#1. Server To Client Message
*******************************************************************************************************************/
#define SM_RUSH 6 // 公怕焊 剐扁.
#define SM_FIREHIT 8
#define SM_POWERHIT 18
#define SM_BACKSTEP 9
#define SM_TURN 10
#define SM_WALK 11
#define SM_RUN 13
#define SM_HIT 14
#define SM_SPELL 17 // 胶歧阑 茄促.
#define SM_LONGHIT 19
#define SM_DIGUP 20
#define SM_DIGDOWN 21
#define SM_FLYAXE 22
#define SM_LIGHTING 23
#define SM_WIDEHIT 24
#define SM_DISAPPEAR 30
#define SM_STRUCK 31
#define SM_DEATH 32
#define SM_NOWDEATH 34
#define SM_HEAR 40
#define SM_FEATURECHANGED 41
#define SM_USERNAME 42
#define SM_WINEXP 44
#define SM_LEVELUP 45
#define SM_DAYCHANGING 46
#define SM_LOGON 50
#define SM_NEWMAP 51
#define SM_ABILITY 52
#define SM_HEALTHSPELLCHANGED 53
#define SM_MAPDESCRIPTION 54
#define SM_SYSMESSAGE 100
#define SM_GROUPMESSAGE 101
#define SM_CRY 102
#define SM_WHISPER 103
#define SM_GUILDMESSAGE 104
#define SM_ADDITEM 200
#define SM_BAGITEMS 201
#define SM_ADDMAGIC 210
#define SM_SENDMYMAGIC 211
#define SM_DROPITEM_SCCESS 600
#define SM_DROPITEM_FAIL 601
#define SM_ITEMSHOW 610
#define SM_ITEMHIDE 611
#define SM_TAKEON_OK 615
#define SM_TAKEON_FAIL 616
#define SM_DOOROPEN 612
#define SM_TAKEOFF_OK 619
#define SM_TAKEOFF_FAIL 620
#define SM_SENDUSEITEMS 621
#define SM_WEIGHTCHANGED 622
#define SM_CHANGEMAP 634
#define SM_CLEAROBJECT 633
#define SM_EAT_OK 635
#define SM_EAT_FAIL 636
#define SM_MAGICFIRE 638 // 付过捞 角青等促.
#define SM_MAGIC_LVEXP 640
#define SM_DURACHANGE 642
#define SM_GOLDCHANGE 653
#define SM_CHANGELIGHT 654
#define SM_CHANGENAMECOLOR 656
#define SM_CHARSTATUSCHANGE 657
#define SM_SENDNOTICE 658
#define SM_CREATEGROUP_OK 660 // ******************************************************************
#define SM_CREATEGROUP_FAIL 661 // ******************************************************************
#define SM_GROUPCANCEL 666 // ******************************************************************
#define SM_GROUPMEMBERS 667 // ******************************************************************
#define SM_CHANGEGUILDNAME 750
#define SM_SUBABILITY 752
#define SM_SHOWEVENT 804
#define SM_HIDEEVENT 805
#define SM_DELITEM 202
#define SM_DELITEMS 203
#define SM_CLOSEHEALTH 1101
#define SM_OPENHEALTH 1100
#define SM_MONSTERSAY 1501
#define SM_SITDOWN 12
#define SM_BUTCH 637
#define SM_SKELETON 33 // SM_DEATH客 悼老.
#define SM_CHANGEFACE 1104;
#define SM_OPENDOOR_OK 612
#define SM_OPENDOOR_LOCK 613
#define SM_CLOSEDOOR 614
#define SM_MERCHANTSAY 643
#define SM_MERCHANTDLGCLOSE 644
#define SM_SENDGOODSLIST 645
#define SM_SENDUSERSELL 646
#define SM_SENDBUYPRICE 647
#define SM_USERSELLITEM_OK 648
#define SM_USERSELLITEM_FAIL 649
#define SM_BUYITEM_SUCCESS 650
#define SM_BUYITEM_FAIL 651
#define SM_SENDDETAILGOODSLIST 652
#define SM_GOLDCHANGED 653
#define SM_OPENGUILDDLG 753
#define SM_OPENGUILDDLG_FAIL 754
#define SM_SENDGUILDHOME 755
#define SM_SENDGUILDMEMBERLIST 756
#define SM_GUILDADDMEMBER_OK 757
#define SM_GUILDADDMEMBER_FAIL 758
#define SM_GUILDDELMEMBER_OK 759
#define SM_GUILDDELMEMBER_FAIL 760
#define SM_GUILDRANKUPDATE_FAIL 761
#define SM_BUILDGUILD_OK 762
#define SM_BUILDGUILD_FAIL 763
#define SM_GUILDMAKEALLY_OK 768
#define SM_GUILDMAKEALLY_FAIL 769
#define SM_GUILDBREAKALLY_OK 770
#define SM_GUILDBREAKALLY_FAIL 771
#define SM_DLGMSG 772
#define SM_AREASTATE 708
#define SM_RIDEHORSE 1300
/******************************************************************************************************************
Resource Dll string index
*******************************************************************************************************************/
#define PUNISHMENT_ID_USING 1
#define PUNISHMENT_ID_THEFT 2
#define PUNISHMENT_DISTURB_GAME 3
#define PUNISHMENT_BBS_CURSES 4
#define PUNISHMENT_CONFIRMED_CURSES 5
#define PUNISHMENT_USAGE_BUG 6
#define PUNISHMENT_ASSUMED_GAMEMASTER 7
#define PUNISHMENT_SPREAD_FALLACY 8
#define NEW_ACCOUNT_HELP_ID 9
#define NEW_ACCOUNT_HELP_PWD 10
#define NEW_ACCOUNT_HELP_REPWD 11
#define NEW_ACCOUNT_HELP_NAME 12
#define NEW_ACCOUNT_HELP_SSNO 13
#define NEW_ACCOUNT_HELP_BIRTH 14
#define NEW_ACCOUNT_HELP_ZIPCODE 15
#define NEW_ACCOUNT_HELP_ADDRESS 16
#define NEW_ACCOUNT_HELP_PHONE 17
#define NEW_ACCOUNT_HELP_MOBILEPHONE 18
#define NEW_ACCOUNT_HELP_EMAIL 19
#define NEW_ACCOUNT_HELP_Q 20
#define NEW_ACCOUNT_HELP_A 21
#define NEW_ACCOUNT_WELL_DONE 22
#define ERROR_STR_LOGIN_1 23
#define ERROR_STR_LOGIN_2 24
#define ERROR_STR_LOGIN_3 25
#define ERROR_STR_LOGIN_4 26
#define ERROR_STR_NEW_ACCOUNT_1 27
#define ERROR_STR_NEW_ACCOUNT_2 28
#define ERROR_STR_NEW_ACCOUNT_3 29
#define ERROR_STR_NEW_ACCOUNT_4 30
#define ERROR_STR_NEW_ACCOUNT_5 31
#define ERROR_STR_NEW_ACCOUNT_6 32
#define ERROR_STR_NEW_ACCOUNT_7 33
#define ALRAM_CHARGE 34
#define ALRAM_CHARGE_IP 35
#define ALRAM_CHARGE_1 36
#define ALRAM_CHARGE_2 37
#define ALRAM_CHARGE_3 38
#define CHANGE_PASSWORD 39
#define CHANGE_PASSWORD_1 40
#define CHANGE_PASSWORD_2 41
#define CHANGE_PASSWORD_3 42
#define CHANGE_PASSWORD_4 43
#define ERROR_STR_SELECT_SERVER_1 44
#define ERROR_STR_SELECT_SERVER_2 45
#define ERROR_STR_NEWCHR_1 200
#define ERROR_STR_NEWCHR_2 201
#define ERROR_STR_NEWCHR_3 202
#define DELETE_CHARACTER_1 203
#define DELETE_CHARACTER_2 204
#define VERSION_NOT_MATCHED 205
#define ERROR_STR_START_GAME_1 206
#define ERROR_STR_DELCHR 207
#define ERROR_STR_PATCH_1 300
#define ERROR_STR_PATCH_2 301
#define ERROR_STR_SERVER_CONNECTION 302
#define NOTICE_NOT_EXIST_INDEX 400
#define NOTICE_LAST_PAGE 401
#define FATAL_ERROR_STR 9999
#define SERVER_SELECT_TEST 10000
//////////////////////////////////////////////////////////////////////////////////////////////////////
/*******************************************************************************************************
Login Procedure
*******************************************************************************************************/
#define _LOGIN_SCREEN_WIDTH 640
#define _LOGIN_SCREEN_HEIGHT 480
/******************************************************************************************************************
#1. Progress States
*******************************************************************************************************************/
#define PRG_CONNECT -1
#define PRG_INTRO 0
#define PRG_LOGIN 1
#define PRG_NEW_ACCOUNT 3
#define PRG_PATCH 4
#define PRG_CHANGE_PASS 5
#define PRG_SERVER_SELE 6
#define PRG_TO_SELECT_CHR 7
#define PRG_CHAR_SELE 8
#define PRG_CREATE_CHAR 9
#define PRG_PLAY_GAME 10
#define PRG_SEL_TO_CREA 30
#define PRG_CREA_TO_SEL 31
#define PRG_SEL_TO_GAME 32
#define PRG_PATCH_FILES 77
#define PRG_NEED_ACCOUNT_CHANGE 88
#define PRG_QUIT 99
#endif // _DEFINE_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -