⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zonetypes.h

📁 天之炼狱1服务器端源文件游戏服务端不完整
💻 H
字号:
//////////////////////////////////////////////////////////////////////////////// Filename    : ZoneTypes.h// Written By  : Reiot// Description : //////////////////////////////////////////////////////////////////////////////#ifndef __ZONE_TYPES_H__#define __ZONE_TYPES_H__#include "SystemTypes.h"////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////#define DARK_MAX	13#define	LIGHT_MAX	15//////////////////////////////////////////////////////////////////////////////// 粮 弊缝 酒捞叼 : 粮 弊缝 概聪历俊辑 粮阑 备盒窍绰 identifier捞促.//////////////////////////////////////////////////////////////////////////////typedef WORD ZoneGroupID_t;const uint szZoneGroupID = sizeof(ZoneGroupID_t);//////////////////////////////////////////////////////////////////////////////// 粮 酒捞叼 : 粮 概聪历俊辑 粮阑 备盒窍绰 identifier捞促.//////////////////////////////////////////////////////////////////////////////typedef WORD ZoneID_t;const uint szZoneID = sizeof(ZoneID_t);//////////////////////////////////////////////////////////////////////////////// 粮 饭骇//////////////////////////////////////////////////////////////////////////////typedef BYTE ZoneLevel_t;const uint szZoneLevel = sizeof(ZoneLevel_t);const BYTE NO_SAFE_ZONE       = 0x00;const BYTE SLAYER_SAFE_ZONE   = 0x01;const BYTE VAMPIRE_SAFE_ZONE  = 0x02;const BYTE COMPLETE_SAFE_ZONE = 0x04;const BYTE NO_PK_ZONE         = 0x08;const BYTE SAFE_ZONE          = 0x17;const BYTE OUSTERS_SAFE_ZONE  = 0x10;//////////////////////////////////////////////////////////////////////////////// 粮狼 啊肺/技肺 农扁//////////////////////////////////////////////////////////////////////////////const uint maxZoneWidth  = 256;const uint maxZoneHeight = 256;typedef WORD ZoneCoord_t;const uint szZoneCoord = sizeof(ZoneCoord_t);//////////////////////////////////////////////////////////////////////////////// 粮狼 朝揪, 朝揪 饭骇//////////////////////////////////////////////////////////////////////////////const uint szWeather = szBYTE;enum Weather {	WEATHER_CLEAR, 	WEATHER_RAINY, 	WEATHER_SNOWY,	WEATHER_MAX};const string Weather2String [] = {	"WEATHER_CLEAR" , 	"WEATHER_RAINY" , 	"WEATHER_SNOWY" };// 1 - 20 荤捞狼 沥荐肺, 厚唱 传狼 剧阑 唱鸥郴绰 窜困捞促.typedef BYTE WeatherLevel_t;const uint szWeatherLevel = sizeof(WeatherLevel_t);//////////////////////////////////////////////////////////////////////////////// 粮俊辑狼 NPC客 Monster 辆幅狼 弥措 俺荐//////////////////////////////////////////////////////////////////////////////const uint maxNPCPerZone     = 255;const uint maxMonsterPerZone = 255;//////////////////////////////////////////////////////////////////////////////// 粮狼 绢涤扁客 灌扁//////////////////////////////////////////////////////////////////////////////typedef BYTE DarkLevel_t;const uint szDarkLevel = sizeof(DarkLevel_t);typedef BYTE LightLevel_t;const uint szLightLevel = sizeof(LightLevel_t);//////////////////////////////////////////////////////////////////////////////// point structure//////////////////////////////////////////////////////////////////////////////typedef struct _TPOINT {	int x;	int y;} TPOINT;//////////////////////////////////////////////////////////////////////////////// zone coord structure//////////////////////////////////////////////////////////////////////////////class ZONE_COORD {public:	ZONE_COORD(ZoneID_t ZID=0, ZoneCoord_t ZX=0, ZoneCoord_t ZY=0) { id = ZID; x = ZX; y = ZY; }	void set(ZoneID_t ZID, ZoneCoord_t ZX, ZoneCoord_t ZY) { id = ZID; x = ZX; y = ZY; }public:	ZoneID_t    id;	ZoneCoord_t x;	ZoneCoord_t y;}; #endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -