rifformat.h
来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 37 行
H
37 行
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File: RIFFormat.h
Owner: russf@gipsysoft.com
Purpose: <Description of module>.
----------------------------------------------------------------------*/
#ifndef RIFFORMAT_H
#define RIFFORMAT_H
#define RIF_SIGNATURE "\\RIF\\"
#define RIF_VERSION "001"
#pragma pack( push, 1 )
struct RIFHeader
{
BYTE bSig[5];
BYTE bVersion[3];
short nImageWidth;
short nImageHeight;
short nFrameCount;
long lDataBlockSize;
long lCompressedLength;
};
struct RIFFrameHeader
{
short nDisplayTimeMilliSeconds;
unsigned int bHasPalette: 1;
short nPaletteColors;
unsigned long lPaletteBytes;
unsigned long lFrameBytes;
};
#pragma pack( pop )
#endif //RIFFORMAT_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?