stoneage8.5/石器时代8.5客户端最新源代码/石器源码/system/shop.cpp

787 lines
25 KiB
C++
Raw Normal View History

2020-06-22 17:49:02 +08:00
/************************/
#include "../systeminc/version.h"
#include "../systeminc/system.h"
#include "../systeminc/pc.h"
#include "../systeminc/shop.h"
#include "../systeminc/tool.h"
#include "../systeminc/menu.h"
#include "../systeminc/t_music.h"
#include "../systeminc/netmain.h"
#include "../systeminc/map.h"
#include "../NewProto/protocol.h"
#include "../systeminc/login.h"
#include "../other/caryIme.h"
#include "../systeminc/field.h"
#include "../wgs/tea.h"
#include "../systeminc/VMProtectSDK.h"
int getfilesize(FILE* fp)
{
if( fp == NULL) return 0;
int size;
fseek(fp,0,SEEK_END);
size = ftell(fp);
fseek(fp,0,SEEK_SET);
return size;
}
#ifdef _NEWSHOP_
2020-06-23 15:27:59 +08:00
void <EFBFBD>̳ǽ<EFBFBD><EFBFBD><EFBFBD>(short x,short y,UCHAR <EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
void <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳Ƕ<EFBFBD><EFBFBD><EFBFBD>();
void <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒɾ<EFBFBD><EFBFBD>(short <EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
2020-06-22 17:49:02 +08:00
extern void getStrSplit( char *, char *, int, int, int );
void StockFontBufferSplit(int x, int y, char unk1, int color, char* data, int unk2,int strLen){
char token[310]={0};
getStrSplit(token,(char *)data,0x64,3,strLen);
char * b = token;
int c = 20;
int d = 0;
do{
if(strlen(b)!=1) StockFontBuffer(x,y+c*d,unk1,color,b,unk2);
++d;
b+=100;
}while(d < 3);
}
typedef int BOOL;
extern int indexWN;
extern int idWN;
extern int cloasewindows;
typedef struct {
2020-06-23 15:27:59 +08:00
char <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD>[32];
unsigned int <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
unsigned int <EFBFBD><EFBFBD>ϸ<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
unsigned int <EFBFBD><EFBFBD>Ʒ<EFBFBD>۸<EFBFBD>;
char <EFBFBD><EFBFBD>Ʒ˵<EFBFBD><EFBFBD>[500];
short <EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
}<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>ݽ;
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>_ <EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[5];
2020-06-22 17:49:02 +08:00
typedef struct {
2020-06-23 15:27:59 +08:00
short <EFBFBD><EFBFBD>ǰ;
short <EFBFBD>յ<EFBFBD>;
} <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
typedef struct {
2020-06-23 15:27:59 +08:00
BOOL ʹ<EFBFBD><EFBFBD>;
unsigned int <EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>ݽ * <EFBFBD><EFBFBD>Ʒ;
}<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD>;
2020-06-22 17:49:02 +08:00
typedef struct {
2020-06-23 15:27:59 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[15];
short <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>;
unsigned int <EFBFBD>ܼ۸<EFBFBD>;
} <EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
typedef struct {
2020-06-23 15:27:59 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD><EFBFBD>߿<EFBFBD>;
short <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID;
short <EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
BOOL <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
unsigned int <EFBFBD><EFBFBD><EFBFBD>Ҳʱ<EFBFBD>;
ACTION * <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
ACTION * <EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
short X;
short Y;
2020-06-23 15:27:59 +08:00
short <EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>;
BOOL <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬;
} <EFBFBD>̳ǽ;
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>ݽ <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[200];
<EFBFBD>̳ǽ <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
short <EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[][2] = {
2020-06-22 17:49:02 +08:00
{90,100},
{245,100},
{90,193},
{245,193},
{90,282},
{242,282},
{90,369},
{242,369}
};
2020-06-23 15:27:59 +08:00
short <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[][2]={
2020-06-22 17:49:02 +08:00
{0,5},
{1,9},
{2,11},
{3,14},
{4,17},
{5,19}
};
2020-06-23 15:27:59 +08:00
unsigned short <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[][4] ={
2020-06-22 17:49:02 +08:00
{40041,40046,40066,35},
{40042,40047,40067,106},
{40043,40048,40068,176},
{40044,40049,40069,246},
{40045,40050,40070,316},
};
2020-06-23 15:27:59 +08:00
void <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD>ʼ<EFBFBD><EFBFBD>()
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
memset(&<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,sizeof(<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>ݽ)*200);
memset(&<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,sizeof(<EFBFBD>̳ǽ));
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
int <EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD>( char *arr[], char *str, const char *del)//<2F>ַ<EFBFBD><D6B7>ָ<D6B8><EEBAAF><EFBFBD>ļ򵥶<C4BC><F2B5A5B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>
2020-06-22 17:49:02 +08:00
{
int num = 0;
char *s =NULL;
char *p =NULL;
s=strtok_s(str,del,&p);
while(s != NULL) {
arr[num] = s;
s = strtok_s(NULL,del,&p);
num++;
}
num--;
return num;
}
2020-06-23 15:27:59 +08:00
void <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳Ǵ<EFBFBD><EFBFBD>ڳ<EFBFBD>ʼ<EFBFBD><EFBFBD>(char * <EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>) DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD>ʼ<EFBFBD><EFBFBD>();
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>߿<EFBFBD> = getIntegerToken(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'|',1);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>Ҳʱ<EFBFBD> = getIntegerToken(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'|',2);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID = getIntegerToken(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,'|',3);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ=1;
if(<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID-1].<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>!=NULL){
int strlena=strlen(<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID-1].<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
char *<EFBFBD><EFBFBD>ʱ<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = new char [strlena+1];
memset(<EFBFBD><EFBFBD>ʱ<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,strlena+1);
memcpy(<EFBFBD><EFBFBD>ʱ<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID-1].<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,strlena);
char *<EFBFBD><EFBFBD>ʱȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[200] ={0};
char *<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[5]={0};
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD>(<EFBFBD><EFBFBD>ʱȫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD>ʱ<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"#");
2020-06-22 17:49:02 +08:00
int i=0;
2020-06-23 15:27:59 +08:00
for(;i<=<EFBFBD>̳<EFBFBD><EFBFBD><EF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FBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X=(800-<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>)/2;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y=(600-<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>)/2-40;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
ACTION* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳Ǵ<EFBFBD><EFBFBD><EFBFBD>()
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>) DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = MakeWindowDisp(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y,0,0,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID-1][0],0,FALSE);
2020-06-22 17:49:02 +08:00
play_se(202,320,240);
2020-06-23 15:27:59 +08:00
return <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
ACTION* <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ()
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID!=5){
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
int <EFBFBD><EFBFBD>ťID;
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+28,104,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID-1][0],1);
//<2F><><EFBFBD>Ͱ<EFBFBD>ť
2020-06-22 17:49:02 +08:00
int i=0;
for(;i<5;i++){
2020-06-23 15:27:59 +08:00
if(i!=(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID-1)){
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+1,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][3],<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+29,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][3]+69,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+1,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][3],106,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][2],1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
char <EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[10]={0};
sprintf_s(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"%d",i+1);
lssproto_WN_send(sockfd,nowGx,nowGy,indexWN,idWN,0,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
2020-06-22 17:49:02 +08:00
windowTypeWN = -1;
wnCloseFlag = 1;
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+1,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][3],106,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][1],1);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+1,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][3],106,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ[i][1],1);
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
//<2F>رհ<D8B1>ť
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+595,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+27,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+626,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+53,-1)==1){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+594,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+27,105,40054,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
cloasewindows = 1;
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+595,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+27,105,40061,1);
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <EFBFBD>̳ǽ<EFBFBD><EFBFBD><EFBFBD>(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+130,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+140,110);
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
//<2F><><EFBFBD>㰴ť
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+534,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+591,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+391,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+534,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,105,40072,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=1;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=TRUE;
2020-06-22 17:49:02 +08:00
}else{
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=2;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=TRUE;
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+534,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,105,40058,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+534,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,105,40058,1);
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
//<2F><><EFBFBD>չ<EFBFBD><D5B9><EFBFBD>
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+435,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+435+58,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372+19,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+435,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,105,40059,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>ܼ۸<EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>=0;
memset(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,sizeof(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD>)*15);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+435,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,105,40073,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+435,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+372,105,40073,1);
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
//<2F><>Ʒ<EFBFBD><C6B7>ҳ
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+39,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+405,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+66,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+39,105,40055,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ>1) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ-=1;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+39,105,40062,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+39,105,40062,1);
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
//<2F><>Ʒ<EFBFBD><C6B7>ҳ
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+370,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+405,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+397,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+370,105,40056,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ<<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>յ<EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ+=1;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+370,105,40063,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+379,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+370,105,40063,1);
//printf("<22><>ǰ=%d <20><><EFBFBD><EFBFBD>=%d\n",<2C>̳<EFBFBD><CCB3><EFBFBD><EFBFBD><EFBFBD>.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<2E><>ǰ,<2C>̳<EFBFBD><CCB3><EFBFBD><EFBFBD><EFBFBD>.<2E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<2E>յ<EFBFBD>);
short <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=0;
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ==1 || <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ==0) <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=75;
else if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ==<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>յ<EFBFBD>) <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=361;
else <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=(361-75)/(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>յ<EFBFBD>-1)*(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ-1)+75;
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+391,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>,105,26447,1);
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
//<2F>̳<EFBFBD><CCB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>>0){
short <EFBFBD><EFBFBD>ʼ,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
<EFBFBD><EFBFBD>ʼ = (<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰ-1)*8+1;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD><EFBFBD>ʼ+7;
if(<EFBFBD><EFBFBD><EFBFBD><EFBFBD> ><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>=0;
BOOL <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>=FALSE;
i=<EFBFBD><EFBFBD>ʼ;
for(;i<=<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;i++){
<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>++;
<EFBFBD><EFBFBD>ťID = StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][0],<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][1],106,<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,1);
if(HitDispNo==<EFBFBD><EFBFBD>ťID){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>!=<EFBFBD><EFBFBD>ťID){
DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
<EF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><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
}
}
}
2020-06-23 15:27:59 +08:00
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ť
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][0]+40,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][1],<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][0]+40+59,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][1]+22,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][0]+40,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][1],105,40071,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>Ҳʱ<EFBFBD> < <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>ܼ۸<EFBFBD> + <EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ<EFBFBD>۸<EFBFBD>){
StockChatBufferLine("ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵĽ<EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD>",6);
2020-06-22 17:49:02 +08:00
break;
}
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>߿<EFBFBD> < <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1){
StockChatBufferLine("ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵĵ<EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD>",6);
2020-06-22 17:49:02 +08:00
break;
}
2020-06-23 15:27:59 +08:00
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>){
memset(&<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,sizeof(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD>)*15);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[0].ʹ<EFBFBD><EFBFBD>=TRUE;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[0].<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=1;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>=1;
<EFBFBD>̳<EFBFBD><EFBFBD><EF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D><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>*3-2><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>--;
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>=1;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][0]+40,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][1],105,40057,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><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-1][0]+38,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+<EFBFBD>̳ǵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1][1]-20,1,4,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ && !<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>){
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
}
}
}
2020-06-23 15:27:59 +08:00
//<2F><><EFBFBD><EFBFBD><EFB3B5><EFBFBD><EFBFBD>
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>>0){
short <EFBFBD><EFBFBD>ʼ,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
<EFBFBD><EFBFBD>ʼ = (<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>-1)*3+1;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>*3;
if(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>) <EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>;
short <EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD> =0;
BOOL <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD> = FALSE;
int i=<EFBFBD><EFBFBD>ʼ;
for(;i<=<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;i++){
<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>++;
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+412,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+67+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),105,40053,1);
//<2F><><EFBFBD><EFBFBD><EFB3B5>ҳ
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+505,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+505+31,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80)+16,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+505,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,40064,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>ܼ۸<EFBFBD>-= <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>Ʒ<EFBFBD>۸<EFBFBD>;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<E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ҳ<EFBFBD><EFBFBD>;
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD>͸<EFBFBD><EFBFBD><EFBFBD>)
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>=0;
2020-06-22 17:49:02 +08:00
}
break;
2020-06-23 15:27:59 +08:00
}else <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD><EFBFBD><EFBFBD>-=1;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+505,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,40051,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+505,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,40051,1);
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+571,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+571+31,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80)+16,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+571,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,40065,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>Ҳʱ<EFBFBD> < <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>ܼ۸<EFBFBD> + <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>Ʒ<EFBFBD>۸<EFBFBD>){
StockChatBufferLine("ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵĽ<EFBFBD><EFBFBD>Ҳ<EFBFBD><EFBFBD>",6);
2020-06-22 17:49:02 +08:00
break;
}
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>߿<EFBFBD> < <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1){
StockChatBufferLine("ϵͳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵĵ<EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD>",6);
2020-06-22 17:49:02 +08:00
break;
}
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>++;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>ܼ۸<EFBFBD>+=<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>Ʒ<EFBFBD>۸<EFBFBD>;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD><EFBFBD><EFBFBD>++;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+571,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,40052,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+571,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,40052,1);
<EFBFBD><EFBFBD>ťID = StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+455,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+105+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),106,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,1);
if(HitDispNo==<EFBFBD><EFBFBD>ťID){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>!=<EFBFBD><EFBFBD>ťID){
DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+455,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+105+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),109,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>Ʒ˵<EFBFBD><EFBFBD>,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>ϸ<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD>);
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>=TRUE;
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=<EFBFBD><EFBFBD>ťID;
}else if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
char <EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[128]={0};
sprintf_s(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"%-5d<35><64><EFBFBD><EFBFBD>",<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EF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><EFBFBD><EFBFBD>.Y+121+((<EFBFBD><EFBFBD>ʱλ<EFBFBD><EFBFBD>-1)*80),1,4,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
if(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬=TRUE;
else <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ = FALSE;
//<2F><><EFBFBD><EFBFBD><EFB3B5>ť<EFBFBD><C5A5>ҳ
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+420,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+420+31,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312+16,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+420,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,105,40064,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>!=1) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>-=1;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+420,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,105,40051,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+420,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,105,40051,1);
//<2F><><EFBFBD><EFBFBD><EFB3B5>ť<EFBFBD><C5A5>ҳ
if(MakeHitBox(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+575,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+575+31,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312+16,-1)==1){
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+575,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,105,40065,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>!=<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>+=1;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+575,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,105,40052,1);
}else StockDispBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+575,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+312,105,40052,1);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
char <EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[20]={0};
sprintf_s(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"%-3d/ %-3d",<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ǰҳ<EFBFBD><EFBFBD>,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ҳ<EFBFBD><EFBFBD>);
StockFontBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+490,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+314,1,0,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0);
memset(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,20);
sprintf_s(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"%d",<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>Ҳʱ<EFBFBD>);
StockFontBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+462,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+342,1,0,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0);
memset(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,20);
sprintf_s(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"%d",<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD>ܼ۸<EFBFBD>);
StockFontBuffer(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X+573,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+342,1,0,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0);
2020-06-22 17:49:02 +08:00
if( CheckMenuFlag()
|| ((joy_trg[ 0 ] & JOY_ESC) && GetImeString() == NULL)
|| actBtn == 1
|| menuBtn == 1
|| disconnectServerFlag == TRUE
|| wnCloseFlag == 1
|| cloasewindows == 1)
{
wnCloseFlag = 0;
cloasewindows = 0;
2020-06-23 15:27:59 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳Ƕ<EFBFBD><EFBFBD><EFBFBD>();
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
return <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
void <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̳Ƕ<EFBFBD><EFBFBD><EFBFBD>()
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>) DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) DeathAction(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>=-1;
2020-06-22 17:49:02 +08:00
wnCloseFlag=0;
windowTypeWN = -1;
wnCloseFlag = 1;
}
2020-06-23 15:27:59 +08:00
void <EFBFBD>̳ǽ<EFBFBD><EFBFBD><EFBFBD>(short x,short y,UCHAR <EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>==1){
StockDispBuffer(x,y,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40088,1);
StockFontBuffer(x+110,y+50,2,0,"<EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>",0);
2020-06-22 17:49:02 +08:00
if(MakeHitBox(x+60,y+100,x+60+105,y+100+18,-1)==1){
2020-06-23 15:27:59 +08:00
StockDispBuffer(x+60,y+100,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,40084,1);
2020-06-22 17:49:02 +08:00
if( (mouse.onceState & MOUSE_LEFT_CRICK)){
2020-06-23 15:27:59 +08:00
char <EFBFBD><EFBFBD><EFBFBD><EFBFBD>[256]={0};
2020-06-22 17:49:02 +08:00
int i=0;
for(;i<15;i++){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i].ʹ<EFBFBD><EFBFBD>){
char <EFBFBD><EFBFBD>ʱ[15]={0};
sprintf_s(<EFBFBD><EFBFBD>ʱ,"%d|%d#",<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i].<EFBFBD><EFBFBD>Ʒ-><EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i].<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
strcat_s(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD>ʱ);
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
lssproto_WN_send(sockfd,nowGx,nowGy,indexWN,idWN,<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
2020-06-22 17:49:02 +08:00
windowTypeWN = -1;
wnCloseFlag = 1;
}
2020-06-23 15:27:59 +08:00
}else StockDispBuffer(x+60,y+100,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,40086,1);
2020-06-22 17:49:02 +08:00
if(MakeHitBox(x+220,y+100,x+220+105,y+100+18,-1)==1){
2020-06-23 15:27:59 +08:00
StockDispBuffer(x+220,y+100,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,40085,1);
if( (mouse.onceState & MOUSE_LEFT_CRICK)) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=FALSE;
}else StockDispBuffer(x+220,y+100,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,40087,1);
2020-06-22 17:49:02 +08:00
}else{
2020-06-23 15:27:59 +08:00
StockDispBuffer(x,y,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40088,1);
StockFontBuffer(x+130,y+50,2,0,"<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD>ﳵû<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><EFBFBD>",0);
2020-06-22 17:49:02 +08:00
if(MakeHitBox(x+140,y+100,x+140+105,y+100+18,-1)==1){
2020-06-23 15:27:59 +08:00
StockDispBuffer(x+140,y+100,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,40090,1);
if( (mouse.onceState & MOUSE_LEFT_CRICK)) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=FALSE;
}else StockDispBuffer(x+140,y+100,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1,40089,1);
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
void <EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(short x,short y,UCHAR <EFBFBD><EFBFBD><EFBFBD><EFBFBD>,char* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>,unsigned int <EFBFBD><EFBFBD><EFBFBD><EFBFBD>,char*<EFBFBD><EFBFBD><EFBFBD><EFBFBD> )
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
char <EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>[500]={0};
sprintf_s(<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"%s",<EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
char *<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[30]={0};
int <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = 0;
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID!=5){
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>и<EFBFBD>(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,"\n");
if(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-1][0]==0) <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>--;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
int <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1=<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;
int ͼƬ<EFBFBD><EFBFBD>,ͼƬx,ͼƬy,i=0;
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ID!=5){
2020-06-22 17:49:02 +08:00
for(;i<6;i++){
if(i==5) {
2020-06-23 15:27:59 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i][0];
2020-06-22 17:49:02 +08:00
break;
}
2020-06-23 15:27:59 +08:00
if(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i][1]>=<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>){
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i][0];
2020-06-22 17:49:02 +08:00
break;
}
}
2020-06-23 15:27:59 +08:00
ͼƬ<EFBFBD><EFBFBD> = <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*48+144;
if((x-190) >(628+<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X-x-65)) ͼƬx=x-190;
else ͼƬx=x+35;
ͼƬy=y-(ͼƬ<EFBFBD><EFBFBD>/2);
BOOL <EFBFBD>ж<EFBFBD>=FALSE;
2020-06-22 17:49:02 +08:00
while(true){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y > ͼƬy-20){
ͼƬy +=10;
<EFBFBD>ж<EFBFBD>=TRUE;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
if((<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+386+30) < (ͼƬy+ͼƬ<EFBFBD><EFBFBD>)){
ͼƬy -=10;
<EFBFBD>ж<EFBFBD>=TRUE;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
if(<EFBFBD>ж<EFBFBD>) <EFBFBD>ж<EFBFBD>=FALSE;
2020-06-22 17:49:02 +08:00
else break;
}
2020-06-23 15:27:59 +08:00
StockDispBuffer(ͼƬx+80,ͼƬy+50,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40171,1);
int <EFBFBD><EFBFBD>=48;
if(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> >=1){
for(i=1;i<=<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;i++) StockDispBuffer(ͼƬx+80,ͼƬy+50+<EFBFBD><EFBFBD>*(i-1)+83,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40172,1);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
StockDispBuffer(ͼƬx+80,ͼƬy+50+<EFBFBD><EFBFBD>*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>+83,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40173,1);
int <EFBFBD><EFBFBD><EFBFBD><EFBFBD>x,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>y;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>x=ͼƬx+6-10;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>y=ͼƬy-25+50;
2020-06-22 17:49:02 +08:00
2020-06-23 15:27:59 +08:00
for(i=1;i<=<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1+1;i++) StockFontBufferSplit(<EFBFBD><EFBFBD><EFBFBD><EFBFBD>x+15,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>y+((i-1)*20),FONT_PRIO_AFRONT,0,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i-1],0,20);
2020-06-22 17:49:02 +08:00
}else{
2020-06-23 15:27:59 +08:00
ͼƬ<EFBFBD><EFBFBD> = 1*48+144;
if((x-190) >(628+<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.X-x-65)) ͼƬx=x-190;
else ͼƬx=x+35;
ͼƬy=y-(ͼƬ<EFBFBD><EFBFBD>/2);
BOOL <EFBFBD>ж<EFBFBD>=FALSE;
2020-06-22 17:49:02 +08:00
while(true){
2020-06-23 15:27:59 +08:00
if(<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y > ͼƬy-20){
ͼƬy +=10;
<EFBFBD>ж<EFBFBD>=TRUE;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
if((<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.Y+386+30) < (ͼƬy+ͼƬ<EFBFBD><EFBFBD>)){
ͼƬy -=10;
<EFBFBD>ж<EFBFBD>=TRUE;
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
if(<EFBFBD>ж<EFBFBD>) <EFBFBD>ж<EFBFBD>=FALSE;
2020-06-22 17:49:02 +08:00
else break;
}
2020-06-23 15:27:59 +08:00
StockDispBuffer(ͼƬx+80,ͼƬy+50,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40171,1);
int <EFBFBD><EFBFBD>=48;
StockDispBuffer(ͼƬx+80,ͼƬy+50+83,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,40173,1);
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = MakeAnimDisp(ͼƬx+76,ͼƬy+80,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0);
StockFontBufferSplit(ͼƬx+15,ͼƬy+100,2,0,<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,20);
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
void <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒɾ<EFBFBD><EFBFBD>(short <EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>].<EFBFBD><EFBFBD>Ʒ=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>].<EFBFBD><EFBFBD><EFBFBD><EFBFBD>=0;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>].ʹ<EFBFBD><EFBFBD>=FALSE;
int i = <EFBFBD><EFBFBD><EFBFBD><EFBFBD>+1;
2020-06-22 17:49:02 +08:00
if(i>14) return;
for(i;i<15;i++){
2020-06-23 15:27:59 +08:00
if(!<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i].ʹ<EFBFBD><EFBFBD>) break;
<EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFB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><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD>.<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[i].ʹ<EFBFBD><EFBFBD>=FALSE;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> = i;
2020-06-22 17:49:02 +08:00
}
}
2020-06-23 15:27:59 +08:00
void <EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ(char * ·<EFBFBD><EFBFBD>,<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>_ *<EFBFBD>̳<EFBFBD>)
2020-06-22 17:49:02 +08:00
{
FILE *fp;
2020-06-23 15:27:59 +08:00
fopen_s(&fp,·<EFBFBD><EFBFBD>,"rb");
2020-06-22 17:49:02 +08:00
if( fp == NULL )
{
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD>->MD5<EFBFBD><EFBFBD>[0]=NULL;
<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=NULL;
2020-06-22 17:49:02 +08:00
return;
}
int size = getfilesize(fp);
2020-06-23 15:27:59 +08:00
char *<EFBFBD><EFBFBD>ʱ = (char*)malloc(size);
fread(<EFBFBD><EFBFBD>ʱ,1,size,fp);
2020-06-22 17:49:02 +08:00
fclose(fp);
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = (char*)malloc(size-34+1);
memset(<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0,size-34+1);
memset(<EFBFBD>̳<EFBFBD>->MD5<EFBFBD><EFBFBD>,0,64);
memcpy_s(<EFBFBD>̳<EFBFBD>->MD5<EFBFBD><EFBFBD>,34,<EFBFBD><EFBFBD>ʱ,34);
memcpy_s(<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,size-34,<EFBFBD><EFBFBD>ʱ+34,size-34);
TEA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>((long*)<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,((size-34)/4),(long*)_KEY_);
free(<EFBFBD><EFBFBD>ʱ);
2020-06-22 17:49:02 +08:00
}
2020-06-23 15:27:59 +08:00
void <EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(char * ·<EFBFBD><EFBFBD>,<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>_ *<EFBFBD>̳<EFBFBD>)
2020-06-22 17:49:02 +08:00
{
FILE *fp;
2020-06-23 15:27:59 +08:00
fopen_s(&fp,·<EFBFBD><EFBFBD>,"wb");
int length=strlen(<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>);
2020-06-22 17:49:02 +08:00
int length1 = length%4?length+(4-length%4):length;
2020-06-23 15:27:59 +08:00
char *<EFBFBD><EFBFBD>ʱ = (char*)malloc(34+length1);
memset(<EFBFBD><EFBFBD>ʱ,0,34+length1);
memcpy_s(<EFBFBD><EFBFBD>ʱ,34,<EFBFBD>̳<EFBFBD>->MD5<EFBFBD><EFBFBD>,34);
memcpy_s((<EFBFBD><EFBFBD>ʱ+34),length,<EFBFBD>̳<EFBFBD>-><EFBFBD>̳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,length);
2020-06-22 17:49:02 +08:00
#ifdef _VMP_
2020-06-23 15:27:59 +08:00
TEA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>((long *)(<EFBFBD><EFBFBD>ʱ+34),(long)(length1/4),(long*)VMProtectDecryptStringA(_KEY_));
2020-06-22 17:49:02 +08:00
#else
2020-06-23 15:27:59 +08:00
TEA<EFBFBD><EFBFBD><EFBFBD><EFBFBD>((long *)(<EFBFBD><EFBFBD>ʱ+34),(long)(length1/4),(long*)_KEY_);
2020-06-22 17:49:02 +08:00
#endif
2020-06-23 15:27:59 +08:00
fwrite(<EFBFBD><EFBFBD>ʱ, length1+34, 1, fp);
free(<EFBFBD><EFBFBD>ʱ);
2020-06-22 17:49:02 +08:00
fclose(fp);
}
2020-06-23 15:27:59 +08:00
void <EFBFBD>̳dz<EFBFBD>ʼ<EFBFBD><EFBFBD>()
2020-06-22 17:49:02 +08:00
{
2020-06-23 15:27:59 +08:00
<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ("./data/shop1.bin",&<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[0]);
<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ("./data/shop2.bin",&<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[1]);
<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ("./data/shop3.bin",&<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[2]);
<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ("./data/shop4.bin",&<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[3]);
<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>ȡ("./data/shop5.bin",&<EFBFBD>̳<EFBFBD><EFBFBD>ļ<EFBFBD>[4]);
2020-06-22 17:49:02 +08:00
}
#endif