/src/FreeImage/Source/LibMNG/libmng_objects.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 635 lines · 418 code · 97 blank · 120 comment · 1 complexity · eb1322b5e4eaf0558787994848f3fc3b MD5 · raw file

  1. /* ************************************************************************** */
  2. /* * For conditions of distribution and use, * */
  3. /* * see copyright notice in libmng.h * */
  4. /* ************************************************************************** */
  5. /* * * */
  6. /* * project : libmng * */
  7. /* * file : libmng_objects.h copyright (c) 2000-2007 G.Juyn * */
  8. /* * version : 1.0.10 * */
  9. /* * * */
  10. /* * purpose : Internal object structures (definition) * */
  11. /* * * */
  12. /* * author : G.Juyn * */
  13. /* * * */
  14. /* * comment : Definition of the internal object structures * */
  15. /* * * */
  16. /* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */
  17. /* * - changed strict-ANSI stuff * */
  18. /* * * */
  19. /* * 0.5.2 - 05/23/2000 - G.Juyn * */
  20. /* * - changed inclusion to DISPLAY_PROCS * */
  21. /* * 0.5.2 - 05/24/2000 - G.Juyn * */
  22. /* * - added global color-chunks for animations * */
  23. /* * - added global PLTE,tRNS,bKGD chunks for animation * */
  24. /* * - added SAVE & SEEK animation objects * */
  25. /* * 0.5.2 - 05/29/2000 - G.Juyn * */
  26. /* * - added framenr/layernr/playtime to object header * */
  27. /* * 0.5.2 - 05/30/2000 - G.Juyn * */
  28. /* * - added ani-objects for delta-image processing * */
  29. /* * - added compression/filter/interlace fields to * */
  30. /* * object-buffer for delta-image processing * */
  31. /* * * */
  32. /* * 0.5.3 - 06/17/2000 - G.Juyn * */
  33. /* * - changed definition of aTRNSentries * */
  34. /* * 0.5.3 - 06/22/2000 - G.Juyn * */
  35. /* * - added definition for PPLT animation-processing * */
  36. /* * * */
  37. /* * 0.9.2 - 08/05/2000 - G.Juyn * */
  38. /* * - changed file-prefixes * */
  39. /* * * */
  40. /* * 0.9.3 - 08/26/2000 - G.Juyn * */
  41. /* * - added MAGN chunk * */
  42. /* * 0.9.3 - 09/10/2000 - G.Juyn * */
  43. /* * - fixed DEFI behavior * */
  44. /* * 0.9.3 - 10/16/2000 - G.Juyn * */
  45. /* * - added support for delta-JNG * */
  46. /* * 0.9.3 - 10/17/2000 - G.Juyn * */
  47. /* * - added valid-flag to stored objects for read() / display()* */
  48. /* * 0.9.3 - 10/19/2000 - G.Juyn * */
  49. /* * - added storage for pixel-/alpha-sampledepth for delta's * */
  50. /* * * */
  51. /* * 1.0.5 - 09/13/2002 - G.Juyn * */
  52. /* * - fixed read/write of MAGN chunk * */
  53. /* * 1.0.5 - 09/15/2002 - G.Juyn * */
  54. /* * - added event handling for dynamic MNG * */
  55. /* * 1.0.5 - 09/20/2002 - G.Juyn * */
  56. /* * - added support for PAST * */
  57. /* * 1.0.5 - 09/23/2002 - G.Juyn * */
  58. /* * - added in-memory color-correction of abstract images * */
  59. /* * 1.0.5 - 10/07/2002 - G.Juyn * */
  60. /* * - fixed DISC support * */
  61. /* * * */
  62. /* * 1.0.6 - 10/07/2003 - G.R-P * */
  63. /* * - added SKIPCHUNK conditionals * */
  64. /* * * */
  65. /* * 1.0.7 - 03/24/2004 - G.R-P * */
  66. /* * - added more SKIPCHUNK conditionals * */
  67. /* * * */
  68. /* * 1.0.9 - 12/05/2004 - G.Juyn * */
  69. /* * - added conditional MNG_OPTIMIZE_OBJCLEANUP * */
  70. /* * * */
  71. /* * 1.0.10 - 04/08/2007 - G.Juyn * */
  72. /* * - added support for mPNG proposal * */
  73. /* * 1.0.10 - 04/12/2007 - G.Juyn * */
  74. /* * - added support for ANG proposal * */
  75. /* * * */
  76. /* ************************************************************************** */
  77. #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
  78. #pragma option -A /* force ANSI-C */
  79. #endif
  80. #ifndef _libmng_objects_h_
  81. #define _libmng_objects_h_
  82. /* ************************************************************************** */
  83. #ifdef MNG_INCLUDE_DISPLAY_PROCS
  84. /* ************************************************************************** */
  85. typedef mng_retcode (*mng_cleanupobject) (mng_datap pData,
  86. mng_objectp pHeader);
  87. typedef mng_retcode (*mng_processobject) (mng_datap pData,
  88. mng_objectp pHeader);
  89. /* ************************************************************************** */
  90. typedef struct {
  91. mng_cleanupobject fCleanup;
  92. mng_processobject fProcess;
  93. mng_objectp pNext; /* for double-linked list */
  94. mng_objectp pPrev;
  95. mng_uint32 iFramenr;
  96. mng_uint32 iLayernr;
  97. mng_uint32 iPlaytime;
  98. #ifdef MNG_OPTIMIZE_OBJCLEANUP
  99. mng_size_t iObjsize;
  100. #endif
  101. } mng_object_header;
  102. typedef mng_object_header * mng_object_headerp;
  103. /* ************************************************************************** */
  104. typedef struct { /* MNG specification "object-buffer" */
  105. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  106. mng_uint32 iRefcount; /* reference counter */
  107. mng_bool bFrozen; /* frozen flag */
  108. mng_bool bConcrete; /* concrete flag */
  109. mng_bool bViewable; /* viewable flag */
  110. mng_uint32 iWidth; /* image specifics */
  111. mng_uint32 iHeight;
  112. mng_uint8 iBitdepth;
  113. mng_uint8 iColortype;
  114. mng_uint8 iCompression;
  115. mng_uint8 iFilter;
  116. mng_uint8 iInterlace;
  117. mng_bool bCorrected; /* indicates if an abstract image
  118. has already been color-corrected */
  119. mng_uint8 iAlphabitdepth; /* used only for JNG images */
  120. mng_uint8 iJHDRcompression;
  121. mng_uint8 iJHDRinterlace;
  122. mng_uint8 iPixelsampledepth; /* used with delta-images */
  123. mng_uint8 iAlphasampledepth;
  124. mng_bool bHasPLTE; /* PLTE chunk present */
  125. mng_bool bHasTRNS; /* tRNS chunk present */
  126. mng_bool bHasGAMA; /* gAMA chunk present */
  127. mng_bool bHasCHRM; /* cHRM chunk present */
  128. mng_bool bHasSRGB; /* sRGB chunk present */
  129. mng_bool bHasICCP; /* iCCP chunk present */
  130. mng_bool bHasBKGD; /* bKGD chunk present */
  131. mng_uint32 iPLTEcount; /* PLTE fields */
  132. mng_rgbpaltab aPLTEentries;
  133. mng_uint16 iTRNSgray; /* tRNS fields */
  134. mng_uint16 iTRNSred;
  135. mng_uint16 iTRNSgreen;
  136. mng_uint16 iTRNSblue;
  137. mng_uint32 iTRNScount;
  138. mng_uint8arr aTRNSentries;
  139. mng_uint32 iGamma; /* gAMA fields */
  140. mng_uint32 iWhitepointx; /* cHRM fields */
  141. mng_uint32 iWhitepointy;
  142. mng_uint32 iPrimaryredx;
  143. mng_uint32 iPrimaryredy;
  144. mng_uint32 iPrimarygreenx;
  145. mng_uint32 iPrimarygreeny;
  146. mng_uint32 iPrimarybluex;
  147. mng_uint32 iPrimarybluey;
  148. mng_uint8 iRenderingintent; /* sRGB fields */
  149. mng_uint32 iProfilesize; /* iCCP fields */
  150. mng_ptr pProfile;
  151. mng_uint8 iBKGDindex; /* bKGD fields */
  152. mng_uint16 iBKGDgray;
  153. mng_uint16 iBKGDred;
  154. mng_uint16 iBKGDgreen;
  155. mng_uint16 iBKGDblue;
  156. mng_uint32 iSamplesize; /* size of a sample */
  157. mng_uint32 iRowsize; /* size of a row of samples */
  158. mng_uint32 iImgdatasize; /* size of the sample data buffer */
  159. mng_uint8p pImgdata; /* actual sample data buffer */
  160. } mng_imagedata;
  161. typedef mng_imagedata * mng_imagedatap;
  162. /* ************************************************************************** */
  163. typedef struct { /* MNG specification "object" */
  164. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  165. mng_uint16 iId; /* object-id */
  166. mng_bool bFrozen; /* frozen flag */
  167. mng_bool bVisible; /* potential visibility flag */
  168. mng_bool bViewable; /* viewable flag */
  169. mng_bool bValid; /* marks invalid when only reading */
  170. mng_int32 iPosx; /* location fields */
  171. mng_int32 iPosy;
  172. mng_bool bClipped; /* clipping fields */
  173. mng_int32 iClipl;
  174. mng_int32 iClipr;
  175. mng_int32 iClipt;
  176. mng_int32 iClipb;
  177. #ifndef MNG_SKIPCHUNK_MAGN
  178. mng_uint8 iMAGN_MethodX; /* magnification (MAGN) */
  179. mng_uint8 iMAGN_MethodY;
  180. mng_uint16 iMAGN_MX;
  181. mng_uint16 iMAGN_MY;
  182. mng_uint16 iMAGN_ML;
  183. mng_uint16 iMAGN_MR;
  184. mng_uint16 iMAGN_MT;
  185. mng_uint16 iMAGN_MB;
  186. #endif
  187. #ifndef MNG_SKIPCHUNK_PAST
  188. mng_int32 iPastx; /* target x/y from previous PAST */
  189. mng_int32 iPasty;
  190. #endif
  191. mng_imagedatap pImgbuf; /* the image-data buffer */
  192. } mng_image;
  193. typedef mng_image * mng_imagep;
  194. /* ************************************************************************** */
  195. /* "on-the-fly" image (= object 0) */
  196. typedef mng_image mng_ani_image; /* let's (ab)use the general "object" */
  197. typedef mng_ani_image * mng_ani_imagep; /* that's actualy crucial, so don't change it! */
  198. /* ************************************************************************** */
  199. typedef struct { /* global PLTE object */
  200. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  201. mng_uint32 iEntrycount;
  202. mng_rgbpaltab aEntries;
  203. } mng_ani_plte;
  204. typedef mng_ani_plte * mng_ani_pltep;
  205. /* ************************************************************************** */
  206. typedef struct { /* global tRNS object */
  207. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  208. mng_uint32 iRawlen;
  209. mng_uint8arr aRawdata;
  210. } mng_ani_trns;
  211. typedef mng_ani_trns * mng_ani_trnsp;
  212. /* ************************************************************************** */
  213. typedef struct { /* global gAMA object */
  214. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  215. mng_bool bEmpty;
  216. mng_uint32 iGamma;
  217. } mng_ani_gama;
  218. typedef mng_ani_gama * mng_ani_gamap;
  219. /* ************************************************************************** */
  220. #ifndef MNG_SKIPCHUNK_cHRM
  221. typedef struct { /* global cHRM object */
  222. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  223. mng_bool bEmpty;
  224. mng_uint32 iWhitepointx;
  225. mng_uint32 iWhitepointy;
  226. mng_uint32 iRedx;
  227. mng_uint32 iRedy;
  228. mng_uint32 iGreenx;
  229. mng_uint32 iGreeny;
  230. mng_uint32 iBluex;
  231. mng_uint32 iBluey;
  232. } mng_ani_chrm;
  233. typedef mng_ani_chrm * mng_ani_chrmp;
  234. #endif
  235. /* ************************************************************************** */
  236. typedef struct { /* global sRGB object */
  237. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  238. mng_bool bEmpty;
  239. mng_uint8 iRenderingintent;
  240. } mng_ani_srgb;
  241. typedef mng_ani_srgb * mng_ani_srgbp;
  242. /* ************************************************************************** */
  243. #ifndef MNG_SKIPCHUNK_iCCP
  244. typedef struct { /* global iCCP object */
  245. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  246. mng_bool bEmpty;
  247. mng_uint32 iProfilesize;
  248. mng_ptr pProfile;
  249. } mng_ani_iccp;
  250. typedef mng_ani_iccp * mng_ani_iccpp;
  251. #endif
  252. /* ************************************************************************** */
  253. typedef struct { /* global bKGD object */
  254. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  255. mng_uint16 iRed;
  256. mng_uint16 iGreen;
  257. mng_uint16 iBlue;
  258. } mng_ani_bkgd;
  259. typedef mng_ani_bkgd * mng_ani_bkgdp;
  260. /* ************************************************************************** */
  261. typedef struct { /* LOOP object */
  262. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  263. mng_uint8 iLevel;
  264. mng_uint32 iRepeatcount;
  265. mng_uint8 iTermcond;
  266. mng_uint32 iItermin;
  267. mng_uint32 iItermax;
  268. mng_uint32 iCount;
  269. mng_uint32p pSignals;
  270. mng_uint32 iRunningcount; /* running counter */
  271. } mng_ani_loop;
  272. typedef mng_ani_loop * mng_ani_loopp;
  273. /* ************************************************************************** */
  274. typedef struct { /* ENDL object */
  275. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  276. mng_uint8 iLevel;
  277. mng_ani_loopp pLOOP; /* matching LOOP */
  278. } mng_ani_endl;
  279. typedef mng_ani_endl * mng_ani_endlp;
  280. /* ************************************************************************** */
  281. typedef struct { /* DEFI object */
  282. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  283. mng_uint16 iId;
  284. mng_bool bHasdonotshow;
  285. mng_uint8 iDonotshow;
  286. mng_bool bHasconcrete;
  287. mng_uint8 iConcrete;
  288. mng_bool bHasloca;
  289. mng_int32 iLocax;
  290. mng_int32 iLocay;
  291. mng_bool bHasclip;
  292. mng_int32 iClipl;
  293. mng_int32 iClipr;
  294. mng_int32 iClipt;
  295. mng_int32 iClipb;
  296. } mng_ani_defi;
  297. typedef mng_ani_defi * mng_ani_defip;
  298. /* ************************************************************************** */
  299. typedef struct { /* BASI object */
  300. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  301. mng_uint16 iRed;
  302. mng_uint16 iGreen;
  303. mng_uint16 iBlue;
  304. mng_bool bHasalpha;
  305. mng_uint16 iAlpha;
  306. mng_uint8 iViewable;
  307. } mng_ani_basi;
  308. typedef mng_ani_basi * mng_ani_basip;
  309. /* ************************************************************************** */
  310. typedef struct { /* CLON object */
  311. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  312. mng_uint16 iCloneid;
  313. mng_uint16 iSourceid;
  314. mng_uint8 iClonetype;
  315. mng_bool bHasdonotshow;
  316. mng_uint8 iDonotshow;
  317. mng_uint8 iConcrete;
  318. mng_bool bHasloca;
  319. mng_uint8 iLocatype;
  320. mng_int32 iLocax;
  321. mng_int32 iLocay;
  322. } mng_ani_clon;
  323. typedef mng_ani_clon * mng_ani_clonp;
  324. /* ************************************************************************** */
  325. typedef struct { /* BACK object */
  326. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  327. mng_uint16 iRed;
  328. mng_uint16 iGreen;
  329. mng_uint16 iBlue;
  330. mng_uint8 iMandatory;
  331. mng_uint16 iImageid;
  332. mng_uint8 iTile;
  333. } mng_ani_back;
  334. typedef mng_ani_back * mng_ani_backp;
  335. /* ************************************************************************** */
  336. typedef struct { /* FRAM object */
  337. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  338. mng_uint8 iFramemode;
  339. mng_uint8 iChangedelay;
  340. mng_uint32 iDelay;
  341. mng_uint8 iChangetimeout;
  342. mng_uint32 iTimeout;
  343. mng_uint8 iChangeclipping;
  344. mng_uint8 iCliptype;
  345. mng_int32 iClipl;
  346. mng_int32 iClipr;
  347. mng_int32 iClipt;
  348. mng_int32 iClipb;
  349. } mng_ani_fram;
  350. typedef mng_ani_fram * mng_ani_framp;
  351. /* ************************************************************************** */
  352. typedef struct { /* MOVE object */
  353. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  354. mng_uint16 iFirstid;
  355. mng_uint16 iLastid;
  356. mng_uint8 iType;
  357. mng_int32 iLocax;
  358. mng_int32 iLocay;
  359. } mng_ani_move;
  360. typedef mng_ani_move * mng_ani_movep;
  361. /* ************************************************************************** */
  362. typedef struct { /* CLIP object */
  363. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  364. mng_uint16 iFirstid;
  365. mng_uint16 iLastid;
  366. mng_uint8 iType;
  367. mng_int32 iClipl;
  368. mng_int32 iClipr;
  369. mng_int32 iClipt;
  370. mng_int32 iClipb;
  371. } mng_ani_clip;
  372. typedef mng_ani_clip * mng_ani_clipp;
  373. /* ************************************************************************** */
  374. typedef struct { /* SHOW object */
  375. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  376. mng_uint16 iFirstid;
  377. mng_uint16 iLastid;
  378. mng_uint8 iMode;
  379. } mng_ani_show;
  380. typedef mng_ani_show * mng_ani_showp;
  381. /* ************************************************************************** */
  382. typedef struct { /* TERM object */
  383. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  384. mng_uint8 iTermaction;
  385. mng_uint8 iIteraction;
  386. mng_uint32 iDelay;
  387. mng_uint32 iItermax;
  388. } mng_ani_term;
  389. typedef mng_ani_term * mng_ani_termp;
  390. /* ************************************************************************** */
  391. typedef struct { /* SAVE object */
  392. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  393. } mng_ani_save;
  394. typedef mng_ani_save * mng_ani_savep;
  395. /* ************************************************************************** */
  396. typedef struct { /* SEEK object */
  397. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  398. mng_uint32 iSegmentnamesize;
  399. mng_pchar zSegmentname;
  400. } mng_ani_seek;
  401. typedef mng_ani_seek * mng_ani_seekp;
  402. /* ************************************************************************** */
  403. #ifndef MNG_NO_DELTA_PNG
  404. typedef struct { /* DHDR object */
  405. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  406. mng_uint16 iObjectid;
  407. mng_uint8 iImagetype;
  408. mng_uint8 iDeltatype;
  409. mng_uint32 iBlockwidth;
  410. mng_uint32 iBlockheight;
  411. mng_uint32 iBlockx;
  412. mng_uint32 iBlocky;
  413. } mng_ani_dhdr;
  414. typedef mng_ani_dhdr * mng_ani_dhdrp;
  415. /* ************************************************************************** */
  416. typedef struct { /* PROM object */
  417. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  418. mng_uint8 iBitdepth;
  419. mng_uint8 iColortype;
  420. mng_uint8 iFilltype;
  421. } mng_ani_prom;
  422. typedef mng_ani_prom * mng_ani_promp;
  423. /* ************************************************************************** */
  424. typedef struct { /* IPNG object */
  425. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  426. } mng_ani_ipng;
  427. typedef mng_ani_ipng * mng_ani_ipngp;
  428. /* ************************************************************************** */
  429. typedef struct { /* IJNG object */
  430. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  431. } mng_ani_ijng;
  432. typedef mng_ani_ijng * mng_ani_ijngp;
  433. /* ************************************************************************** */
  434. typedef struct { /* PPLT object */
  435. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  436. mng_uint8 iType;
  437. mng_uint32 iCount;
  438. mng_rgbpaltab aIndexentries;
  439. mng_uint8arr aAlphaentries;
  440. mng_uint8arr aUsedentries;
  441. } mng_ani_pplt;
  442. typedef mng_ani_pplt * mng_ani_ppltp;
  443. #endif
  444. /* ************************************************************************** */
  445. #ifndef MNG_SKIPCHUNK_MAGN
  446. typedef struct { /* MAGN object */
  447. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  448. mng_uint16 iFirstid;
  449. mng_uint16 iLastid;
  450. mng_uint8 iMethodX;
  451. mng_uint16 iMX;
  452. mng_uint16 iMY;
  453. mng_uint16 iML;
  454. mng_uint16 iMR;
  455. mng_uint16 iMT;
  456. mng_uint16 iMB;
  457. mng_uint8 iMethodY;
  458. } mng_ani_magn;
  459. typedef mng_ani_magn * mng_ani_magnp;
  460. #endif
  461. /* ************************************************************************** */
  462. #ifndef MNG_SKIPCHUNK_PAST
  463. typedef struct { /* PAST object */
  464. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  465. mng_uint16 iTargetid;
  466. mng_uint8 iTargettype;
  467. mng_int32 iTargetx;
  468. mng_int32 iTargety;
  469. mng_uint32 iCount;
  470. mng_ptr pSources;
  471. } mng_ani_past;
  472. typedef mng_ani_past * mng_ani_pastp;
  473. #endif
  474. /* ************************************************************************** */
  475. #ifndef MNG_SKIPCHUNK_DISC
  476. typedef struct { /* DISC object */
  477. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  478. mng_uint32 iCount;
  479. mng_uint16p pIds;
  480. } mng_ani_disc;
  481. typedef mng_ani_disc * mng_ani_discp;
  482. #endif
  483. /* ************************************************************************** */
  484. #ifdef MNG_SUPPORT_DYNAMICMNG
  485. typedef struct { /* event object */
  486. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  487. mng_uint8 iEventtype;
  488. mng_uint8 iMasktype;
  489. mng_int32 iLeft;
  490. mng_int32 iRight;
  491. mng_int32 iTop;
  492. mng_int32 iBottom;
  493. mng_uint16 iObjectid;
  494. mng_uint8 iIndex;
  495. mng_uint32 iSegmentnamesize;
  496. mng_pchar zSegmentname;
  497. mng_ani_seekp pSEEK; /* SEEK ani object */
  498. mng_int32 iLastx; /* last X/Y coordinates */
  499. mng_int32 iLasty;
  500. } mng_event;
  501. typedef mng_event * mng_eventp;
  502. #endif
  503. /* ************************************************************************** */
  504. #ifdef MNG_INCLUDE_MPNG_PROPOSAL
  505. typedef struct { /* mPNG object */
  506. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  507. mng_uint32 iFramewidth;
  508. mng_uint32 iFrameheight;
  509. mng_uint32 iNumplays;
  510. mng_uint16 iTickspersec;
  511. mng_uint32 iFramessize;
  512. mng_ptr pFrames;
  513. } mng_mpng_obj;
  514. typedef mng_mpng_obj * mng_mpng_objp;
  515. #endif
  516. /* ************************************************************************** */
  517. #ifdef MNG_INCLUDE_ANG_PROPOSAL
  518. typedef struct { /* ANG object */
  519. mng_object_header sHeader; /* default header (DO NOT REMOVE) */
  520. mng_uint32 iNumframes;
  521. mng_uint32 iTickspersec;
  522. mng_uint32 iNumplays;
  523. mng_uint32 iTilewidth;
  524. mng_uint32 iTileheight;
  525. mng_uint8 iInterlace;
  526. mng_uint8 iStillused;
  527. mng_uint32 iTilessize;
  528. mng_ptr pTiles;
  529. } mng_ang_obj;
  530. typedef mng_ang_obj * mng_ang_objp;
  531. #endif
  532. /* ************************************************************************** */
  533. #endif /* MNG_INCLUDE_DISPLAY_PROCS */
  534. /* ************************************************************************** */
  535. #endif /* _libmng_objects_h_ */
  536. /* ************************************************************************** */
  537. /* * end of file * */
  538. /* ************************************************************************** */