home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / graphics / videocontrol.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  5KB  |  124 lines

  1. #ifndef    GRAPHICS_VIDEOCONTROL_H
  2. #define    GRAPHICS_VIDEOCONTROL_H
  3. /*
  4. **    $VER: videocontrol.h 39.8 (31.5.93)
  5. **    Includes Release 40.15
  6. **
  7. **    include define file for videocontrol commands
  8. **
  9. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif /* EXEC_TYPES_H */
  16.  
  17. #ifndef UTILITY_TAGITEM_H
  18. #include <utility/tagitem.h>
  19. #endif /* UTILITY_TAGITEM_H */
  20.  
  21. #define    VTAG_END_CM                0x00000000
  22. #define    VTAG_CHROMAKEY_CLR        0x80000000
  23. #define    VTAG_CHROMAKEY_SET        0x80000001
  24. #define    VTAG_BITPLANEKEY_CLR        0x80000002
  25. #define    VTAG_BITPLANEKEY_SET        0x80000003
  26. #define    VTAG_BORDERBLANK_CLR        0x80000004
  27. #define    VTAG_BORDERBLANK_SET        0x80000005
  28. #define    VTAG_BORDERNOTRANS_CLR        0x80000006
  29. #define    VTAG_BORDERNOTRANS_SET        0x80000007
  30. #define    VTAG_CHROMA_PEN_CLR        0x80000008
  31. #define    VTAG_CHROMA_PEN_SET        0x80000009
  32. #define    VTAG_CHROMA_PLANE_SET        0x8000000A
  33. #define    VTAG_ATTACH_CM_SET        0x8000000B
  34. #define    VTAG_NEXTBUF_CM            0x8000000C
  35. #define    VTAG_BATCH_CM_CLR        0x8000000D
  36. #define    VTAG_BATCH_CM_SET        0x8000000E
  37. #define    VTAG_NORMAL_DISP_GET        0x8000000F
  38. #define    VTAG_NORMAL_DISP_SET        0x80000010
  39. #define    VTAG_COERCE_DISP_GET        0x80000011
  40. #define    VTAG_COERCE_DISP_SET        0x80000012
  41. #define    VTAG_VIEWPORTEXTRA_GET        0x80000013
  42. #define    VTAG_VIEWPORTEXTRA_SET        0x80000014
  43. #define    VTAG_CHROMAKEY_GET        0x80000015
  44. #define    VTAG_BITPLANEKEY_GET        0x80000016
  45. #define    VTAG_BORDERBLANK_GET        0x80000017
  46. #define    VTAG_BORDERNOTRANS_GET        0x80000018
  47. #define    VTAG_CHROMA_PEN_GET        0x80000019
  48. #define    VTAG_CHROMA_PLANE_GET        0x8000001A
  49. #define    VTAG_ATTACH_CM_GET        0x8000001B
  50. #define    VTAG_BATCH_CM_GET        0x8000001C
  51. #define    VTAG_BATCH_ITEMS_GET        0x8000001D
  52. #define    VTAG_BATCH_ITEMS_SET        0x8000001E
  53. #define    VTAG_BATCH_ITEMS_ADD        0x8000001F
  54. #define    VTAG_VPMODEID_GET        0x80000020
  55. #define    VTAG_VPMODEID_SET        0x80000021
  56. #define    VTAG_VPMODEID_CLR        0x80000022
  57. #define    VTAG_USERCLIP_GET        0x80000023
  58. #define    VTAG_USERCLIP_SET        0x80000024
  59. #define    VTAG_USERCLIP_CLR        0x80000025
  60. /* The following tags are V39 specific. They will be ignored (returing error -3) by
  61.     earlier versions */
  62. #define VTAG_PF1_BASE_GET        0x80000026
  63. #define VTAG_PF2_BASE_GET        0x80000027
  64. #define VTAG_SPEVEN_BASE_GET        0x80000028
  65. #define VTAG_SPODD_BASE_GET        0x80000029
  66. #define VTAG_PF1_BASE_SET        0x8000002a
  67. #define VTAG_PF2_BASE_SET        0x8000002b
  68. #define VTAG_SPEVEN_BASE_SET        0x8000002c
  69. #define VTAG_SPODD_BASE_SET        0x8000002d
  70. #define VTAG_BORDERSPRITE_GET        0x8000002e
  71. #define VTAG_BORDERSPRITE_SET        0x8000002f
  72. #define VTAG_BORDERSPRITE_CLR        0x80000030
  73. #define VTAG_SPRITERESN_SET        0x80000031
  74. #define VTAG_SPRITERESN_GET        0x80000032
  75. #define VTAG_PF1_TO_SPRITEPRI_SET    0x80000033
  76. #define VTAG_PF1_TO_SPRITEPRI_GET    0x80000034
  77. #define VTAG_PF2_TO_SPRITEPRI_SET    0x80000035
  78. #define VTAG_PF2_TO_SPRITEPRI_GET    0x80000036
  79. #define VTAG_IMMEDIATE            0x80000037
  80. #define VTAG_FULLPALETTE_SET        0x80000038
  81. #define VTAG_FULLPALETTE_GET        0x80000039
  82. #define VTAG_FULLPALETTE_CLR        0x8000003A
  83. #define VTAG_DEFSPRITERESN_SET        0x8000003B
  84. #define VTAG_DEFSPRITERESN_GET        0x8000003C
  85.  
  86. /* all the following tags follow the new, rational standard for videocontrol tags:
  87.  * VC_xxx,state        set the state of attribute 'xxx' to value 'state'
  88.  * VC_xxx_QUERY,&var    get the state of attribute 'xxx' and store it into the longword
  89.  *            pointed to by &var.
  90.  *
  91.  * The following are new for V40:
  92.  */
  93.  
  94. #define VC_IntermediateCLUpdate        0x80000080
  95.     /* default=true. When set graphics will update the intermediate copper
  96.      * lists on color changes, etc. When false, it won't, and will be faster.
  97.      */
  98. #define VC_IntermediateCLUpdate_Query    0x80000081
  99.  
  100. #define VC_NoColorPaletteLoad        0x80000082
  101.     /* default = false. When set, graphics will only load color 0
  102.      * for this ViewPort, and so the ViewPort's colors will come
  103.      * from the previous ViewPort's.
  104.      *
  105.      * NB - Using this tag and VTAG_FULLPALETTE_SET together is undefined.
  106.      */
  107. #define VC_NoColorPaletteLoad_Query    0x80000083
  108.  
  109. #define VC_DUALPF_Disable        0x80000084
  110.     /* default = false. When this flag is set, the dual-pf bit
  111.        in Dual-Playfield screens will be turned off. Even bitplanes
  112.        will still come from the first BitMap and odd bitplanes
  113.        from the second BitMap, and both R[xy]Offsets will be
  114.        considered. This can be used (with appropriate palette
  115.        selection) for cross-fades between differently scrolling
  116.        images.
  117.        When this flag is turned on, colors will be loaded for
  118.        the viewport as if it were a single viewport of depth
  119.        depth1+depth2 */
  120. #define VC_DUALPF_Disable_Query        0x80000085
  121.  
  122.  
  123. #endif    /* GRAPHICS_VIDEOCONTROL_H */
  124.