📄 smap.h
字号:
/********************************************************************************************
*
* Map Editor
* Map Edit Class.
* sMap.h
* Edition : DX1.0a
* Author : CCH & LightWing
* Red Ants . SoftWorld . BeiJing
* (C)1998 5-6
*
********************************************************************************************/
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef struct S_MAP_ELEMENT_ATTR
{
DWORD Index; // 图元索引号.
BYTE Height; // 地形高度.
BYTE Reserved[3];
DWORD hotx; // 中心点.
DWORD hoty; //
// Properties of map, include:
// 地图属性,包括:
// 1.> structure | land | water | stone ?
// 2.> animate of terrain on | off?
// 3.> allow step ?
// ...
DWORD Cap; // 地图属性.
DWORD pData; // 在图块文件的数据索引地址
} SME;
// header of ppt file
typedef struct SPPTFileHeader
{
DWORD iBlockSum;
} SPPTHeader;
//
// file.elm
//lstrcpy
typedef struct SElementFile
{
struct sHead
{
int Width; // width of the block by pixel
int Height; // height of the block by pixel
}head;
BYTE *pBitData; // pointer to the data.
} SMEData;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -