home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
cbm
/
os-include.lha
/
os-include
/
graphics
/
videocontrol.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-15
|
5KB
|
124 lines
#ifndef GRAPHICS_VIDEOCONTROL_H
#define GRAPHICS_VIDEOCONTROL_H
/*
** $VER: videocontrol.h 39.8 (31.5.93)
** Includes Release 40.15
**
** include define file for videocontrol commands
**
** (C) Copyright 1985-1993 Commodore-Amiga, Inc.
** All Rights Reserved
*/
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif /* EXEC_TYPES_H */
#ifndef UTILITY_TAGITEM_H
#include <utility/tagitem.h>
#endif /* UTILITY_TAGITEM_H */
#define VTAG_END_CM 0x00000000
#define VTAG_CHROMAKEY_CLR 0x80000000
#define VTAG_CHROMAKEY_SET 0x80000001
#define VTAG_BITPLANEKEY_CLR 0x80000002
#define VTAG_BITPLANEKEY_SET 0x80000003
#define VTAG_BORDERBLANK_CLR 0x80000004
#define VTAG_BORDERBLANK_SET 0x80000005
#define VTAG_BORDERNOTRANS_CLR 0x80000006
#define VTAG_BORDERNOTRANS_SET 0x80000007
#define VTAG_CHROMA_PEN_CLR 0x80000008
#define VTAG_CHROMA_PEN_SET 0x80000009
#define VTAG_CHROMA_PLANE_SET 0x8000000A
#define VTAG_ATTACH_CM_SET 0x8000000B
#define VTAG_NEXTBUF_CM 0x8000000C
#define VTAG_BATCH_CM_CLR 0x8000000D
#define VTAG_BATCH_CM_SET 0x8000000E
#define VTAG_NORMAL_DISP_GET 0x8000000F
#define VTAG_NORMAL_DISP_SET 0x80000010
#define VTAG_COERCE_DISP_GET 0x80000011
#define VTAG_COERCE_DISP_SET 0x80000012
#define VTAG_VIEWPORTEXTRA_GET 0x80000013
#define VTAG_VIEWPORTEXTRA_SET 0x80000014
#define VTAG_CHROMAKEY_GET 0x80000015
#define VTAG_BITPLANEKEY_GET 0x80000016
#define VTAG_BORDERBLANK_GET 0x80000017
#define VTAG_BORDERNOTRANS_GET 0x80000018
#define VTAG_CHROMA_PEN_GET 0x80000019
#define VTAG_CHROMA_PLANE_GET 0x8000001A
#define VTAG_ATTACH_CM_GET 0x8000001B
#define VTAG_BATCH_CM_GET 0x8000001C
#define VTAG_BATCH_ITEMS_GET 0x8000001D
#define VTAG_BATCH_ITEMS_SET 0x8000001E
#define VTAG_BATCH_ITEMS_ADD 0x8000001F
#define VTAG_VPMODEID_GET 0x80000020
#define VTAG_VPMODEID_SET 0x80000021
#define VTAG_VPMODEID_CLR 0x80000022
#define VTAG_USERCLIP_GET 0x80000023
#define VTAG_USERCLIP_SET 0x80000024
#define VTAG_USERCLIP_CLR 0x80000025
/* The following tags are V39 specific. They will be ignored (returing error -3) by
earlier versions */
#define VTAG_PF1_BASE_GET 0x80000026
#define VTAG_PF2_BASE_GET 0x80000027
#define VTAG_SPEVEN_BASE_GET 0x80000028
#define VTAG_SPODD_BASE_GET 0x80000029
#define VTAG_PF1_BASE_SET 0x8000002a
#define VTAG_PF2_BASE_SET 0x8000002b
#define VTAG_SPEVEN_BASE_SET 0x8000002c
#define VTAG_SPODD_BASE_SET 0x8000002d
#define VTAG_BORDERSPRITE_GET 0x8000002e
#define VTAG_BORDERSPRITE_SET 0x8000002f
#define VTAG_BORDERSPRITE_CLR 0x80000030
#define VTAG_SPRITERESN_SET 0x80000031
#define VTAG_SPRITERESN_GET 0x80000032
#define VTAG_PF1_TO_SPRITEPRI_SET 0x80000033
#define VTAG_PF1_TO_SPRITEPRI_GET 0x80000034
#define VTAG_PF2_TO_SPRITEPRI_SET 0x80000035
#define VTAG_PF2_TO_SPRITEPRI_GET 0x80000036
#define VTAG_IMMEDIATE 0x80000037
#define VTAG_FULLPALETTE_SET 0x80000038
#define VTAG_FULLPALETTE_GET 0x80000039
#define VTAG_FULLPALETTE_CLR 0x8000003A
#define VTAG_DEFSPRITERESN_SET 0x8000003B
#define VTAG_DEFSPRITERESN_GET 0x8000003C
/* all the following tags follow the new, rational standard for videocontrol tags:
* VC_xxx,state set the state of attribute 'xxx' to value 'state'
* VC_xxx_QUERY,&var get the state of attribute 'xxx' and store it into the longword
* pointed to by &var.
*
* The following are new for V40:
*/
#define VC_IntermediateCLUpdate 0x80000080
/* default=true. When set graphics will update the intermediate copper
* lists on color changes, etc. When false, it won't, and will be faster.
*/
#define VC_IntermediateCLUpdate_Query 0x80000081
#define VC_NoColorPaletteLoad 0x80000082
/* default = false. When set, graphics will only load color 0
* for this ViewPort, and so the ViewPort's colors will come
* from the previous ViewPort's.
*
* NB - Using this tag and VTAG_FULLPALETTE_SET together is undefined.
*/
#define VC_NoColorPaletteLoad_Query 0x80000083
#define VC_DUALPF_Disable 0x80000084
/* default = false. When this flag is set, the dual-pf bit
in Dual-Playfield screens will be turned off. Even bitplanes
will still come from the first BitMap and odd bitplanes
from the second BitMap, and both R[xy]Offsets will be
considered. This can be used (with appropriate palette
selection) for cross-fades between differently scrolling
images.
When this flag is turned on, colors will be loaded for
the viewport as if it were a single viewport of depth
depth1+depth2 */
#define VC_DUALPF_Disable_Query 0x80000085
#endif /* GRAPHICS_VIDEOCONTROL_H */