//      Restypes.H      Resource types
//      Rex E. Bradford (REX)

/*
* $Header: x:/prj/tech/libsrc/res/RCS/restypes.h 1.14 1996/09/14 16:10:01 TOML Exp $
* $Log: restypes.h $
 * Revision 1.14  1996/09/14  16:10:01  TOML
 * Prepared for revision
 * 
 * Revision 1.13  1996/08/30  10:25:14  TOML
 * Initial revision
 *
 * Revision 1.12  1994/12/07  14:19:07  mahk
 * Added rect resource type.
 *
 * Revision 1.11  1994/09/01  12:00:22  rex
 * Added RTYPE_MOVIE
 *
 * Revision 1.10  1994/05/02  17:47:02  rex
 * Added RTYPE_STENCIL
 *
 * Revision 1.9  1994/05/02  14:49:23  rex
 * Added RTYPE_SHADTAB
 *
 * Revision 1.8  1994/02/17  11:26:54  rex
 * Changed #ifdef to use double-underscores
 *
 * Revision 1.7  1993/09/23  16:43:50  rex
 * Added RTYPE_OBJ3D
 *
 * Revision 1.6  1993/07/23  16:41:17  rex
 * Added RTYPE_B2HEADER
 *
 * Revision 1.5  1993/07/22  19:17:30  rex
 * Added B2xxx types
 *
 * Revision 1.4  1993/06/17  10:00:41  rex
 * Added RTYPE_PICT
 *
 * Revision 1.3  1993/06/02  13:50:42  dfan
 * Added SHAPE types
 *
 * Revision 1.2  1993/05/11  18:51:02  rex
 * Added RTYPE_VOC
 *
 * Revision 1.1  1993/03/04  18:48:04  rex
 * Initial revision
 *
 * Revision 1.1  1993/03/02  18:42:05  rex
 * Initial revision
 *
*/

#ifndef __RESTYPES_H
#define __RESTYPES_H

#define NUM_RESTYPENAMES 64

//  Resource types 0-47 are reserved for system-wide use

#define RTYPE_UNKNOWN   0       // unknown resource type, or mix in compound
#define RTYPE_STRING        1       // string (usually in compound table)
#define RTYPE_IMAGE     2       // bitmapped image (usually in compound table)
#define RTYPE_FONT      3       // bitmapped font (usually non-compound)
#define RTYPE_ANIM      4       // animation script (usually in compound table)
#define RTYPE_PALL      5       // color pallette (usually non-compound)
#define RTYPE_SHADTAB   6       // shading table (usually non-compound)
#define RTYPE_VOC           7       // sound .voc file (usually non-compound)
#define RTYPE_SHAPE     8       // shape (usually compound)
#define RTYPE_PICT      9       // picture (usually compound)
#define RTYPE_B2EXTERN  10      // BABL2 extern records (always compound)
#define RTYPE_B2RELOC   11      // BABL2 relocation records (always non-compound)
#define RTYPE_B2CODE        12      // BABL2 object code (always compound)
#define RTYPE_B2HEADER  13      // BABL2 linked resource header
#define RTYPE_B2RESRVD  14      // BABL2 reserved
#define RTYPE_OBJ3D     15      // 3d object (always compound)
#define RTYPE_STENCIL   16      // stencil, with offsets (usually non-compound)
#define RTYPE_MOVIE     17      // movie (lg .mov format)
#define RTYPE_RECT      18    // list of bounding rects for images (usually in compound table)
#define RTYPE_PAL565    19    // 16-bit palette in 5-6-5 format

//  Resource types 48-63 are application-specific

#define RTYPE_APP           48      // 16 application-specific resource types

//  Type names can be found thru this array (array kept in res.c)

extern char *resTypeNames[NUM_RESTYPENAMES];
#endif
