supermario/base/SuperMarioProj.1994-02-09/Interfaces/AIncludes/QDOffscreen.a

70 lines
2.8 KiB
Plaintext
Raw Normal View History

2019-06-29 15:17:50 +00:00
; Version: 3.14
; Created: Friday, October 20, 1989 at 9:42:37 PM
;
; File: QDOffscreen.a
;
; Assembler Interface to the Macintosh Libraries
; Copyright: © 1991-1992 by Apple Computer, Inc., all rights reserved.
;
; Change History (most recent first):
;
; <10> 7/1/92 DCL This file is the replacement for the now obsolete
; QDOffscreenEqu.a. Changed the 'including' name to match the new
; file name.
; <9> 6/14/91 JL Checked in official MPW 3.2ƒ version. Adjusted keepLocalBit's
; comment; removed <27MAR90 KON>.
; <8> 1/30/91 gbm sab, #38: Change the already including this file variable to
; all uppercase (for security reasons)
; <7> 1/15/91 KON Change useMFTempBit to UseTempMemBit. [csd]
; <5> 3/27/90 KON Add KeepLocal flag (bit3) for gWorld flags.
; <2> 12/28/89 dba add equates for MF temp. memory bit
;___________________________________________________________________________
;
; Offscreen Equates -- This file defines the public equates for Offscreen
; routines.
;___________________________________________________________________________
IF &TYPE('__INCLUDINGQDOFFSCREEN__') = 'UNDEFINED' THEN
__INCLUDINGQDOFFSCREEN__ SET 1
; New Error codes
cDepthErr EQU -157 ; invalid pixel depth
; Flag bits passed to or returned by UpdateGWorld
purgePixBit EQU 0 ; make the offscreen buffer purgeable
noNewDeviceBit EQU 1 ; don't create an offscreen device
useTempMemBit EQU 2 ; create the buffer in MF temp. memory
keepLocalBit EQU 3 ; keep buffer in main memory
pixelsPurgeableBit EQU 6 ; pixels are purgeable
pixelsLockedBit EQU 7 ; pixels are locked
mapPixBit EQU 16 ; set if color table mapping occurred
newDepthBit EQU 17 ; set if pixels were scaled to a different depth
alignPixBit EQU 18 ; set if pixels were realigned to screen alignment
newRowBytesBit EQU 19 ; set if pixmap was reconfigured in a new rowBytes
reallocPixBit EQU 20 ; set if offscreen buffer had to be reallocated
clipPixBit EQU 28 ; set if pixels were or are to be clipped
stretchPixBit EQU 29 ; set if pixels were or are to be stretched/shrinked
ditherPixBit EQU 30 ; set if pixels were or are to be dithered
gwFlagErrBit EQU 31 ; sign bit set indicates error
; Mask equivalents of the above bits
purgePix EQU $1
noNewDevice EQU $2
useTempMem EQU $4
keepLocal EQU $8
pixelsPurgeable EQU $40
pixelsLocked EQU $80
mapPix EQU $10000
newDepth EQU $20000
alignPix EQU $40000
newRowBytes EQU $80000
reallocPix EQU $100000
clipPix EQU $10000000
stretchPix EQU $20000000
ditherPix EQU $40000000
gwFlagErr EQU $80000000
ENDIF ; ...already included