leixing.h
资源名称:ReadSWF_5.zip [点击查看]
上传用户:qzjinhui
上传日期:2020-10-10
资源大小:5260k
文件大小:2k
源码类别:
语音压缩
开发平台:
Visual C++
- #include "stdafx.h"
- typedef unsigned long U32, *P_U32, **PP_U32;
- typedef signed long S32, *P_S32, **PP_S32;
- typedef unsigned short U16, *P_U16, **PP_U16;
- typedef signed short S16, *P_S16, **PP_S16;
- typedef unsigned char U8, *P_U8, **PP_U8;
- typedef signed char S8, *P_S8, **PP_S8;
- typedef int BOOL;
- #define S64 __int64 // your 64-bit type goes here.
- typedef S32 SFIXED, *P_SFIXED; // a 16.16 fixed point number
- #ifdef DEBUG
- #define Dbg( x ) x
- #else
- #define Dbg( x ) /* */
- #endif
- #define Abs(v) ((v)<0?(-(v)):(v))
- #define Max(a,b) ((a)>(b)?(a):(b))
- #define Min(a,b) ((a)<(b)?(a):(b))
- #define LowU16(dw) ((U16)(U32)(dw))
- #define HighU16(dw) ((U16)((U32)(dw)>>16))
- #define LowU8(w) ((U8)(w))
- #define HighU8(w) ((U8)((U16)(w)>>8))
- #define MakeU16(lb,hb) (((U16)(hb)<<8)|(U16)(lb))
- #define MakeU32(lw,hw) (((U32)(hw)<<16)|(U32)(lw))
- // Limits
- #define maxU8 ((U8)0xFF)
- #define minS8 ((S8)0x80)
- #define maxS8 ((S8)0x7F)
- #define maxU16 ((U16)0xFFFF)
- #define minS16 ((S16)0x8000)
- #define maxS16 ((S16)0x7FFF)
- #define maxU32 ((U32)0xFFFFFFFF)
- #define minS32 ((S32)0x80000000)
- #define maxS32 ((S32)0x7FFFFFFF)
- #define FLASHASSERT(f) ((void)0)
- #define fixed_1 0x00010000L
- #define END 0
- #define SHOWFRAME 1
- #define DEFINESHAPE 2
- #define DEFINESHAPE2 22
- #define DEFINESHAPE3 32
- #define DEFINEMORPH 46
- #define SETBACKGROUNDCOLOR 9
- #define PLACEOBJECT 4
- #define PLACEOBJECT2 26
- #define REMOVEOBJECT 5
- #define REMOVEOBJECT2 28
- #define SHOWFRAME 1
- #define DEFINESPRITE 39
- #define DEFINESOUND 14
- #define STARTSOUND 15
- #define SOUNDSTREAMHEAD 18
- #define SOUNDSTREAMBLOCK 19
- #define SOUNDSTREAMHEAD2 45
- #define DOACTION 12
- #define DOINITACTION 59
- #define DEFINEFRAMELABEL 43
- #define DEFINEBITS 6
- #define JPEGTABLES 8
- #define DEFINEBITSJPEG2 21
- #define DEFINEBITSJPEG3 35
- #define DEFINEBITSLOSSLESS 20
- #define DEFINEBITSLOSSLESS2 36
- #define DEFINEFONT 10
- #define DEFINETEXT 11
- #define DEFINETEXT2 33
- #define DEFINETEXT 11
- #define DEFINETEXT2 33
- #define soundHasInPoint 0x01
- #define soundHasOutPoint 0x02
- #define soundHasLoops 0x04
- #define soundHasEnvelope 0x08
- #define BYTE unsigned char
- #define WORD unsigned short
- #define DWORD unsigned int
English
