GAF Library
Generic Animation Format
 All Classes Functions Pages
GAFHeader.h
1 #pragma once
2 
3 class GAFHeader
4 {
5 public:
6 
7  enum Compression
8  {
9  __CompressionDefault = 0, // Internal
10  CompressedNone = 0x00474146, // GAF
11  CompressedZip = 0x00474143, // GAC
12  };
13 
14 public:
15  Compression compression;
16  unsigned short version;
17  unsigned int fileLenght;
18  unsigned short framesCount;
19  cocos2d::Rect frameSize;
20  cocos2d::Vect pivot;
21 };
Definition: GAFHeader.h:3