12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- //---------------------------------------------------------------------------
- //
- // vfxshape.h - This file contains the header for the old shape format
- //
- //---------------------------------------------------------------------------//
- // Copyright (C) Microsoft Corporation. All rights reserved. //
- //===========================================================================//
- #ifndef VFXSHAPE_H
- #define VFXSHAPE_H
- //---------------------------------------------------------------------------
- // Include files
- #ifndef MCLIB_H
- #include "mclib.h"
- #endif
- #ifndef DAPRTYPE_H
- #include "daprtype.h"
- #endif
- //---------------------------------------------------------------------------------
- class Shape
- {
- public:
- MemoryPtr frameList; //This is binary image of VFX file
- MemoryPtr stupidHeader;
- unsigned long lastTurnUsed;
- Shape *next;
- AppearanceTypePtr owner;
- public:
- void init (void)
- {
- frameList = stupidHeader = NULL;
- lastTurnUsed = 0;
- next = NULL;
- owner = NULL;
- }
- Shape (void)
- {
- init();
- }
- long init (MemoryPtr fileBlock, AppearanceTypePtr, long shapeSize);
- void destroy (void);
- ~Shape (void)
- {
- destroy();
- }
- };
- typedef Shape *ShapePtr;
- //---------------------------------------------------------------------------------
- #endif
|