blob: 111d2a063050234631ea62fa0a25379627a181c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
**
** $Id: IFFLib.i,v 1.1 92/05/12 22:26:48 chris Exp $
** $Revision: 1.1 $
**
** $Filename: IFFLib.i $
** $Author: chris $
** $Release: 19.1 $
** $Date: 92/05/12 22:26:48 $
**
** INTERNES Include-File für alle Module der IFF-Library
**
** COPYRIGHT (C) 1987-1992 BY CHRISTIAN A. WEBER, BRUGGERWEG 2,
** CH-8037 ZUERICH, SWITZERLAND. ALL RIGHTS RESERVED. NO PART
** OF THIS SOFTWARE MAY BE COPIED, REPRODUCED, OR TRANSMITTED
** IN ANY FORM OR BY ANY MEANS, WITHOUT THE PRIOR WRITTEN PER-
** MISSION OF THE AUTHOR. USE AT YOUR OWN RISK.
**
OPT O+
OPT OW-
INCLUDE "exec/types.i"
INCLUDE "exec/memory.i"
INCLUDE "exec/nodes.i"
INCLUDE "exec/libraries.i"
INCLUDE "exec/resident.i"
INCLUDE "exec/initializers.i"
INCLUDE "exec/macros.i"
INCLUDE "exec/execbase.i"
INCLUDE "dos/dos.i"
INCLUDE "graphics/gfx.i"
INCLUDE "iff.i" ; Standard IFF include file
*****************************************************************************
STRUCTURE IFFBaseStructure,LIB_SIZE
APTR iffb_SysBase
APTR iffb_DOSBase
APTR iffb_SegList
STRUCT iffb_ErrList,LH_SIZE
LABEL iffb_SIZEOF
*****************************************************************************
STRUCTURE IFFFileHandle,0
ULONG ifffh_Magic ; MUSS am Anfang sein
BPTR ifffh_File ; DOS Filehandle
LONG ifffh_FormSize ; Grösse des gesamten FORMs
LONG ifffh_ChunkSize ; Grösse des aktuellen Chunks
LONG ifffh_ChunkFPos ; Position im File wo dieser Chunk beginnt
LABEL ifffh_SIZEOF
IFFFH_MAGIC EQU $00496648 ; 1. Byte MUSS 0 sein
*****************************************************************************
STRUCTURE ErrorNode,LN_SIZE
APTR ifferr_Task
LONG ifferr_Error
LABEL ifferr_SIZEOF
|