forked from metin2/server
Refactored directory structure, added game files from TMP
This commit is contained in:
63
src/common/building.h
Normal file
63
src/common/building.h
Normal file
@ -0,0 +1,63 @@
|
||||
#ifndef __METIN_II_COMMON_BUILDING_H__
|
||||
#define __METIN_II_COMMON_BUILDING_H__
|
||||
|
||||
namespace building
|
||||
{
|
||||
enum
|
||||
{
|
||||
OBJECT_MATERIAL_MAX_NUM = 5,
|
||||
};
|
||||
|
||||
typedef struct SLand
|
||||
{
|
||||
DWORD dwID;
|
||||
int lMapIndex;
|
||||
int x, y;
|
||||
int width, height;
|
||||
DWORD dwGuildID;
|
||||
BYTE bGuildLevelLimit;
|
||||
DWORD dwPrice;
|
||||
} TLand;
|
||||
|
||||
typedef struct SObjectMaterial
|
||||
{
|
||||
DWORD dwItemVnum;
|
||||
DWORD dwCount;
|
||||
} TObjectMaterial;
|
||||
|
||||
typedef struct SObjectProto
|
||||
{
|
||||
DWORD dwVnum;
|
||||
DWORD dwPrice;
|
||||
|
||||
TObjectMaterial kMaterials[OBJECT_MATERIAL_MAX_NUM];
|
||||
|
||||
DWORD dwUpgradeVnum;
|
||||
DWORD dwUpgradeLimitTime;
|
||||
int lLife;
|
||||
int lRegion[4];
|
||||
|
||||
DWORD dwNPCVnum;
|
||||
int lNPCX;
|
||||
int lNPCY;
|
||||
|
||||
DWORD dwGroupVnum; // <20><><EFBFBD><EFBFBD> <20><EFBFBD><D7B7><EFBFBD> <20>ϳ<EFBFBD><CFB3><EFBFBD> <20>Ǽ<EFBFBD><C7BC><EFBFBD><EFBFBD><EFBFBD>
|
||||
DWORD dwDependOnGroupVnum; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>־<EFBFBD><D6BE><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><EFBFBD>
|
||||
} TObjectProto;
|
||||
|
||||
typedef struct SObject
|
||||
{
|
||||
DWORD dwID;
|
||||
DWORD dwLandID;
|
||||
DWORD dwVnum;
|
||||
int lMapIndex;
|
||||
int x, y;
|
||||
|
||||
float xRot;
|
||||
float yRot;
|
||||
float zRot;
|
||||
int lLife;
|
||||
} TObject;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user