2020-06-23 15:53:23 +08:00
|
|
|
|
/************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
/* menu.h */
|
|
|
|
|
/************************/
|
|
|
|
|
#ifndef _MENU_H_
|
|
|
|
|
#define _MENU_H_
|
|
|
|
|
|
|
|
|
|
#include "pc.h"
|
|
|
|
|
#include "chat.h"
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _TELLCHANNEL //ROG ADD 躇逄耋
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#include "netproc.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef _NEW_SYSTEM_MENU
|
|
|
|
|
#define MENU_SYSTEM_0 28
|
|
|
|
|
#else
|
|
|
|
|
#define MENU_SYSTEM_0 9
|
|
|
|
|
#endif
|
|
|
|
|
#define MENU_MAP_0 3
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#define MAIL_STR_LEN 140 // ???更????
|
|
|
|
|
#define MAIL_DATE_STR_LEN 20 // 吋至?更?????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#define MAIL_MAX_HISTORY 20 // ?????
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#define MAX_CHAT_REGISTY_STR 8 // ?????更?仕???
|
2020-06-23 15:27:59 +08:00
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ??????????﹨▍
|
2020-06-23 15:27:59 +08:00
|
|
|
|
typedef struct{
|
2020-06-23 15:53:23 +08:00
|
|
|
|
int x, y; // 牙?火
|
|
|
|
|
int defX, defY; // ??????火
|
|
|
|
|
int bmpNo; // ??吻?
|
|
|
|
|
int dispPrio; // 牙?!
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL dragFlag; // ???????
|
2020-06-23 15:53:23 +08:00
|
|
|
|
BOOL mixFlag; // ????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
}ITEM_BUFFER;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ???????﹨▍
|
2020-06-23 15:27:59 +08:00
|
|
|
|
typedef struct{
|
2020-06-23 15:53:23 +08:00
|
|
|
|
char str[ MAIL_MAX_HISTORY ][ MAIL_STR_LEN + 1 ]; // ??????更??
|
|
|
|
|
char dateStr[ MAIL_MAX_HISTORY ][ MAIL_DATE_STR_LEN + 1 ]; // 吋至?更??
|
|
|
|
|
int noReadFlag[ MAIL_MAX_HISTORY ]; // ???????????????吻??
|
|
|
|
|
int petLevel[ MAIL_MAX_HISTORY ]; // ??????????吻?
|
|
|
|
|
char petName[ MAIL_MAX_HISTORY ][ PET_NAME_LEN + 1 ]; // ?????〈
|
|
|
|
|
int itemGraNo[ MAIL_MAX_HISTORY ]; // ??????????????吻?
|
|
|
|
|
int newHistoryNo; // ????吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
}MAIL_HISTORY;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????牙????????﹨▍
|
2020-06-23 15:27:59 +08:00
|
|
|
|
typedef struct{
|
|
|
|
|
int sizeX,sizeY; // ???
|
2020-06-23 15:53:23 +08:00
|
|
|
|
int titleNo; // ????吻?
|
|
|
|
|
int titleX, titleY; // ??????火
|
|
|
|
|
int mx, my; // ??火
|
|
|
|
|
int nowX, nowY; // ???????
|
|
|
|
|
int cnt; // ??火
|
|
|
|
|
int wndType; // ???????
|
|
|
|
|
int hitFlag; // ???刪叉????
|
|
|
|
|
int yesDispNo; // ??????刪叉吻?
|
|
|
|
|
int noDispNo; // ???????刪叉吻?
|
|
|
|
|
int boxDispPrio; // ???????牙?!??
|
|
|
|
|
int yesNoResult; // YesNo?????ㄩ??? ?ㄩ???
|
2020-06-23 15:27:59 +08:00
|
|
|
|
}WINDOW_DISP;
|
|
|
|
|
|
|
|
|
|
#if defined(__ALBUM_47)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND_41 543
|
|
|
|
|
#define MAX_PET_KIND_42 545
|
|
|
|
|
#define MAX_PET_KIND_43 549
|
|
|
|
|
#define MAX_PET_KIND_44 551
|
|
|
|
|
#define MAX_PET_KIND_45 553
|
|
|
|
|
#define MAX_PET_KIND_46 555
|
|
|
|
|
//#define MAX_PET_KIND 557
|
|
|
|
|
//#define MAX_PET_KIND 558 // Robin fix
|
|
|
|
|
//#define MAX_PET_KIND 564 // Robin fix
|
|
|
|
|
//#define MAX_PET_KIND 566 // Robin fix
|
|
|
|
|
#define MAX_PET_KIND 570 // Robin fix
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_46)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND_41 543
|
|
|
|
|
#define MAX_PET_KIND_42 545
|
|
|
|
|
#define MAX_PET_KIND_43 549
|
|
|
|
|
#define MAX_PET_KIND_44 551
|
|
|
|
|
#define MAX_PET_KIND_45 553
|
|
|
|
|
#define MAX_PET_KIND 555
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_45)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND_41 543
|
|
|
|
|
#define MAX_PET_KIND_42 545
|
|
|
|
|
#define MAX_PET_KIND_43 549
|
|
|
|
|
#define MAX_PET_KIND_44 551
|
|
|
|
|
#define MAX_PET_KIND 553
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_44)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND_41 543
|
|
|
|
|
#define MAX_PET_KIND_42 545
|
|
|
|
|
#define MAX_PET_KIND_43 549
|
|
|
|
|
#define MAX_PET_KIND 551
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_43)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND_41 543
|
|
|
|
|
#define MAX_PET_KIND_42 545
|
|
|
|
|
#define MAX_PET_KIND 549
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_42)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND_41 543
|
|
|
|
|
#define MAX_PET_KIND 545
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_41)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND_40 542
|
|
|
|
|
#define MAX_PET_KIND 543
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_40)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND_39 540
|
|
|
|
|
#define MAX_PET_KIND 542
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_39)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND_38 521
|
|
|
|
|
#define MAX_PET_KIND 540
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_38)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND_37 498
|
|
|
|
|
#define MAX_PET_KIND 521
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_37)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND_36 483
|
|
|
|
|
#define MAX_PET_KIND 496
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_36)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND_35 462
|
|
|
|
|
#define MAX_PET_KIND 483
|
|
|
|
|
#elif defined(__ALBUM_35)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND_34 436
|
|
|
|
|
#define MAX_PET_KIND 462 //460
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_34)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND_33 432
|
|
|
|
|
#define MAX_PET_KIND 436
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_33)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND_32 431
|
|
|
|
|
#define MAX_PET_KIND 432
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_32)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND_15 357
|
|
|
|
|
#define MAX_PET_KIND_16 364
|
|
|
|
|
#define MAX_PET_KIND_17 389
|
|
|
|
|
#define MAX_PET_KIND_18 391
|
|
|
|
|
#define MAX_PET_KIND_19 395
|
|
|
|
|
#define MAX_PET_KIND_20 398
|
|
|
|
|
#define MAX_PET_KIND_21 401
|
|
|
|
|
#define MAX_PET_KIND_22 405
|
|
|
|
|
#define MAX_PET_KIND_23 407
|
|
|
|
|
#define MAX_PET_KIND_24 414
|
|
|
|
|
#define MAX_PET_KIND_25 415
|
|
|
|
|
#define MAX_PET_KIND_26 420
|
|
|
|
|
#define MAX_PET_KIND_27 422
|
|
|
|
|
#define MAX_PET_KIND_28 423
|
|
|
|
|
#define MAX_PET_KIND_29 424
|
|
|
|
|
#define MAX_PET_KIND_30 425
|
|
|
|
|
#define MAX_PET_KIND_31 429
|
|
|
|
|
#define MAX_PET_KIND 431
|
|
|
|
|
|
|
|
|
|
#elif defined(__ALBUM_15)
|
|
|
|
|
#define MAX_PET_KIND_1 124
|
|
|
|
|
#define MAX_PET_KIND_4 224
|
|
|
|
|
#define MAX_PET_KIND_5 228
|
|
|
|
|
#define MAX_PET_KIND_6 229
|
|
|
|
|
#define MAX_PET_KIND_7 230
|
|
|
|
|
#define MAX_PET_KIND_8 237
|
|
|
|
|
#define MAX_PET_KIND_9 240
|
|
|
|
|
#define MAX_PET_KIND_10 297
|
|
|
|
|
#define MAX_PET_KIND_11 301
|
|
|
|
|
#define MAX_PET_KIND_12 305
|
|
|
|
|
#define MAX_PET_KIND_13 306
|
|
|
|
|
#define MAX_PET_KIND_14 353
|
|
|
|
|
#define MAX_PET_KIND 357
|
|
|
|
|
#else
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#define MAX_PET_KIND 10000 // ?????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#define MAX_PET_TBL 181 // ???????????
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#define MAX_PET_PAGE_SIZE 8 // ?????牙????????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#ifdef _PET_ITEM
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#define MAX_PET_SPECIES 42 // 唾昜昜笱杅講
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#endif
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????????去吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
enum{
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_PET, // ???牙
|
|
|
|
|
ANIM_DISP_PET_SEND, // ??????????????去
|
|
|
|
|
ANIM_DISP_PET_RECIEVE, // ?????????????去
|
2020-06-23 15:27:59 +08:00
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_PET_MAIN, // ?????去︻???
|
|
|
|
|
ANIM_DISP_PET_WALK, // 卷?
|
|
|
|
|
ANIM_DISP_PET_STAND, // ┴?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
ANIM_DISP_PET_ATTACK, // ??
|
|
|
|
|
ANIM_DISP_PET_GUARD, // ???
|
|
|
|
|
ANIM_DISP_PET_DAMAGE, // ????
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_PET_DEAD, // ?昀
|
|
|
|
|
ANIM_DISP_PET_ITEM, // ???????牙
|
2020-06-23 15:27:59 +08:00
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_LETTER_MOVE, // ??去
|
|
|
|
|
ANIM_DISP_LETTER, // ????????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_MIX_PET_INIT, // ???????
|
|
|
|
|
ANIM_DISP_MIX_PET_MOVE, // ?????????去
|
|
|
|
|
ANIM_DISP_MIX_PET_MOJI, // ???????????????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#ifdef _THEATER
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_THEATER_NPC, // 曄部NPC珆尨
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#endif
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _AniCrossFrame // Syu ADD 雄賒脯蚔徹賒醱汜昜
|
2020-06-23 15:27:59 +08:00
|
|
|
|
ANIM_DISP_CROSSFRAME = 18,
|
|
|
|
|
#endif
|
2020-06-23 15:53:23 +08:00
|
|
|
|
ANIM_DISP_MIX_PET_END, // ????????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
};
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????﹨▍
|
2020-06-23 15:27:59 +08:00
|
|
|
|
typedef struct{
|
2020-06-23 15:53:23 +08:00
|
|
|
|
char name[ PET_NAME_LEN + 1 ]; // ?????〈
|
|
|
|
|
char freeName[ PET_NAME_LEN + 1 ]; // ???????
|
|
|
|
|
int faceGraNo; // ???????????吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
int level; // ???
|
2020-06-23 15:53:23 +08:00
|
|
|
|
int maxHp; // ????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
int str; // ???
|
2020-06-23 15:53:23 +08:00
|
|
|
|
int quick; // ???
|
|
|
|
|
int def; // ??
|
|
|
|
|
int earth, water, fire, wind; // ???
|
|
|
|
|
int flag; // 仕??????ㄩ?????? ?ㄩ?? ?ㄩ????? ?ㄩ仕??? ?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
}PET_ALBUM;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????????????﹨▍
|
2020-06-23 15:27:59 +08:00
|
|
|
|
typedef struct{
|
2020-06-23 15:53:23 +08:00
|
|
|
|
int albumNo; // ?????????吻?
|
|
|
|
|
char name[ PET_NAME_LEN + 1 ]; // ?????〈
|
|
|
|
|
int faceGraNo; // ???????????吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
}PET_ALBUM_TBL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ????????
|
|
|
|
|
extern BOOL TaskBarFlag;
|
|
|
|
|
// ??????
|
|
|
|
|
extern unsigned int MenuToggleFlag;
|
|
|
|
|
// ?????????
|
|
|
|
|
extern ITEM_BUFFER ItemBuffer[];
|
|
|
|
|
// ????????????
|
|
|
|
|
extern int StatusUpPoint;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ·???阪??????????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern BOOL BattlePetReceiveFlag;
|
|
|
|
|
#ifdef _STANDBYPET
|
|
|
|
|
extern BOOL StandbyPetSendFlag;
|
|
|
|
|
#endif
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern int BattlePetReceivePetNo;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ??????更??
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern MAIL_HISTORY MailHistory[];
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????更?仕??向??????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern STR_BUFFER chatRegistryStr[];
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????向?更??
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern STR_BUFFER MailStr;
|
|
|
|
|
// ??????????????
|
|
|
|
|
extern ACTION *pActMenuWnd3;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????更?仕??向??????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern STR_BUFFER chatRegistryStr[];
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????更??
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern STR_BUFFER shougouChange;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _MONEYINPUT //Syu ADD 忒雄怀踢講
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern STR_BUFFER MymoneyBuffer;
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef _ITEM_JIGSAW
|
|
|
|
|
extern int JigsawIdx;
|
|
|
|
|
void SetJigsaw(int img, char *str);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
typedef enum{
|
|
|
|
|
MAIL_WND_VIEW,
|
|
|
|
|
MAIL_WND_SELECT,
|
|
|
|
|
MAIL_WND_SEND,
|
|
|
|
|
MAIL_WND_PET_SEND,
|
|
|
|
|
MAIL_WND_ITEM,
|
|
|
|
|
MAIL_WND_HISTORY,
|
|
|
|
|
}MAIL_WND_TYPE;
|
|
|
|
|
|
|
|
|
|
extern STR_BUFFER TradeBuffer;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????〈阪??更??
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern STR_BUFFER petNameChange;
|
|
|
|
|
// Terry add 2002/01/04
|
|
|
|
|
#ifdef __EDEN_AUCTION
|
2020-06-23 15:53:23 +08:00
|
|
|
|
extern STR_BUFFER AuctionStr; // 鼴闖唦扴僕,50跺趼
|
|
|
|
|
extern STR_BUFFER AuctionMoney; // 鼴闖歎郔嗣珨啃勀
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#endif
|
|
|
|
|
// Terry end
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ???????牙?????????吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern int petStatusNo;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
extern int mailHistoryWndPageNo; // ???????????吻?
|
|
|
|
|
extern int mailHistoryWndSelectNo; // ︻???????吻?
|
|
|
|
|
//extern int mailReceivePetGraNo; // ??????????????????吻?
|
2020-06-23 15:27:59 +08:00
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ·卯??去????????牙?????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern int MapWmdFlagBak;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ·卯??????????????????
|
|
|
|
|
#define RESULT_WND_CLOSE_TIME 300 // ?企
|
|
|
|
|
// ·卯?????????????????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern int ResultWndTimer;
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ??????
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern BOOL ItemMixRecvFlag;
|
|
|
|
|
|
|
|
|
|
// ???????
|
|
|
|
|
extern int MouseCursorFlag;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _TRADETALKWND // (祥褫羲) Syu ADD 蝠眢陔崝勤趕遺殤
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void TradeTalk ( char *msg ) ;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
void InitItem( int x, int y , BOOL bPetItemFlag);
|
|
|
|
|
|
|
|
|
|
// ?????????? *******************************************************/
|
|
|
|
|
void InitMenu( void );
|
|
|
|
|
|
|
|
|
|
// ??????????? *******************************************************/
|
|
|
|
|
void InitMenu2( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ??????????? *******************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL CheckMenuFlag( void );
|
|
|
|
|
|
|
|
|
|
// ?????? ***************************************************************/
|
|
|
|
|
void MenuProc( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????牙???? ***************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
ACTION *MakeWindowDisp( int x, int y, int sizeX, int sizeY, int titleNo, int wndType
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _NEW_RESOMODE //800 600耀宒
|
2020-06-23 15:27:59 +08:00
|
|
|
|
, BOOL fixType = TRUE
|
|
|
|
|
#endif
|
|
|
|
|
);
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ???刪叉????? ******************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL MakeHitBox( int x1, int y1, int x2, int y2, int dispPrio );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ???????卒㎏ ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL SaveMailHistory( int no );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ??????????? ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL LoadMailHistory( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ???????? ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL CheckMailNoReadFlag( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ??????????兣?﹐?? **************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void InitOhtaParam( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????? **********************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void DeathLetterAction( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????仕?更??卒㎏ ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL SaveChatRegistyStr( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????仕?更?????? ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL LoadChatRegistyStr( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// 更?????????? *****************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void CenteringStr( char *inStr, char *outStr, int max );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????? ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void CheckNewPet( int sprNo );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ·卯?????????? **********************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void CheckBattleNewPet( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ????????? ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL LoadAlbum( void );
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
// ?????卒㎏ ****************************************************************/
|
2020-06-23 15:27:59 +08:00
|
|
|
|
BOOL SaveAlbum( int no );
|
|
|
|
|
ACTION *MakeAnimDisp( int x, int y, int sprNo, int mode );
|
|
|
|
|
|
|
|
|
|
// Robin 04/16 trade
|
|
|
|
|
void tradeInit( void );
|
|
|
|
|
|
|
|
|
|
void BankmanInit( char* data );
|
|
|
|
|
void BankmanWN( void );
|
|
|
|
|
void closeBankman( void );
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _TELLCHANNEL //ROG ADD 躇逄耋
|
2020-06-23 15:27:59 +08:00
|
|
|
|
void InitSelectChar( char *msg, BOOL endFlag);
|
|
|
|
|
void SelectChar( void );
|
|
|
|
|
void DeathTellChannel( void );
|
|
|
|
|
extern int TalkMode;
|
|
|
|
|
extern char secretName[32];
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
2020-06-23 15:53:23 +08:00
|
|
|
|
#ifdef _FRIENDCHANNEL //ROG ADD 疑衭耋
|
2020-06-23 15:27:59 +08:00
|
|
|
|
#define MAX_ROOM_NUM 50
|
|
|
|
|
extern bool setRoomFlag;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
extern bool secretFlag; //躇逄梓
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern int selChar;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
extern ACTION *pChtChanlWnd; //謐毞弅弝敦
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern ACTION *pSelChanlWnd;
|
|
|
|
|
void SelectChatRoom( void );
|
|
|
|
|
void InitSelChatRoom(char *msg);
|
|
|
|
|
void InitCreateChatRoom(char *msg);
|
|
|
|
|
void ChatRoomWnd(void);
|
|
|
|
|
void initAssentWnd(char *data);
|
|
|
|
|
void AssentWnd(void);
|
2020-06-23 15:53:23 +08:00
|
|
|
|
extern STR_BUFFER chatRoomName; //謐毞弅靡備
|
2020-06-23 15:27:59 +08:00
|
|
|
|
extern ACTION *pSetRoomWnd;
|
2020-06-23 15:53:23 +08:00
|
|
|
|
void setRoomName(void); //扢隅謐毞弅靡備
|
2020-06-23 15:27:59 +08:00
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////
|
|
|
|
|
#ifdef _TIMEBAR_FUNCTION
|
|
|
|
|
int SetTimeBarPos(int timBarIdent, int CurPos);
|
|
|
|
|
int SetTimeBar(char *title, int range);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef _STANDBYPET
|
|
|
|
|
void send_StandBy_Pet( void);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef _NPC_ITEMUP
|
|
|
|
|
void ShowItemup(int value, int x, int y);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef _NPC_ITEMUP
|
|
|
|
|
void ShowCounttime(int value, int x, int y);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef _NEW_SPEED_
|
|
|
|
|
extern BOOL GameSpeedFlag;
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|