Rave.h File Reference

#include <Quickdraw.h>
#include <QDOffscreen.h>

Include dependency graph for Rave.h:

Go to the source code of this file.

Classes

struct  TQADeviceMemory
struct  TQARect
union  TQAPlatformDevice
union  TQAPlatformClip
struct  TQADevice
struct  TQAClip
struct  TQAIndexedTriangle
struct  TQAImage
struct  TQAVGouraud
struct  TQAVTexture
union  TQANoticeMethod
struct  TQADrawContext

Defines

#define kQAMacOS   1
#define kQAGeneric   2
#define kQAWin32   3
#define kQAPlatform   kQAMacOS
#define RAVE_EXPORT
#define RAVE_CALL
#define RAVE_CALLBACK
#define kQAZFunction_None   0
#define kQAZFunction_LT   1
#define kQAZFunction_EQ   2
#define kQAZFunction_LE   3
#define kQAZFunction_GT   4
#define kQAZFunction_NE   5
#define kQAZFunction_GE   6
#define kQAZFunction_True   7
#define kQAMaxWidth   128.0
#define kQAAntiAlias_Off   0
#define kQAAntiAlias_Fast   1
#define kQAAntiAlias_Mid   2
#define kQAAntiAlias_Best   3
#define kQABlend_PreMultiply   0
#define kQABlend_Interpolate   1
#define kQABlend_OpenGL   2
#define kQABufferComposite_None   0
#define kQABufferComposite_PreMultiply   1
#define kQABufferComposite_Interpolate   2
#define kQAPerspectiveZ_Off   0
#define kQAPerspectiveZ_On   1
#define kQATextureFilter_Fast   0
#define kQATextureFilter_Mid   1
#define kQATextureFilter_Best   2
#define kQATextureOp_None   0
#define kQATextureOp_Modulate   (1 << 0)
#define kQATextureOp_Highlight   (1 << 1)
#define kQATextureOp_Decal   (1 << 2)
#define kQATextureOp_Shrink   (1 << 3)
#define kQACSGTag_None   0xffffffffUL
#define kQACSGTag_0   0
#define kQACSGTag_1   1
#define kQACSGTag_2   2
#define kQACSGTag_3   3
#define kQACSGTag_4   4
#define kQAGL_Repeat   0
#define kQAGL_Clamp   1
#define kQAGL_SourceBlend_XXX   0
#define kQAGL_DestBlend_XXX   0
#define kQAGL_DrawBuffer_None   0
#define kQAGL_DrawBuffer_FrontLeft   (1<<0)
#define kQAGL_DrawBuffer_FrontRight   (1<<1)
#define kQAGL_DrawBuffer_BackLeft   (1<<2)
#define kQAGL_DrawBuffer_BackRight   (1<<3)
#define kQAGL_DrawBuffer_Front   (kQAGL_DrawBuffer_FrontLeft | kQAGL_DrawBuffer_FrontRight)
#define kQAGL_DrawBuffer_Back   (kQAGL_DrawBuffer_BackLeft | kQAGL_DrawBuffer_BackRight)
#define kQATriFlags_None   0
#define kQATriFlags_Backfacing   (1 << 0)
#define kQATexture_None   0
#define kQATexture_Lock   (1<<0)
#define kQATexture_Mipmap   (1<<1)
#define kQATexture_NoCompression   (1<<2)
#define kQATexture_HighCompression   (1<<3)
#define kQABitmap_None   0
#define kQABitmap_Lock   (1<<1)
#define kQABitmap_NoCompression   (1<<2)
#define kQABitmap_HighCompression   (1<<3)
#define kQAContext_None   0
#define kQAContext_NoZBuffer   (1 << 0)
#define kQAContext_DeepZ   (1 << 1)
#define kQAContext_DoubleBuffer   (1 << 2)
#define kQAContext_Cache   (1 << 3)
#define kQAContext_NoDither   (1 << 4)
#define kQAOptional_None   0
#define kQAOptional_DeepZ   (1 << 0)
#define kQAOptional_Texture   (1 << 1)
#define kQAOptional_TextureHQ   (1 << 2)
#define kQAOptional_TextureColor   (1 << 3)
#define kQAOptional_Blend   (1 << 4)
#define kQAOptional_BlendAlpha   (1 << 5)
#define kQAOptional_Antialias   (1 << 6)
#define kQAOptional_ZSorted   (1 << 7)
#define kQAOptional_PerspectiveZ   (1 << 8)
#define kQAOptional_OpenGL   (1 << 9)
#define kQAOptional_NoClear   (1 << 10)
#define kQAOptional_CSG   (1 << 11)
#define kQAOptional_BoundToDevice   (1 << 12)
#define kQAOptional_CL4   (1 << 13)
#define kQAOptional_CL8   (1 << 14)
#define kQAOptional_BufferComposite   (1 << 15)
#define kQAOptional_NoDither   (1 << 16)
#define kQAFast_None   0
#define kQAFast_Line   (1 << 0)
#define kQAFast_Gouraud   (1 << 1)
#define kQAFast_Texture   (1 << 2)
#define kQAFast_TextureHQ   (1 << 3)
#define kQAFast_Blend   (1 << 4)
#define kQAFast_Antialiasing   (1 << 5)
#define kQAFast_ZSorted   (1 << 6)
#define kQAFast_CL4   (1 << 7)
#define kQAFast_CL8   (1 << 8)
#define QASetFloat(drawContext, tag, newValue)   (drawContext)->setFloat (drawContext,tag,newValue)
#define QASetInt(drawContext, tag, newValue)   (drawContext)->setInt (drawContext,tag,newValue)
#define QASetPtr(drawContext, tag, newValue)   (drawContext)->setPtr (drawContext,tag,newValue)
#define QAGetFloat(drawContext, tag)   (drawContext)->getFloat (drawContext,tag)
#define QAGetInt(drawContext, tag)   (drawContext)->getInt (drawContext,tag)
#define QAGetPtr(drawContext, tag)   (drawContext)->getPtr (drawContext,tag)
#define QADrawPoint(drawContext, v)   (drawContext)->drawPoint (drawContext,v)
#define QADrawLine(drawContext, v0, v1)   (drawContext)->drawLine (drawContext,v0,v1)
#define QADrawTriGouraud(drawContext, v0, v1, v2, flags)   (drawContext)->drawTriGouraud (drawContext,v0,v1,v2,flags)
#define QADrawTriTexture(drawContext, v0, v1, v2, flags)   (drawContext)->drawTriTexture (drawContext,v0,v1,v2,flags)
#define QASubmitVerticesGouraud(drawContext, nVertices, vertices)   (drawContext)->submitVerticesGouraud(drawContext,nVertices,vertices)
#define QASubmitVerticesTexture(drawContext, nVertices, vertices)   (drawContext)->submitVerticesTexture(drawContext,nVertices,vertices)
#define QADrawTriMeshGouraud(drawContext, nTriangle, triangles)   (drawContext)->drawTriMeshGouraud (drawContext,nTriangle,triangles)
#define QADrawTriMeshTexture(drawContext, nTriangle, triangles)   (drawContext)->drawTriMeshTexture (drawContext,nTriangle,triangles)
#define QADrawVGouraud(drawContext, nVertices, vertexMode, vertices, flags)   (drawContext)->drawVGouraud (drawContext,nVertices,vertexMode,vertices,flags)
#define QADrawVTexture(drawContext, nVertices, vertexMode, vertices, flags)   (drawContext)->drawVTexture (drawContext,nVertices,vertexMode,vertices,flags)
#define QADrawBitmap(drawContext, v, bitmap)   (drawContext)->drawBitmap (drawContext,v,bitmap)
#define QARenderStart(drawContext, dirtyRect, initialContext)   (drawContext)->renderStart (drawContext,dirtyRect,initialContext)
#define QARenderEnd(drawContext, modifiedRect)   (drawContext)->renderEnd (drawContext,modifiedRect)
#define QARenderAbort(drawContext)   (drawContext)->renderAbort (drawContext)
#define QAFlush(drawContext)   (drawContext)->flush (drawContext)
#define QASync(drawContext)   (drawContext)->sync (drawContext)
#define QASetNoticeMethod(drawContext, method, completionCallBack, refCon)   (drawContext)->setNoticeMethod (drawContext, method, completionCallBack, refCon)
#define QAGetNoticeMethod(drawContext, method, completionCallBack, refCon)   (drawContext)->getNoticeMethod (drawContext, method, completionCallBack, refCon)

Typedefs

typedef enum TQAImagePixelType TQAImagePixelType
typedef enum TQAColorTableType TQAColorTableType
typedef enum TQADeviceType TQADeviceType
typedef TQADeviceMemory TQADeviceMemory
typedef enum TQAClipType TQAClipType
typedef TQARect TQARect
typedef TQAPlatformDevice TQAPlatformDevice
typedef TQAPlatformClip TQAPlatformClip
typedef TQADevice TQADevice
typedef TQAClip TQAClip
typedef TQADrawContext TQADrawContext
typedef TQAEngine TQAEngine
typedef TQATexture TQATexture
typedef TQABitmap TQABitmap
typedef TQADrawPrivate TQADrawPrivate
typedef TQAImage TQAImage
typedef TQAColorTable TQAColorTable
typedef TQAIndexedTriangle TQAIndexedTriangle
typedef enum TQAError TQAError
typedef TQAVGouraud TQAVGouraud
typedef TQAVTexture TQAVTexture
typedef enum TQATagInt TQATagInt
typedef enum TQATagPtr TQATagPtr
typedef enum TQATagFloat TQATagFloat
typedef enum TQAVertexMode TQAVertexMode
typedef enum TQAGestaltSelector TQAGestaltSelector
typedef enum TQAMethodSelector TQAMethodSelector
typedef void(RAVE_CALLBACK * TQAStandardNoticeMethod )(const TQADrawContext *drawContext, void *refCon)
typedef void(RAVE_CALLBACK * TQABufferNoticeMethod )(const TQADrawContext *drawContext, const TQADevice *buffer, const TQARect *dirtyRect, void *refCon)
typedef TQANoticeMethod TQANoticeMethod
typedef TQATagFloat tag
typedef TQATagFloat float newValue
typedef unsigned long (RAVE_CALLBACK *TQAGetInt)(const TQADrawContext *drawContext
typedef void *RAVE_CALLBACK * TQAGetPtr (const TQADrawContext *drawContext, TQATagPtr tag)
typedef const TQAVGouraudv
typedef const TQAVGouraudv0
typedef const TQAVGouraud
const TQAVGouraud
v1
typedef const TQAVGouraud
const TQAVGouraud const TQAVGouraud
v2
typedef const TQAVGouraud
const TQAVGouraud const TQAVGouraud
unsigned long 
flags
typedef unsigned long nVertices
typedef unsigned long const
TQAVGouraud
vertices
typedef unsigned long nTriangles
typedef unsigned long const
TQAIndexedTriangle
triangles
typedef unsigned long TQAVertexMode vertexMode
typedef const TQAVGouraud
TQABitmap
bitmap
typedef const TQARectdirtyRect
typedef const TQARect const
TQADrawContext
initialContext
typedef const TQARectmodifiedRect
typedef TQAError(RAVE_CALLBACK * TQASetNoticeMethod )(const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod completionCallBack, void *refCon)
typedef TQAError(RAVE_CALLBACK * TQAGetNoticeMethod )(const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod *completionCallBack, void **refCon)
typedef enum TQAVersion TQAVersion

Enumerations

enum  TQAImagePixelType {
  kQAPixel_Alpha1 = 0, kQAPixel_RGB16 = 1, kQAPixel_ARGB16 = 2, kQAPixel_RGB32 = 3,
  kQAPixel_ARGB32 = 4, kQAPixel_CL4 = 5, kQAPixel_CL8 = 6
}
enum  TQAColorTableType { kQAColorTable_CL8_RGB32 = 0, kQAColorTable_CL4_RGB32 = 1 }
enum  TQADeviceType { kQADeviceMemory = 0, kQADeviceGDevice = 1, kQADeviceWin32DC = 2, kQADeviceDDSurface = 3 }
enum  TQAClipType { kQAClipRgn = 0, kQAClipWin32Rgn = 1 }
enum  TQAError {
  kQANoErr = 0, kQAError = 1, kQAOutOfMemory = 2, kQANotSupported = 3,
  kQAOutOfDate = 4, kQAParamErr = 5, kQAGestaltUnknown = 6, kQADisplayModeUnsupported = 7,
  kQAOutOfVideoMemory = 8
}
enum  TQATagInt {
  kQATag_ZFunction = 0, kQATag_Antialias = 8, kQATag_Blend = 9, kQATag_PerspectiveZ = 10,
  kQATag_TextureFilter = 11, kQATag_TextureOp = 12, kQATag_CSGTag = 14, kQATag_CSGEquation = 15,
  kQATag_BufferComposite = 16, kQATagGL_DrawBuffer = 100, kQATagGL_TextureWrapU = 101, kQATagGL_TextureWrapV = 102,
  kQATagGL_TextureMagFilter = 103, kQATagGL_TextureMinFilter = 104, kQATagGL_ScissorXMin = 105, kQATagGL_ScissorYMin = 106,
  kQATagGL_ScissorXMax = 107, kQATagGL_ScissorYMax = 108, kQATagGL_BlendSrc = 109, kQATagGL_BlendDst = 110,
  kQATagGL_LinePattern = 111, kQATagGL_AreaPattern0 = 117, kQATagGL_AreaPattern31 = 148, kQATag_EngineSpecific_Minimum = 1000
}
enum  TQATagPtr { kQATag_Texture = 13 }
enum  TQATagFloat {
  kQATag_ColorBG_a = 1, kQATag_ColorBG_r = 2, kQATag_ColorBG_g = 3, kQATag_ColorBG_b = 4,
  kQATag_Width = 5, kQATag_ZMinOffset = 6, kQATag_ZMinScale = 7, kQATagGL_DepthBG = 112,
  kQATagGL_TextureBorder_a = 113, kQATagGL_TextureBorder_r = 114, kQATagGL_TextureBorder_g = 115, kQATagGL_TextureBorder_b = 116
}
enum  TQAVertexMode {
  kQAVertexMode_Point = 0, kQAVertexMode_Line = 1, kQAVertexMode_Polyline = 2, kQAVertexMode_Tri = 3,
  kQAVertexMode_Strip = 4, kQAVertexMode_Fan = 5, kQAVertexMode_NumModes = 6
}
enum  TQAGestaltSelector {
  kQAGestalt_OptionalFeatures = 0, kQAGestalt_FastFeatures = 1, kQAGestalt_VendorID = 2, kQAGestalt_EngineID = 3,
  kQAGestalt_Revision = 4, kQAGestalt_ASCIINameLength = 5, kQAGestalt_ASCIIName = 6, kQAGestalt_TextureMemory = 7,
  kQAGestalt_FastTextureMemory = 8, kQAGestalt_NumSelectors = 9
}
enum  TQAMethodSelector {
  kQAMethod_RenderCompletion = 0, kQAMethod_DisplayModeChanged = 1, kQAMethod_ReloadTextures = 2, kQAMethod_BufferInitialize = 3,
  kQAMethod_BufferComposite = 4, kQAMethod_NumSelectors = 5
}
enum  TQAVersion { kQAVersion_Prerelease = 0, kQAVersion_1_0 = 1, kQAVersion_1_0_5 = 2, kQAVersion_1_5 = 3 }

Functions

typedef void (RAVE_CALLBACK *TQASetFloat)(TQADrawContext *drawContext
typedef float (RAVE_CALLBACK *TQAGetFloat)(const TQADrawContext *drawContext
typedef TQAError (RAVE_CALLBACK *TQARenderEnd)(const TQADrawContext *drawContext
RAVE_EXPORT TQAError RAVE_CALL QADrawContextNew (const TQADevice *device, const TQARect *rect, const TQAClip *clip, const TQAEngine *engine, unsigned long flags, TQADrawContext **newDrawContext)
RAVE_EXPORT void RAVE_CALL QADrawContextDelete (TQADrawContext *drawContext)
RAVE_EXPORT TQAError RAVE_CALL QAColorTableNew (const TQAEngine *engine, TQAColorTableType tableType, void *pixelData, long transparentIndexFlag, TQAColorTable **newTable)
RAVE_EXPORT void RAVE_CALL QAColorTableDelete (const TQAEngine *engine, TQAColorTable *colorTable)
RAVE_EXPORT TQAError RAVE_CALL QATextureNew (const TQAEngine *engine, unsigned long flags, TQAImagePixelType pixelType, const TQAImage images[], TQATexture **newTexture)
RAVE_EXPORT TQAError RAVE_CALL QATextureDetach (const TQAEngine *engine, TQATexture *texture)
RAVE_EXPORT void RAVE_CALL QATextureDelete (const TQAEngine *engine, TQATexture *texture)
RAVE_EXPORT TQAError RAVE_CALL QATextureBindColorTable (const TQAEngine *engine, TQATexture *texture, TQAColorTable *colorTable)
RAVE_EXPORT TQAError RAVE_CALL QABitmapNew (const TQAEngine *engine, unsigned long flags, TQAImagePixelType pixelType, const TQAImage *image, TQABitmap **newBitmap)
RAVE_EXPORT TQAError RAVE_CALL QABitmapDetach (const TQAEngine *engine, TQABitmap *bitmap)
RAVE_EXPORT void RAVE_CALL QABitmapDelete (const TQAEngine *engine, TQABitmap *bitmap)
RAVE_EXPORT TQAError RAVE_CALL QABitmapBindColorTable (const TQAEngine *engine, TQABitmap *bitmap, TQAColorTable *colorTable)
RAVE_EXPORT TQAEngine *RAVE_CALL QADeviceGetFirstEngine (const TQADevice *device)
RAVE_EXPORT TQAEngine *RAVE_CALL QADeviceGetNextEngine (const TQADevice *device, const TQAEngine *currentEngine)
RAVE_EXPORT TQAError RAVE_CALL QAEngineCheckDevice (const TQAEngine *engine, const TQADevice *device)
RAVE_EXPORT TQAError RAVE_CALL QAEngineGestalt (const TQAEngine *engine, TQAGestaltSelector selector, void *response)
RAVE_EXPORT TQAError RAVE_CALL QAEngineEnable (long vendorID, long engineID)
RAVE_EXPORT TQAError RAVE_CALL QAEngineDisable (long vendorID, long engineID)


Define Documentation

#define kQAAntiAlias_Best   3
 

Definition at line 529 of file Rave.h.

#define kQAAntiAlias_Fast   1
 

Definition at line 527 of file Rave.h.

#define kQAAntiAlias_Mid   2
 

Definition at line 528 of file Rave.h.

#define kQAAntiAlias_Off   0
 

Definition at line 526 of file Rave.h.

#define kQABitmap_HighCompression   (1<<3)
 

Definition at line 667 of file Rave.h.

#define kQABitmap_Lock   (1<<1)
 

Definition at line 665 of file Rave.h.

#define kQABitmap_NoCompression   (1<<2)
 

Definition at line 666 of file Rave.h.

#define kQABitmap_None   0
 

Definition at line 664 of file Rave.h.

#define kQABlend_Interpolate   1
 

Definition at line 533 of file Rave.h.

#define kQABlend_OpenGL   2
 

Definition at line 534 of file Rave.h.

#define kQABlend_PreMultiply   0
 

Definition at line 532 of file Rave.h.

#define kQABufferComposite_Interpolate   2
 

Definition at line 539 of file Rave.h.

#define kQABufferComposite_None   0
 

Definition at line 537 of file Rave.h.

#define kQABufferComposite_PreMultiply   1
 

Definition at line 538 of file Rave.h.

#define kQAContext_Cache   (1 << 3)
 

Definition at line 677 of file Rave.h.

#define kQAContext_DeepZ   (1 << 1)
 

Definition at line 675 of file Rave.h.

#define kQAContext_DoubleBuffer   (1 << 2)
 

Definition at line 676 of file Rave.h.

#define kQAContext_NoDither   (1 << 4)
 

Definition at line 678 of file Rave.h.

#define kQAContext_None   0
 

Definition at line 673 of file Rave.h.

#define kQAContext_NoZBuffer   (1 << 0)
 

Definition at line 674 of file Rave.h.

#define kQACSGTag_0   0
 

Definition at line 559 of file Rave.h.

#define kQACSGTag_1   1
 

Definition at line 560 of file Rave.h.

#define kQACSGTag_2   2
 

Definition at line 561 of file Rave.h.

#define kQACSGTag_3   3
 

Definition at line 562 of file Rave.h.

#define kQACSGTag_4   4
 

Definition at line 563 of file Rave.h.

#define kQACSGTag_None   0xffffffffUL
 

Definition at line 558 of file Rave.h.

#define kQAFast_Antialiasing   (1 << 5)
 

Definition at line 715 of file Rave.h.

#define kQAFast_Blend   (1 << 4)
 

Definition at line 714 of file Rave.h.

#define kQAFast_CL4   (1 << 7)
 

Definition at line 717 of file Rave.h.

#define kQAFast_CL8   (1 << 8)
 

Definition at line 718 of file Rave.h.

#define kQAFast_Gouraud   (1 << 1)
 

Definition at line 711 of file Rave.h.

#define kQAFast_Line   (1 << 0)
 

Definition at line 710 of file Rave.h.

#define kQAFast_None   0
 

Definition at line 709 of file Rave.h.

#define kQAFast_Texture   (1 << 2)
 

Definition at line 712 of file Rave.h.

#define kQAFast_TextureHQ   (1 << 3)
 

Definition at line 713 of file Rave.h.

#define kQAFast_ZSorted   (1 << 6)
 

Definition at line 716 of file Rave.h.

#define kQAGeneric   2
 

Definition at line 35 of file Rave.h.

#define kQAGL_Clamp   1
 

Definition at line 567 of file Rave.h.

#define kQAGL_DestBlend_XXX   0
 

Definition at line 573 of file Rave.h.

#define kQAGL_DrawBuffer_Back   (kQAGL_DrawBuffer_BackLeft | kQAGL_DrawBuffer_BackRight)
 

Definition at line 582 of file Rave.h.

#define kQAGL_DrawBuffer_BackLeft   (1<<2)
 

Definition at line 579 of file Rave.h.

#define kQAGL_DrawBuffer_BackRight   (1<<3)
 

Definition at line 580 of file Rave.h.

#define kQAGL_DrawBuffer_Front   (kQAGL_DrawBuffer_FrontLeft | kQAGL_DrawBuffer_FrontRight)
 

Definition at line 581 of file Rave.h.

#define kQAGL_DrawBuffer_FrontLeft   (1<<0)
 

Definition at line 577 of file Rave.h.

#define kQAGL_DrawBuffer_FrontRight   (1<<1)
 

Definition at line 578 of file Rave.h.

#define kQAGL_DrawBuffer_None   0
 

Definition at line 576 of file Rave.h.

#define kQAGL_Repeat   0
 

Definition at line 566 of file Rave.h.

#define kQAGL_SourceBlend_XXX   0
 

Definition at line 570 of file Rave.h.

#define kQAMacOS   1
 

Definition at line 31 of file Rave.h.

#define kQAMaxWidth   128.0
 

Definition at line 523 of file Rave.h.

#define kQAOptional_Antialias   (1 << 6)
 

Definition at line 692 of file Rave.h.

#define kQAOptional_Blend   (1 << 4)
 

Definition at line 690 of file Rave.h.

#define kQAOptional_BlendAlpha   (1 << 5)
 

Definition at line 691 of file Rave.h.

#define kQAOptional_BoundToDevice   (1 << 12)
 

Definition at line 698 of file Rave.h.

#define kQAOptional_BufferComposite   (1 << 15)
 

Definition at line 701 of file Rave.h.

#define kQAOptional_CL4   (1 << 13)
 

Definition at line 699 of file Rave.h.

#define kQAOptional_CL8   (1 << 14)
 

Definition at line 700 of file Rave.h.

#define kQAOptional_CSG   (1 << 11)
 

Definition at line 697 of file Rave.h.

#define kQAOptional_DeepZ   (1 << 0)
 

Definition at line 686 of file Rave.h.

#define kQAOptional_NoClear   (1 << 10)
 

Definition at line 696 of file Rave.h.

#define kQAOptional_NoDither   (1 << 16)
 

Definition at line 702 of file Rave.h.

#define kQAOptional_None   0
 

Definition at line 685 of file Rave.h.

#define kQAOptional_OpenGL   (1 << 9)
 

Definition at line 695 of file Rave.h.

#define kQAOptional_PerspectiveZ   (1 << 8)
 

Definition at line 694 of file Rave.h.

#define kQAOptional_Texture   (1 << 1)
 

Definition at line 687 of file Rave.h.

#define kQAOptional_TextureColor   (1 << 3)
 

Definition at line 689 of file Rave.h.

#define kQAOptional_TextureHQ   (1 << 2)
 

Definition at line 688 of file Rave.h.

#define kQAOptional_ZSorted   (1 << 7)
 

Definition at line 693 of file Rave.h.

#define kQAPerspectiveZ_Off   0
 

Definition at line 542 of file Rave.h.

#define kQAPerspectiveZ_On   1
 

Definition at line 543 of file Rave.h.

#define kQAPlatform   kQAMacOS
 

Definition at line 45 of file Rave.h.

#define kQATexture_HighCompression   (1<<3)
 

Definition at line 658 of file Rave.h.

#define kQATexture_Lock   (1<<0)
 

Definition at line 655 of file Rave.h.

#define kQATexture_Mipmap   (1<<1)
 

Definition at line 656 of file Rave.h.

#define kQATexture_NoCompression   (1<<2)
 

Definition at line 657 of file Rave.h.

#define kQATexture_None   0
 

Definition at line 654 of file Rave.h.

#define kQATextureFilter_Best   2
 

Definition at line 548 of file Rave.h.

#define kQATextureFilter_Fast   0
 

Definition at line 546 of file Rave.h.

#define kQATextureFilter_Mid   1
 

Definition at line 547 of file Rave.h.

#define kQATextureOp_Decal   (1 << 2)
 

Definition at line 554 of file Rave.h.

#define kQATextureOp_Highlight   (1 << 1)
 

Definition at line 553 of file Rave.h.

#define kQATextureOp_Modulate   (1 << 0)
 

Definition at line 552 of file Rave.h.

#define kQATextureOp_None   0
 

Definition at line 551 of file Rave.h.

#define kQATextureOp_Shrink   (1 << 3)
 

Definition at line 555 of file Rave.h.

#define kQATriFlags_Backfacing   (1 << 0)
 

Definition at line 648 of file Rave.h.

#define kQATriFlags_None   0
 

Definition at line 647 of file Rave.h.

#define kQAWin32   3
 

Definition at line 39 of file Rave.h.

#define kQAZFunction_EQ   2
 

Definition at line 515 of file Rave.h.

#define kQAZFunction_GE   6
 

Definition at line 519 of file Rave.h.

#define kQAZFunction_GT   4
 

Definition at line 517 of file Rave.h.

#define kQAZFunction_LE   3
 

Definition at line 516 of file Rave.h.

#define kQAZFunction_LT   1
 

Definition at line 514 of file Rave.h.

#define kQAZFunction_NE   5
 

Definition at line 518 of file Rave.h.

#define kQAZFunction_None   0
 

Definition at line 513 of file Rave.h.

#define kQAZFunction_True   7
 

Definition at line 520 of file Rave.h.

#define QADrawBitmap drawContext,
v,
bitmap   )     (drawContext)->drawBitmap (drawContext,v,bitmap)
 

Definition at line 788 of file Rave.h.

#define QADrawLine drawContext,
v0,
v1   )     (drawContext)->drawLine (drawContext,v0,v1)
 

Definition at line 761 of file Rave.h.

#define QADrawPoint drawContext,
v   )     (drawContext)->drawPoint (drawContext,v)
 

Definition at line 758 of file Rave.h.

#define QADrawTriGouraud drawContext,
v0,
v1,
v2,
flags   )     (drawContext)->drawTriGouraud (drawContext,v0,v1,v2,flags)
 

Definition at line 764 of file Rave.h.

#define QADrawTriMeshGouraud drawContext,
nTriangle,
triangles   )     (drawContext)->drawTriMeshGouraud (drawContext,nTriangle,triangles)
 

Definition at line 776 of file Rave.h.

#define QADrawTriMeshTexture drawContext,
nTriangle,
triangles   )     (drawContext)->drawTriMeshTexture (drawContext,nTriangle,triangles)
 

Definition at line 779 of file Rave.h.

#define QADrawTriTexture drawContext,
v0,
v1,
v2,
flags   )     (drawContext)->drawTriTexture (drawContext,v0,v1,v2,flags)
 

Definition at line 767 of file Rave.h.

#define QADrawVGouraud drawContext,
nVertices,
vertexMode,
vertices,
flags   )     (drawContext)->drawVGouraud (drawContext,nVertices,vertexMode,vertices,flags)
 

Definition at line 782 of file Rave.h.

#define QADrawVTexture drawContext,
nVertices,
vertexMode,
vertices,
flags   )     (drawContext)->drawVTexture (drawContext,nVertices,vertexMode,vertices,flags)
 

Definition at line 785 of file Rave.h.

#define QAFlush drawContext   )     (drawContext)->flush (drawContext)
 

Definition at line 800 of file Rave.h.

#define QAGetFloat drawContext,
tag   )     (drawContext)->getFloat (drawContext,tag)
 

Definition at line 749 of file Rave.h.

#define QAGetInt drawContext,
tag   )     (drawContext)->getInt (drawContext,tag)
 

Definition at line 752 of file Rave.h.

#define QAGetNoticeMethod drawContext,
method,
completionCallBack,
refCon   )     (drawContext)->getNoticeMethod (drawContext, method, completionCallBack, refCon)
 

Definition at line 809 of file Rave.h.

#define QAGetPtr drawContext,
tag   )     (drawContext)->getPtr (drawContext,tag)
 

Definition at line 755 of file Rave.h.

#define QARenderAbort drawContext   )     (drawContext)->renderAbort (drawContext)
 

Definition at line 797 of file Rave.h.

#define QARenderEnd drawContext,
modifiedRect   )     (drawContext)->renderEnd (drawContext,modifiedRect)
 

Definition at line 794 of file Rave.h.

#define QARenderStart drawContext,
dirtyRect,
initialContext   )     (drawContext)->renderStart (drawContext,dirtyRect,initialContext)
 

Definition at line 791 of file Rave.h.

#define QASetFloat drawContext,
tag,
newValue   )     (drawContext)->setFloat (drawContext,tag,newValue)
 

Definition at line 740 of file Rave.h.

#define QASetInt drawContext,
tag,
newValue   )     (drawContext)->setInt (drawContext,tag,newValue)
 

Definition at line 743 of file Rave.h.

#define QASetNoticeMethod drawContext,
method,
completionCallBack,
refCon   )     (drawContext)->setNoticeMethod (drawContext, method, completionCallBack, refCon)
 

Definition at line 806 of file Rave.h.

#define QASetPtr drawContext,
tag,
newValue   )     (drawContext)->setPtr (drawContext,tag,newValue)
 

Definition at line 746 of file Rave.h.

#define QASubmitVerticesGouraud drawContext,
nVertices,
vertices   )     (drawContext)->submitVerticesGouraud(drawContext,nVertices,vertices)
 

Definition at line 770 of file Rave.h.

#define QASubmitVerticesTexture drawContext,
nVertices,
vertices   )     (drawContext)->submitVerticesTexture(drawContext,nVertices,vertices)
 

Definition at line 773 of file Rave.h.

#define QASync drawContext   )     (drawContext)->sync (drawContext)
 

Definition at line 803 of file Rave.h.

#define RAVE_CALL
 

Definition at line 66 of file Rave.h.

#define RAVE_CALLBACK
 

Definition at line 67 of file Rave.h.

#define RAVE_EXPORT
 

Definition at line 65 of file Rave.h.


Typedef Documentation

typedef const TQAVGouraud TQABitmap* bitmap
 

Definition at line 925 of file Rave.h.

typedef const TQARect* dirtyRect
 

Definition at line 930 of file Rave.h.

typedef unsigned long TQAVertexMode const TQAVTexture const unsigned long flags
 

Definition at line 877 of file Rave.h.

typedef const TQARect const TQADrawContext* initialContext
 

Definition at line 930 of file Rave.h.

typedef unsigned long(RAVE_CALLBACK *TQAGetInt)(const TQADrawContext *drawContext
 

Definition at line 858 of file Rave.h.

typedef const TQARect* modifiedRect
 

Definition at line 935 of file Rave.h.

typedef TQATagPtr const void * newValue
 

Definition at line 841 of file Rave.h.

typedef unsigned long nTriangles
 

Definition at line 901 of file Rave.h.

typedef unsigned long nVertices
 

Definition at line 891 of file Rave.h.

typedef unsigned TQATagInt tag
 

Definition at line 841 of file Rave.h.

typedef struct TQABitmap TQABitmap
 

Definition at line 255 of file Rave.h.

typedef void(RAVE_CALLBACK * TQABufferNoticeMethod)(const TQADrawContext *drawContext,const TQADevice *buffer,const TQARect *dirtyRect,void *refCon)
 

Definition at line 826 of file Rave.h.

typedef struct TQAClip TQAClip
 

typedef enum TQAClipType TQAClipType
 

typedef struct TQAColorTable TQAColorTable
 

Definition at line 258 of file Rave.h.

typedef enum TQAColorTableType TQAColorTableType
 

typedef struct TQADevice TQADevice
 

typedef struct TQADeviceMemory TQADeviceMemory
 

typedef enum TQADeviceType TQADeviceType
 

typedef struct TQADrawContext TQADrawContext
 

Definition at line 252 of file Rave.h.

typedef struct TQADrawPrivate TQADrawPrivate
 

Definition at line 256 of file Rave.h.

typedef struct TQAEngine TQAEngine
 

Definition at line 253 of file Rave.h.

typedef TQAError
 

typedef enum TQAGestaltSelector TQAGestaltSelector
 

typedef TQAError(RAVE_CALLBACK * TQAGetNoticeMethod)(const TQADrawContext *drawContext,TQAMethodSelector method, TQANoticeMethod *completionCallBack, void **refCon)
 

Definition at line 952 of file Rave.h.

typedef void* RAVE_CALLBACK* TQAGetPtr(const TQADrawContext *drawContext,TQATagPtr tag)
 

Definition at line 862 of file Rave.h.

typedef struct TQAImage TQAImage
 

Definition at line 257 of file Rave.h.

typedef enum TQAImagePixelType TQAImagePixelType
 

typedef struct TQAIndexedTriangle TQAIndexedTriangle
 

typedef enum TQAMethodSelector TQAMethodSelector
 

typedef union TQANoticeMethod TQANoticeMethod
 

typedef union TQAPlatformClip TQAPlatformClip
 

typedef union TQAPlatformDevice TQAPlatformDevice
 

typedef struct TQARect TQARect
 

typedef TQAError(RAVE_CALLBACK * TQASetNoticeMethod)(const TQADrawContext *drawContext,TQAMethodSelector method, TQANoticeMethod completionCallBack, void *refCon)
 

Definition at line 946 of file Rave.h.

typedef void(RAVE_CALLBACK * TQAStandardNoticeMethod)(const TQADrawContext *drawContext,void *refCon)
 

Definition at line 822 of file Rave.h.

typedef enum TQATagFloat TQATagFloat
 

typedef enum TQATagInt TQATagInt
 

typedef enum TQATagPtr TQATagPtr
 

typedef struct TQATexture TQATexture
 

Definition at line 254 of file Rave.h.

typedef enum TQAVersion TQAVersion
 

typedef enum TQAVertexMode TQAVertexMode
 

typedef struct TQAVGouraud TQAVGouraud
 

typedef struct TQAVTexture TQAVTexture
 

typedef unsigned long const TQAIndexedTriangle * triangles
 

Definition at line 901 of file Rave.h.

typedef const TQAVGouraud * v
 

Definition at line 868 of file Rave.h.

typedef const TQAVTexture * v0
 

Definition at line 872 of file Rave.h.

typedef const TQAVTexture const TQAVTexture * v1
 

Definition at line 872 of file Rave.h.

typedef const TQAVTexture const TQAVTexture const TQAVTexture * v2
 

Definition at line 877 of file Rave.h.

typedef unsigned long TQAVertexMode vertexMode
 

Definition at line 911 of file Rave.h.

typedef unsigned long TQAVertexMode const TQAVTexture vertices
 

Definition at line 891 of file Rave.h.


Enumeration Type Documentation

enum TQAClipType
 

Enumerator:
kQAClipRgn 
kQAClipWin32Rgn 

Definition at line 119 of file Rave.h.

enum TQAColorTableType
 

Enumerator:
kQAColorTable_CL8_RGB32 
kQAColorTable_CL4_RGB32 

Definition at line 93 of file Rave.h.

enum TQADeviceType
 

Enumerator:
kQADeviceMemory 
kQADeviceGDevice 
kQADeviceWin32DC 
kQADeviceDDSurface 

Definition at line 99 of file Rave.h.

enum TQAError
 

Enumerator:
kQANoErr 
kQAError 
kQAOutOfMemory 
kQANotSupported 
kQAOutOfDate 
kQAParamErr 
kQAGestaltUnknown 
kQADisplayModeUnsupported 
kQAOutOfVideoMemory 

Definition at line 274 of file Rave.h.

enum TQAGestaltSelector
 

Enumerator:
kQAGestalt_OptionalFeatures 
kQAGestalt_FastFeatures 
kQAGestalt_VendorID 
kQAGestalt_EngineID 
kQAGestalt_Revision 
kQAGestalt_ASCIINameLength 
kQAGestalt_ASCIIName 
kQAGestalt_TextureMemory 
kQAGestalt_FastTextureMemory 
kQAGestalt_NumSelectors 

Definition at line 612 of file Rave.h.

enum TQAImagePixelType
 

Enumerator:
kQAPixel_Alpha1 
kQAPixel_RGB16 
kQAPixel_ARGB16 
kQAPixel_RGB32 
kQAPixel_ARGB32 
kQAPixel_CL4 
kQAPixel_CL8 

Definition at line 76 of file Rave.h.

enum TQAMethodSelector
 

Enumerator:
kQAMethod_RenderCompletion 
kQAMethod_DisplayModeChanged 
kQAMethod_ReloadTextures 
kQAMethod_BufferInitialize 
kQAMethod_BufferComposite 
kQAMethod_NumSelectors 

Definition at line 631 of file Rave.h.

enum TQATagFloat
 

Enumerator:
kQATag_ColorBG_a 
kQATag_ColorBG_r 
kQATag_ColorBG_g 
kQATag_ColorBG_b 
kQATag_Width 
kQATag_ZMinOffset 
kQATag_ZMinScale 
kQATagGL_DepthBG 
kQATagGL_TextureBorder_a 
kQATagGL_TextureBorder_r 
kQATagGL_TextureBorder_g 
kQATagGL_TextureBorder_b 

Definition at line 496 of file Rave.h.

enum TQATagInt
 

Enumerator:
kQATag_ZFunction 
kQATag_Antialias 
kQATag_Blend 
kQATag_PerspectiveZ 
kQATag_TextureFilter 
kQATag_TextureOp 
kQATag_CSGTag 
kQATag_CSGEquation 
kQATag_BufferComposite 
kQATagGL_DrawBuffer 
kQATagGL_TextureWrapU 
kQATagGL_TextureWrapV 
kQATagGL_TextureMagFilter 
kQATagGL_TextureMinFilter 
kQATagGL_ScissorXMin 
kQATagGL_ScissorYMin 
kQATagGL_ScissorXMax 
kQATagGL_ScissorYMax 
kQATagGL_BlendSrc 
kQATagGL_BlendDst 
kQATagGL_LinePattern 
kQATagGL_AreaPattern0 
kQATagGL_AreaPattern31 
kQATag_EngineSpecific_Minimum 

Definition at line 462 of file Rave.h.

enum TQATagPtr
 

Enumerator:
kQATag_Texture 

Definition at line 491 of file Rave.h.

enum TQAVersion
 

Enumerator:
kQAVersion_Prerelease 
kQAVersion_1_0 
kQAVersion_1_0_5 
kQAVersion_1_5 

Definition at line 970 of file Rave.h.

enum TQAVertexMode
 

Enumerator:
kQAVertexMode_Point 
kQAVertexMode_Line 
kQAVertexMode_Polyline 
kQAVertexMode_Tri 
kQAVertexMode_Strip 
kQAVertexMode_Fan 
kQAVertexMode_NumModes 

Definition at line 595 of file Rave.h.


Function Documentation

typedef float RAVE_CALLBACK *  TQAGetFloat  )  const
 

Referenced by __declspec(), Quaternion::GetAngle(), Quaternion::GetAxis(), GetSpectrumColor(), GetSpectrumColorVector(), LinearToAngle360(), Matrix34::Matrix34(), Quaternion::Quaternion(), RGBAFloat::RGBAFloat(), RotateEuler::RotateEuler(), RotateSphere::RotateSphere(), RotateVector::RotateVector(), Round(), Quaternion::SetAngleAxis(), VectorsToLinear(), VectorsToStandard(), VectorsToStandard33(), VectorsToStandardQ(), XRotateRadians(), XRotateRadians33(), YAFloat::YAFloat(), YRotateRadians(), YRotateRadians33(), ZRotateRadians(), and ZRotateRadians33().

RAVE_EXPORT TQAError RAVE_CALL QABitmapBindColorTable const TQAEngine engine,
TQABitmap bitmap,
TQAColorTable colorTable
 

RAVE_EXPORT void RAVE_CALL QABitmapDelete const TQAEngine engine,
TQABitmap bitmap
 

RAVE_EXPORT TQAError RAVE_CALL QABitmapDetach const TQAEngine engine,
TQABitmap bitmap
 

RAVE_EXPORT TQAError RAVE_CALL QABitmapNew const TQAEngine engine,
unsigned long  flags,
TQAImagePixelType  pixelType,
const TQAImage image,
TQABitmap **  newBitmap
 

RAVE_EXPORT void RAVE_CALL QAColorTableDelete const TQAEngine engine,
TQAColorTable colorTable
 

RAVE_EXPORT TQAError RAVE_CALL QAColorTableNew const TQAEngine engine,
TQAColorTableType  tableType,
void *  pixelData,
long  transparentIndexFlag,
TQAColorTable **  newTable
 

RAVE_EXPORT TQAEngine* RAVE_CALL QADeviceGetFirstEngine const TQADevice device  ) 
 

RAVE_EXPORT TQAEngine* RAVE_CALL QADeviceGetNextEngine const TQADevice device,
const TQAEngine currentEngine
 

RAVE_EXPORT void RAVE_CALL QADrawContextDelete TQADrawContext drawContext  ) 
 

RAVE_EXPORT TQAError RAVE_CALL QADrawContextNew const TQADevice device,
const TQARect rect,
const TQAClip clip,
const TQAEngine engine,
unsigned long  flags,
TQADrawContext **  newDrawContext
 

RAVE_EXPORT TQAError RAVE_CALL QAEngineCheckDevice const TQAEngine engine,
const TQADevice device
 

RAVE_EXPORT TQAError RAVE_CALL QAEngineDisable long  vendorID,
long  engineID
 

RAVE_EXPORT TQAError RAVE_CALL QAEngineEnable long  vendorID,
long  engineID
 

RAVE_EXPORT TQAError RAVE_CALL QAEngineGestalt const TQAEngine engine,
TQAGestaltSelector  selector,
void *  response
 

RAVE_EXPORT TQAError RAVE_CALL QATextureBindColorTable const TQAEngine engine,
TQATexture texture,
TQAColorTable colorTable
 

RAVE_EXPORT void RAVE_CALL QATextureDelete const TQAEngine engine,
TQATexture texture
 

RAVE_EXPORT TQAError RAVE_CALL QATextureDetach const TQAEngine engine,
TQATexture texture
 

RAVE_EXPORT TQAError RAVE_CALL QATextureNew const TQAEngine engine,
unsigned long  flags,
TQAImagePixelType  pixelType,
const TQAImage  images[],
TQATexture **  newTexture
 

typedef TQAError RAVE_CALLBACK *  TQARenderEnd  )  const
 

typedef void RAVE_CALLBACK *  TQASetFloat  ) 
 


This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:48 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001