|
@@ -637,9 +637,16 @@ type
|
|
|
TxBaseline: Word; // text baseline
|
|
|
TxSpacing: SmallInt; // text spacing (per character)
|
|
|
RP_User: APTR;
|
|
|
+ {$ifdef AROS_ABIv0}
|
|
|
longreserved: array[0..1] of IPTR;
|
|
|
wordreserved: array[0..6] of Word; // used to be a node
|
|
|
reserved: array[0..7] of Byte; // for future use
|
|
|
+ {$endif}
|
|
|
+ {$ifdef AROS_ABIv1}
|
|
|
+ RP_Extra: APTR;
|
|
|
+ longreserved: array[0..5] of IPTR;
|
|
|
+ reserved: array[0..1] of Byte;
|
|
|
+ {$endif}
|
|
|
end;
|
|
|
|
|
|
const
|
|
@@ -2047,198 +2054,231 @@ const
|
|
|
var
|
|
|
GfxBase: PGfxBase;
|
|
|
|
|
|
-procedure AddAnimOb(AnOb: PAnimOb; AnKey: PPAnimOb; Rp: PRastPort); syscall GfxBase 26;
|
|
|
-procedure AddBob(Bob: PBob; Rp: PRastPort); syscall GfxBase 16;
|
|
|
-function AddDisplayDriverA(GfxHidd: APTR; Tags: PTagItem): LongInt; syscall GfxBase 181;
|
|
|
-procedure AddFont(TextFont: PTextFont); syscall GfxBase 80;
|
|
|
-procedure AddVSprite(VSprite: PVSprite; Rp: PRastPort); syscall GfxBase 17;
|
|
|
-function AllocBitMap(Sizex, Sizey, Depth, Flags: LongWord; Friend_Bitmap: PBitMap): PBitMap; syscall GfxBase 153;
|
|
|
-function AllocDBufInfo(Vp: PViewPort): PDBufInfo; syscall GfxBase 161;
|
|
|
-function AllocRaster(Width, Height: LongWord): TPlanePtr; syscall GfxBase 82;
|
|
|
-function AllocSpriteDataA(Bitmap: PBitMap; TagList: PTagItem): PExtSprite; syscall GfxBase 170;
|
|
|
-function AndRectRect(Rect1: PRectangle; Rect2: PRectangle; Intersect: PRectangle): LongBool; syscall GfxBase 193;
|
|
|
-procedure AndRectRegion(Reg: PRegion; Rect :PRectangle); syscall GfxBase 84;
|
|
|
-procedure AndRectRegionND(Reg: PRegion; Rect: PRectangle); syscall GfxBase 107;
|
|
|
-function AndRegionRegion(SrcRegion: PRegion; DestRegion: PRegion): LongBool; syscall GfxBase 104;
|
|
|
-function AndRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 108;
|
|
|
-procedure Animate(AnKey: PPAnimOb; Rp: PRastPort); syscall GfxBase 27;
|
|
|
-function AreaDraw(Rp: PRastPort; x, y: SmallInt): LongWord; syscall GfxBase 43;
|
|
|
-function AreaEllipse(Rp: PRastPort; xCenter, yCenter, a, b: SmallInt): LongWord; syscall GfxBase 31;
|
|
|
-function AreaEnd(Rp: PRastPort): LongInt; syscall GfxBase 44;
|
|
|
-function AreaMove(Rp: PRastPort; x, y: SmallInt): LongWord; syscall GfxBase 42;
|
|
|
-function AreRegionsEqual(R1: PRegion; R2: PRegion): LongBool; syscall GfxBase 189;
|
|
|
-procedure AskFont(Rp: PRastPort; TextAttr: PTextAttr); syscall GfxBase 79;
|
|
|
-function AskSoftStyle(Rp: PRastPort): LongWord; syscall GfxBase 14;
|
|
|
-function AttachPalExtra(Cm: PColorMap; Vp: PViewPort): LongInt; syscall GfxBase 139;
|
|
|
-function AttemptLockLayerRom(l: PLayer): LongBool; syscall GfxBase 109;
|
|
|
-function BestModeIDA(Tags: PTagItem): LongWord; syscall GfxBase 175;
|
|
|
-procedure BitMapScale(BitScaleArgs: PBitScaleArgs); syscall GfxBase 113;
|
|
|
+
|
|
|
+
|
|
|
function BltBitMap(const SrcBitMap: PBitMap; xSrc, ySrc: LongInt; DestBitMap: PBitMap; xDest, yDest, xSize, ySize: LongInt; MinTerm : LongWord; Mask: LongWord; TempA: TPlanePtr): LongInt; syscall GfxBase 5;
|
|
|
-procedure BltBitMapRastPort(const SrcBitMap: PBitMap; xSrc, ySrc: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt; MinTerm: LongWord); syscall GfxBase 101;
|
|
|
-procedure BltClear(MemBlock: Pointer; ByteCount: LongWord; Flags: LongWord); syscall GfxBase 50; deprecated;
|
|
|
-procedure BltMaskBitMapRastPort(SrcBitMap: PBitMap; xSrc, ySrc: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt; MinTerm: LongWord; bltMask: TPlanePtr); syscall GfxBase 106;
|
|
|
-procedure BltPattern(Rp: PRastPort; mask: TPlanePtr; xMin, yMin, xMax, yMax: LongInt; ByteCnt: LongWord); syscall GfxBase 52;
|
|
|
-procedure BltRastPortBitMap(SrcRastPort: PRastPort; xSrc, ySrc: LongInt; DestBitMap: PBitMap; xDest, yDest, xSize, ySize, MinTerm: LongWord); syscall GfxBase 196;
|
|
|
procedure BltTemplate(const Source: TPlanePtr; xSrc, srcMod: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt); syscall GfxBase 6;
|
|
|
-function CalcIVG(View: PView; ViewPort: PViewPort): Word; syscall GfxBase 138; unimplemented;
|
|
|
-procedure CBump(CopList: PUCopList); syscall GfxBase 61;
|
|
|
-function ChangeExtSpriteA(Vp: PViewPort; Oldsprite: PExtSprite; NewSprite: PExtSprite; Tags: PTagItem): LongInt; syscall GfxBase 171;
|
|
|
-procedure ChangeSprite(Vp: PViewPort; s: PSimpleSprite; NewData: Pointer); syscall GfxBase 70; unimplemented;
|
|
|
-procedure ChangeVPBitMap(Vp: PViewPort; Bm: PBitMap; Db: PDBufInfo); syscall GfxBase 157;
|
|
|
procedure ClearEOL(Rp: PRastPort); syscall GfxBase 7;
|
|
|
-function ClearRectRegion(Reg: PRegion; Rect: PRectangle): LongBool; syscall GfxBase 87;
|
|
|
-function ClearRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 124;
|
|
|
-procedure ClearRegion(Region: PRegion); syscall GfxBase 88;
|
|
|
-function ClearRegionRegion(R1: PRegion; R2: PRegion): LongBool; syscall GfxBase 187;
|
|
|
-function ClearRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 141;
|
|
|
procedure ClearScreen(Rp: PRastPort); syscall GfxBase 8;
|
|
|
-procedure ClipBlit(SrcRP: PRastPort; xSrc, ySrc: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt; MinTerm: Byte); syscall GfxBase 92;
|
|
|
+function TextLength(Rp: PRastPort; const string_: STRPTR; Count: LongWord): SmallInt; syscall GfxBase 9;
|
|
|
+procedure GfxText(Rp: PRastPort; const String_: STRPTR; Count: LongWord); syscall GfxBase 10;
|
|
|
+procedure SetFont(Rp: PRastPort; TextFont: PTextFont); syscall GfxBase 11;
|
|
|
+function OpenFont(TextAttr: PTextAttr): PTextFont; syscall GfxBase 12;
|
|
|
procedure CloseFont(TextFont: PTextFont); syscall GfxBase 13;
|
|
|
-function CloseMonitor(Monitor_Spec: PMonitorSpec): LongInt; syscall GfxBase 120;
|
|
|
-procedure CMove(CopList: PUCopList; Reg: Pointer; Value: LongInt); syscall GfxBase 62;
|
|
|
-function CoerceMode(RealViewPort: PViewPort; MonitorID: LongWord; Flags: LongWord): LongWord; syscall GfxBase 156; unimplemented;
|
|
|
-function CopyRegion(Region: PRegion): PRegion; syscall GfxBase 188;
|
|
|
-procedure CopySBitMap(l: PLayer); syscall GfxBase 75;
|
|
|
-function CreateRastPort: PRastPort; syscall GfxBase 177;
|
|
|
-function CloneRastPort(Rp: PRastPort): PRastPort; syscall GfxBase 178;
|
|
|
-procedure DeinitRastPort(Rp: PRastPort); syscall GfxBase 179;
|
|
|
-procedure FreeRastPort(Rp: PRastPort); syscall GfxBase 180;
|
|
|
-procedure CWait(CopList: PUCopList; V: SmallInt; H: SmallInt); syscall GfxBase 63;
|
|
|
-procedure DisownBlitter; syscall GfxBase 77;
|
|
|
-procedure DisposeRegion(Region: PRegion); syscall GfxBase 89;
|
|
|
+function AskSoftStyle(Rp: PRastPort): LongWord; syscall GfxBase 14;
|
|
|
+function SetSoftStyle(Rp: PRastPort; Style: LongWord; Enable: LongWord): LongWord; syscall GfxBase 15;
|
|
|
+procedure AddBob(Bob: PBob; Rp: PRastPort); syscall GfxBase 16;
|
|
|
+procedure AddVSprite(VSprite: PVSprite; Rp: PRastPort); syscall GfxBase 17;
|
|
|
procedure DoCollision(Rp: PRastPort); syscall GfxBase 18;
|
|
|
-function DoPixelFunc(Rp: PRastPort; x, y: LongInt; Render_Func: Pointer; FuncData: APTR; Do_Update: LongBool): LongInt; syscall GfxBase 185;
|
|
|
-function DoRenderFunc(Rp: PRastPort; Src: PPoint; Rr: PRectangle; Render_Func: Pointer; FuncData: APTR; Do_Update: LongBool): LongInt; syscall GfxBase 184;
|
|
|
-procedure Draw(Rp: PRastPort; x, y: LongInt); syscall GfxBase 41;
|
|
|
-procedure DrawEllipse(Rp: PRastPort; xCenter, yCenter, a, b: LongInt); syscall GfxBase 30;
|
|
|
procedure DrawGList(Rp: PRastPort; Vp: PViewPort); syscall GfxBase 19;
|
|
|
-procedure EraseRect(Rp: PRastPort; xMin, yMin, xMax, yMax: LongInt); syscall GfxBase 135;
|
|
|
-function ExtendFont(Font: PTextFont; FontTags: PTagItem): LongWord; syscall GfxBase 136;
|
|
|
-function FillRectPenDrMd(Rp: PRastPort; x1, y1, x2, y2: LongInt; Pix: Pointer{HIDDT_Pixel}; drmd: Pointer{HIDDT_DrawMode}; Do_Update: LongBool): LongInt; syscall GfxBase 183;
|
|
|
-function FindColor(Cm: PColorMap; r, g, b, MaxPen: LongWord): LongWord; syscall GfxBase 168;
|
|
|
-function FindDisplayInfo(ID: LongWord): DisplayInfoHandle; syscall GfxBase 121;
|
|
|
-function Flood(Rp: PRastPort; Mode: LongWord; x, y: LongInt): LongBool; syscall GfxBase 55;
|
|
|
-procedure FontExtent(Font: PTextFont; FontExtent: PTextExtent); syscall GfxBase 127;
|
|
|
-procedure FreeBitMap(Bm: PBitMap); syscall GfxBase 154;
|
|
|
-procedure FreeColorMap(ColorMap: PColorMap); syscall GfxBase 96;
|
|
|
-procedure FreeCopList(CopList: PCopList); syscall GfxBase 91;
|
|
|
-procedure FreeCprList(CprList: PCprList); syscall GfxBase 94;
|
|
|
-procedure FreeDBufInfo(Dbi: PDBufInfo); syscall GfxBase 162;
|
|
|
-procedure FreeGBuffers(AnOb: PAnimOb; Rp: PRastPort; db: LongBool); syscall GfxBase 100;
|
|
|
-procedure FreeRaster(p: TPlanePtr; Width, Height: LongWord); syscall GfxBase 83;
|
|
|
-procedure FreeSprite(Pick: SmallInt); syscall GfxBase 69;
|
|
|
-procedure FreeSpriteData(ExtSp: PExtSprite); syscall GfxBase 172;
|
|
|
-procedure FreeVPortCopLists(Vp: PViewPort); syscall GfxBase 90;
|
|
|
-function GetAPen(Rp: PRastPort): LongWord; syscall GfxBase 143;
|
|
|
-function GetBitMapAttr(BitMap: PBitMap; Attribute: LongWord): IPTR; syscall GfxBase 160;
|
|
|
-function GetBPen(Rp: PRastPort): LongWord; syscall GfxBase 144;
|
|
|
-function GetColorMap(Entries: LongWord): PColorMap; syscall GfxBase 95;
|
|
|
-function GetDisplayInfoData(Handle: DisplayInfoHandle; Buf: PChar; Size: LongWord; TagID: LongWord; ID: LongWord): LongWord; syscall GfxBase 126;
|
|
|
-function GetDrMd(Rp: PRastPort): LongWord; syscall GfxBase 145;
|
|
|
-function GetExtSpriteA(Sprite: PExtSprite; Tags: PTagItem): LongInt; syscall GfxBase 155;
|
|
|
-function GetGBuffers(AnOb: PAnimOb; Rp: PRastPort; Db: LongBool): LongBool; syscall GfxBase 28;
|
|
|
-function GetOutlinePen(Rp: PRastPort): LongWord; syscall GfxBase 146;
|
|
|
-procedure GetRGB32(Cm: PColorMap; FirstColor: LongWord; NColors: LongWord; Table: PLongWord); syscall GfxBase 150;
|
|
|
-function GetRGB4(ColorMap: PColorMap; Entry: LongInt): LongWord; syscall GfxBase 97;
|
|
|
-procedure GetRPAttrsA(Rp: PRastPort; Tags: PTagItem); syscall GfxBase 174;
|
|
|
-function GetSprite(Sprite: PSimpleSprite; Pick: SmallInt): SmallInt; syscall GfxBase 68;
|
|
|
-function GetVPModeID(Vp: PViewPort): LongWord; syscall GfxBase 132;
|
|
|
-procedure GfxAssociate(Pointer_: Pointer; Node: PExtendedNode); syscall GfxBase 112;
|
|
|
-procedure GfxFree(Node: PExtendedNode); syscall GfxBase 111;
|
|
|
-function GfxLookUp(Pointer_: Pointer): PExtendedNode; syscall GfxBase 117;
|
|
|
-function GfxNew(Node_Type: LongWord): PExtendedNode; syscall GfxBase 110;
|
|
|
-procedure InitArea(AreaInfo: PAreaInfo; Buffer: Pointer; MaxVectors: SmallInt); syscall GfxBase 47;
|
|
|
-procedure InitBitMap(Bm: PBitMap; Depth: ShortInt; Width, Height: Word); syscall GfxBase 65;
|
|
|
procedure InitGels(Head: PVSprite; Tail: PVSprite; GelsInfo: PGelsInfo); syscall GfxBase 20;
|
|
|
-procedure InitGMasks(AnOb: PAnimOb); syscall GfxBase 29;
|
|
|
procedure InitMasks(VSprite: PVSprite); syscall GfxBase 21;
|
|
|
+procedure RemIBob(Bob: PBob; Rp: PRastPort; Vp: PViewPort); syscall GfxBase 22;
|
|
|
+procedure RemVSprite(VSprite: PVSprite); syscall GfxBase 23;
|
|
|
+procedure SetCollision(Num: LongWord; Routine: TProcedure; GInfo: PGelsInfo); syscall GfxBase 24;
|
|
|
+procedure SortGList(Rp: PRastPort); syscall GfxBase 25;
|
|
|
+procedure AddAnimOb(AnOb: PAnimOb; AnKey: PPAnimOb; Rp: PRastPort); syscall GfxBase 26;
|
|
|
+procedure Animate(AnKey: PPAnimOb; Rp: PRastPort); syscall GfxBase 27;
|
|
|
+function GetGBuffers(AnOb: PAnimOb; Rp: PRastPort; Db: LongBool): LongBool; syscall GfxBase 28;
|
|
|
+procedure InitGMasks(AnOb: PAnimOb); syscall GfxBase 29;
|
|
|
+procedure DrawEllipse(Rp: PRastPort; xCenter, yCenter, a, b: LongInt); syscall GfxBase 30;
|
|
|
+function AreaEllipse(Rp: PRastPort; xCenter, yCenter, a, b: SmallInt): LongWord; syscall GfxBase 31;
|
|
|
+procedure LoadRGB4(Vp: PViewPort; Colors: PWord; Count: LongInt); syscall GfxBase 32;
|
|
|
procedure InitRastPort(Rp: PRastPort); syscall GfxBase 33;
|
|
|
-function InitTmpRas(TmpRas: PTmpRas; Buffer: Pointer; Size: LongWord): PTmpRas; syscall GfxBase 78;
|
|
|
-procedure InitView(View: PView); syscall GfxBase 60;
|
|
|
procedure InitVPort(Vp: PViewPort); syscall GfxBase 34;
|
|
|
-function IsPointInRegion(Reg: PRegion; x, y: SmallInt): LongBool; syscall GfxBase 190;
|
|
|
-procedure LoadRGB32(Vp: PViewPort; const Table: PLongWord); syscall GfxBase 147;
|
|
|
-procedure LoadRGB4(Vp: PViewPort; Colors: PWord; Count: LongInt); syscall GfxBase 32;
|
|
|
-procedure LoadView(View: PView); syscall GfxBase 37;
|
|
|
-procedure LockLayerRom(l: PLayer); syscall GfxBase 72;
|
|
|
+function MrgCop(View: PView): LongWord; syscall GfxBase 35;
|
|
|
function MakeVPort(View: PView; ViewPort: PViewPort): LongWord; syscall GfxBase 36;
|
|
|
-function ModeNotAvailable(ModeID: LongWord): LongWord; syscall GfxBase 133;
|
|
|
+procedure LoadView(View: PView); syscall GfxBase 37;
|
|
|
+procedure WaitBlit; syscall GfxBase 38; unimplemented;
|
|
|
+procedure SetRast(Rp: PRastPort; Pen: LongWord); syscall GfxBase 39;
|
|
|
procedure GfxMove(Rp: PRastPort; x, y: SmallInt); syscall GfxBase 40;
|
|
|
-procedure MoveSprite(Vp: PViewPort; Sprite: PSimpleSprite; x, y: SmallInt); syscall GfxBase 71;
|
|
|
-function MrgCop(View: PView): LongWord; syscall GfxBase 35;
|
|
|
-function NewRectRegion(MinX, MinY, MaxX, MaxY: SmallInt): PRegion; syscall GfxBase 194;
|
|
|
-function NewRegion: PRegion; syscall GfxBase 86;
|
|
|
-function NextDisplayInfo(Last_ID: LongWord): LongWord; syscall GfxBase 122;
|
|
|
-function ObtainBestPenA(Cm: PColorMap; r, g, b: LongWord; Tags: PTagItem): LongInt; syscall GfxBase 140;
|
|
|
-function ObtainPen(Cm: PColorMap; n, r, g, b: LongWord; Flags: LongWord): LongInt; syscall GfxBase 159;
|
|
|
-function OpenFont(TextAttr: PTextAttr): PTextFont; syscall GfxBase 12;
|
|
|
-function OpenMonitor(MonitorName: STRPTR; DisplayID: LongWord): PMonitorSpec; syscall GfxBase 119;
|
|
|
-function OrRectRegion(Reg: PRegion; Rect: PRectangle): LongBool; syscall GfxBase 85;
|
|
|
-function OrRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 123;
|
|
|
-function OrRegionRegion(SrcRegion: PRegion; DestRegion: PRegion): LongBool; syscall GfxBase 102;
|
|
|
-function OrRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 125;
|
|
|
-procedure OwnBlitter; syscall GfxBase 76;
|
|
|
-procedure PolyDraw(Rp: PRastPort; Count: LongInt; PolyTable: PSmallInt); syscall GfxBase 56;
|
|
|
+procedure Draw(Rp: PRastPort; x, y: LongInt); syscall GfxBase 41;
|
|
|
+function AreaMove(Rp: PRastPort; x, y: SmallInt): LongWord; syscall GfxBase 42;
|
|
|
+function AreaDraw(Rp: PRastPort; x, y: SmallInt): LongWord; syscall GfxBase 43;
|
|
|
+function AreaEnd(Rp: PRastPort): LongInt; syscall GfxBase 44;
|
|
|
+procedure WaitTOF; syscall GfxBase 45;
|
|
|
procedure QBlit(Blit: PBltNode); syscall GfxBase 46;
|
|
|
+procedure InitArea(AreaInfo: PAreaInfo; Buffer: Pointer; MaxVectors: SmallInt); syscall GfxBase 47;
|
|
|
+procedure SetRGB4(Vp: PViewPort; n, r, g, b: LongWord); syscall GfxBase 48;
|
|
|
procedure QBSBlit(Blit: PBltNode); syscall GfxBase 49;
|
|
|
-function ReadPixel(Rp: PRastPort; x, y: LongInt): LongInt; syscall GfxBase 53;
|
|
|
-function ReadPixelArray8(Rp: PRastPort; xStart, yStart, xStop, yStop: LongWord; Array_: PByte; TempRp: PRastPort): LongInt; syscall GfxBase 130;
|
|
|
-function ReadPixelLine8(Rp: PRastPort; xStart, yStart, Width: LongWord; Array_: PByte; TempRP: PRastPort): LongInt; syscall GfxBase 128;
|
|
|
+procedure BltClear(MemBlock: Pointer; ByteCount: LongWord; Flags: LongWord); syscall GfxBase 50; deprecated;
|
|
|
procedure RectFill(Rp: PRastPort; xMin, yMin, xMax, yMax : LongInt); syscall GfxBase 51;
|
|
|
-procedure ReleasePen(Cm: PColorMap; n: LongWord); syscall GfxBase 158;
|
|
|
-procedure RemFont(TextFont: PTextFont); syscall GfxBase 81;
|
|
|
-procedure RemIBob(Bob: PBob; Rp: PRastPort; Vp: PViewPort); syscall GfxBase 22;
|
|
|
-procedure RemVSprite(VSprite: PVSprite); syscall GfxBase 23;
|
|
|
-function ScalerDiv(Factor: LongWord; Numerator: LongWord; Denominator: LongWord): Word; syscall GfxBase 114;
|
|
|
-procedure ShowImminentReset; syscall GfxBase 197;
|
|
|
-procedure ScrollRaster(Rp: PRastPort; dx, dy, xMin, yMin, xMax, yMax: LongInt); syscall GfxBase 66;
|
|
|
-procedure ScrollRasterBF(Rp: PRastPort; dx, dy, xMin, yMin, xMax, yMax: LongInt); syscall GfxBase 167;
|
|
|
-function ScrollRegion(Region: PRegion; Rect: PRectangle; Dx, Dy: SmallInt): LongBool; syscall GfxBase 191;
|
|
|
-procedure ScrollVPort(Vp: PViewPort); syscall GfxBase 98;
|
|
|
-procedure SetABPenDrMd(Rp: PRastPort; APen: LongWord; BPen: LongWord; DrawMode: LongWord); syscall GfxBase 149;
|
|
|
+procedure BltPattern(Rp: PRastPort; mask: TPlanePtr; xMin, yMin, xMax, yMax: LongInt; ByteCnt: LongWord); syscall GfxBase 52;
|
|
|
+function ReadPixel(Rp: PRastPort; x, y: LongInt): LongInt; syscall GfxBase 53;
|
|
|
+function WritePixel(Rp: PRastPort; x, y: LongInt): LongInt; syscall GfxBase 54;
|
|
|
+function Flood(Rp: PRastPort; Mode: LongWord; x, y: LongInt): LongBool; syscall GfxBase 55;
|
|
|
+procedure PolyDraw(Rp: PRastPort; Count: LongInt; PolyTable: PSmallInt); syscall GfxBase 56;
|
|
|
procedure SetAPen(Rp: PRastPort; Pen: LongWord); syscall GfxBase 57;
|
|
|
procedure SetBPen(Rp: PRastPort; Pen: LongWord); syscall GfxBase 58;
|
|
|
-function SetChipRev(ChipRev: LongWord): LongWord; syscall GfxBase 148; platform;
|
|
|
-procedure SetCollision(Num: LongWord; Routine: TProcedure; GInfo: PGelsInfo); syscall GfxBase 24;
|
|
|
-procedure SetDisplayDriverCallback(CallBack: TDriverNotifyFunc; UserData: APTR); syscall GfxBase 186;
|
|
|
procedure SetDrMd(Rp: PRastPort; DrawMode: LongWord); syscall GfxBase 59;
|
|
|
-procedure SetFont(Rp: PRastPort; TextFont: PTextFont); syscall GfxBase 11;
|
|
|
-procedure SetMaxPen(Rp: PRastPort; MaxPen: LongWord); syscall GfxBase 165;
|
|
|
-function SetOutlinePen(Rp: PRastPort; Pen: LongWord): LongWord; syscall GfxBase 163;
|
|
|
-procedure SetRast(Rp: PRastPort; Pen: LongWord); syscall GfxBase 39;
|
|
|
-function SetRegion(Src: PRegion; Dest: PRegion): LongBool; syscall GfxBase 195;
|
|
|
-procedure SetRGB32(Vp: PViewPort; n, r, g, b : LongWord); syscall GfxBase 142;
|
|
|
-procedure SetRGB32CM(Cm: PColorMap; n, r, g, b: LongWord); syscall GfxBase 166;
|
|
|
-procedure SetRGB4(Vp: PViewPort; n, r, g, b: LongWord); syscall GfxBase 48;
|
|
|
-procedure SetRGB4CM(Cm: PColorMap; n: SmallInt; r, g, b: Byte); syscall GfxBase 105;
|
|
|
-procedure SetRPAttrsA(Rp: PRastPort; Tags: PTagItem); syscall GfxBase 173;
|
|
|
-function SetSoftStyle(Rp: PRastPort; Style: LongWord; Enable: LongWord): LongWord; syscall GfxBase 15;
|
|
|
-function SetWriteMask(Rp: PRastPort; Mask: LongWord): LongWord; syscall GfxBase 164;
|
|
|
-procedure SortGList(Rp: PRastPort); syscall GfxBase 25;
|
|
|
-procedure StripFont(Font: PTextFont); syscall GfxBase 137;
|
|
|
-function SwapRegions(Region1: PRegion; Region2: PRegion; Intersect: PRectangle): LongBool; syscall GfxBase 192;
|
|
|
+procedure InitView(View: PView); syscall GfxBase 60;
|
|
|
+procedure CBump(CopList: PUCopList); syscall GfxBase 61;
|
|
|
+procedure CMove(CopList: PUCopList; Reg: Pointer; Value: LongInt); syscall GfxBase 62;
|
|
|
+procedure CWait(CopList: PUCopList; V: SmallInt; H: SmallInt); syscall GfxBase 63;
|
|
|
+function VBeamPos: LongInt; syscall GfxBase 64; platform;
|
|
|
+procedure InitBitMap(Bm: PBitMap; Depth: ShortInt; Width, Height: Word); syscall GfxBase 65;
|
|
|
+procedure ScrollRaster(Rp: PRastPort; dx, dy, xMin, yMin, xMax, yMax: LongInt); syscall GfxBase 66;
|
|
|
+procedure WaitBOVP(Vp: PViewPort); syscall GfxBase 67; unimplemented;
|
|
|
+function GetSprite(Sprite: PSimpleSprite; Pick: SmallInt): SmallInt; syscall GfxBase 68;
|
|
|
+procedure FreeSprite(Pick: SmallInt); syscall GfxBase 69;
|
|
|
+procedure ChangeSprite(Vp: PViewPort; s: PSimpleSprite; NewData: Pointer); syscall GfxBase 70; unimplemented;
|
|
|
+procedure MoveSprite(Vp: PViewPort; Sprite: PSimpleSprite; x, y: SmallInt); syscall GfxBase 71;
|
|
|
+procedure LockLayerRom(l: PLayer); syscall GfxBase 72;
|
|
|
+procedure UnlockLayerRom(l: PLayer); syscall GfxBase 73;
|
|
|
procedure SyncSBitMap(l: PLayer); syscall GfxBase 74;
|
|
|
-procedure GfxText(Rp: PRastPort; const String_: STRPTR; Count: LongWord); syscall GfxBase 10;
|
|
|
+procedure CopySBitMap(l: PLayer); syscall GfxBase 75;
|
|
|
+procedure OwnBlitter; syscall GfxBase 76;
|
|
|
+procedure DisownBlitter; syscall GfxBase 77;
|
|
|
+function InitTmpRas(TmpRas: PTmpRas; Buffer: Pointer; Size: LongWord): PTmpRas; syscall GfxBase 78;
|
|
|
+procedure AskFont(Rp: PRastPort; TextAttr: PTextAttr); syscall GfxBase 79;
|
|
|
+procedure AddFont(TextFont: PTextFont); syscall GfxBase 80;
|
|
|
+procedure RemFont(TextFont: PTextFont); syscall GfxBase 81;
|
|
|
+function AllocRaster(Width, Height: LongWord): TPlanePtr; syscall GfxBase 82;
|
|
|
+procedure FreeRaster(p: TPlanePtr; Width, Height: LongWord); syscall GfxBase 83;
|
|
|
+procedure AndRectRegion(Reg: PRegion; Rect :PRectangle); syscall GfxBase 84;
|
|
|
+function OrRectRegion(Reg: PRegion; Rect: PRectangle): LongBool; syscall GfxBase 85;
|
|
|
+function NewRegion: PRegion; syscall GfxBase 86;
|
|
|
+function ClearRectRegion(Reg: PRegion; Rect: PRectangle): LongBool; syscall GfxBase 87;
|
|
|
+procedure ClearRegion(Region: PRegion); syscall GfxBase 88;
|
|
|
+procedure DisposeRegion(Region: PRegion); syscall GfxBase 89;
|
|
|
+procedure FreeVPortCopLists(Vp: PViewPort); syscall GfxBase 90;
|
|
|
+procedure FreeCopList(CopList: PCopList); syscall GfxBase 91;
|
|
|
+procedure ClipBlit(SrcRP: PRastPort; xSrc, ySrc: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt; MinTerm: Byte); syscall GfxBase 92;
|
|
|
+function XorRectRegion(Reg: PRegion; Rect: PRectangle): LongBool; syscall GfxBase 93;
|
|
|
+procedure FreeCprList(CprList: PCprList); syscall GfxBase 94;
|
|
|
+function GetColorMap(Entries: LongWord): PColorMap; syscall GfxBase 95;
|
|
|
+procedure FreeColorMap(ColorMap: PColorMap); syscall GfxBase 96;
|
|
|
+function GetRGB4(ColorMap: PColorMap; Entry: LongInt): LongWord; syscall GfxBase 97;
|
|
|
+procedure ScrollVPort(Vp: PViewPort); syscall GfxBase 98;
|
|
|
+function UCopperListInit(Ucl: PUCopList; n: SmallInt): PCopList; syscall GfxBase 99;
|
|
|
+procedure FreeGBuffers(AnOb: PAnimOb; Rp: PRastPort; db: LongBool); syscall GfxBase 100;
|
|
|
+procedure BltBitMapRastPort(const SrcBitMap: PBitMap; xSrc, ySrc: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt; MinTerm: LongWord); syscall GfxBase 101;
|
|
|
+function OrRegionRegion(SrcRegion: PRegion; DestRegion: PRegion): LongBool; syscall GfxBase 102;
|
|
|
+function XorRegionRegion(SrcRegion: PRegion; DestRegion: PRegion): LongBool; syscall GfxBase 103;
|
|
|
+function AndRegionRegion(SrcRegion: PRegion; DestRegion: PRegion): LongBool; syscall GfxBase 104;
|
|
|
+procedure SetRGB4CM(Cm: PColorMap; n: SmallInt; r, g, b: Byte); syscall GfxBase 105;
|
|
|
+procedure BltMaskBitMapRastPort(SrcBitMap: PBitMap; xSrc, ySrc: LongInt; DestRP: PRastPort; xDest, yDest, xSize, ySize: LongInt; MinTerm: LongWord; bltMask: TPlanePtr); syscall GfxBase 106;
|
|
|
+function AttemptLockLayerRom(l: PLayer): LongBool; syscall GfxBase 109;
|
|
|
+function GfxNew(Node_Type: LongWord): PExtendedNode; syscall GfxBase 110;
|
|
|
+procedure GfxFree(Node: PExtendedNode); syscall GfxBase 111;
|
|
|
+procedure GfxAssociate(Pointer_: Pointer; Node: PExtendedNode); syscall GfxBase 112;
|
|
|
+procedure BitMapScale(BitScaleArgs: PBitScaleArgs); syscall GfxBase 113;
|
|
|
+function ScalerDiv(Factor: LongWord; Numerator: LongWord; Denominator: LongWord): Word; syscall GfxBase 114;
|
|
|
procedure TextExtent(Rp: PRastPort; const String_: STRPTR; Count: LongWord; TextExtent_: PTextExtent); syscall GfxBase 115;
|
|
|
function TextFit(Rp: PRastPort; const String_: STRPTR; StrLen: LongWord; TextExtent_: PTextExtent; ConstrainingExtent: PTextExtent; StrDirection: LongInt; ConstrainingBitWidth: LongWord; ConstrainingBitHeight: LongWord): LongWord; syscall GfxBase 116;
|
|
|
-function TextLength(Rp: PRastPort; const string_: STRPTR; Count: LongWord): SmallInt; syscall GfxBase 9;
|
|
|
-function UCopperListInit(Ucl: PUCopList; n: SmallInt): PCopList; syscall GfxBase 99;
|
|
|
-procedure UnlockLayerRom(l: PLayer); syscall GfxBase 73;
|
|
|
-function VBeamPos: LongInt; syscall GfxBase 64; platform;
|
|
|
+function GfxLookUp(Pointer_: Pointer): PExtendedNode; syscall GfxBase 117;
|
|
|
function VideoControl(Cm: PColorMap; Tags: PTagItem): LongWord; syscall GfxBase 118; unimplemented;
|
|
|
-procedure WaitBlit; syscall GfxBase 38; unimplemented;
|
|
|
-procedure WaitBOVP(Vp: PViewPort); syscall GfxBase 67; unimplemented;
|
|
|
-procedure WaitTOF; syscall GfxBase 45;
|
|
|
+function OpenMonitor(MonitorName: STRPTR; DisplayID: LongWord): PMonitorSpec; syscall GfxBase 119;
|
|
|
+function CloseMonitor(Monitor_Spec: PMonitorSpec): LongInt; syscall GfxBase 120;
|
|
|
+function FindDisplayInfo(ID: LongWord): DisplayInfoHandle; syscall GfxBase 121;
|
|
|
+function NextDisplayInfo(Last_ID: LongWord): LongWord; syscall GfxBase 122;
|
|
|
+function GetDisplayInfoData(Handle: DisplayInfoHandle; Buf: PChar; Size: LongWord; TagID: LongWord; ID: LongWord): LongWord; syscall GfxBase 126;
|
|
|
+procedure FontExtent(Font: PTextFont; FontExtent: PTextExtent); syscall GfxBase 127;
|
|
|
+function ReadPixelLine8(Rp: PRastPort; xStart, yStart, Width: LongWord; Array_: PByte; TempRP: PRastPort): LongInt; syscall GfxBase 128;
|
|
|
+function WritePixelLine8(Rp: PRastPort; xStart, yStart, Width: LongWord; Array_: PByte; TempRP: PRastPort): LongInt; syscall GfxBase 129;
|
|
|
+function ReadPixelArray8(Rp: PRastPort; xStart, yStart, xStop, yStop: LongWord; Array_: PByte; TempRp: PRastPort): LongInt; syscall GfxBase 130;
|
|
|
+function WritePixelArray8(Rp: PRastPort; xStart, yStart, xStop, yStop: LongWord; Array_: PByte; TempRp: PRastPort): LongInt; syscall GfxBase 131;
|
|
|
+function GetVPModeID(Vp: PViewPort): LongWord; syscall GfxBase 132;
|
|
|
+function ModeNotAvailable(ModeID: LongWord): LongWord; syscall GfxBase 133;
|
|
|
function WeighTAMatch(ReqTextAttr: PTextAttr; TargetTextAttr: PTextAttr; TargetTags: PTagItem): SmallInt; syscall GfxBase 134;
|
|
|
+procedure EraseRect(Rp: PRastPort; xMin, yMin, xMax, yMax: LongInt); syscall GfxBase 135;
|
|
|
+function ExtendFont(Font: PTextFont; FontTags: PTagItem): LongWord; syscall GfxBase 136;
|
|
|
+procedure StripFont(Font: PTextFont); syscall GfxBase 137;
|
|
|
+function CalcIVG(View: PView; ViewPort: PViewPort): Word; syscall GfxBase 138; unimplemented;
|
|
|
+function AttachPalExtra(Cm: PColorMap; Vp: PViewPort): LongInt; syscall GfxBase 139;
|
|
|
+function ObtainBestPenA(Cm: PColorMap; r, g, b: LongWord; Tags: PTagItem): LongInt; syscall GfxBase 140;
|
|
|
+procedure SetRGB32(Vp: PViewPort; n, r, g, b : LongWord); syscall GfxBase 142;
|
|
|
+function GetAPen(Rp: PRastPort): LongWord; syscall GfxBase 143;
|
|
|
+function GetBPen(Rp: PRastPort): LongWord; syscall GfxBase 144;
|
|
|
+function GetDrMd(Rp: PRastPort): LongWord; syscall GfxBase 145;
|
|
|
+function GetOutlinePen(Rp: PRastPort): LongWord; syscall GfxBase 146;
|
|
|
+procedure LoadRGB32(Vp: PViewPort; const Table: PLongWord); syscall GfxBase 147;
|
|
|
+function SetChipRev(ChipRev: LongWord): LongWord; syscall GfxBase 148; platform;
|
|
|
+procedure SetABPenDrMd(Rp: PRastPort; APen: LongWord; BPen: LongWord; DrawMode: LongWord); syscall GfxBase 149;
|
|
|
+procedure GetRGB32(Cm: PColorMap; FirstColor: LongWord; NColors: LongWord; Table: PLongWord); syscall GfxBase 150;
|
|
|
+function AllocBitMap(Sizex, Sizey, Depth, Flags: LongWord; Friend_Bitmap: PBitMap): PBitMap; syscall GfxBase 153;
|
|
|
+procedure FreeBitMap(Bm: PBitMap); syscall GfxBase 154;
|
|
|
+function GetExtSpriteA(Sprite: PExtSprite; Tags: PTagItem): LongInt; syscall GfxBase 155;
|
|
|
+function CoerceMode(RealViewPort: PViewPort; MonitorID: LongWord; Flags: LongWord): LongWord; syscall GfxBase 156; unimplemented;
|
|
|
+procedure ChangeVPBitMap(Vp: PViewPort; Bm: PBitMap; Db: PDBufInfo); syscall GfxBase 157;
|
|
|
+procedure ReleasePen(Cm: PColorMap; n: LongWord); syscall GfxBase 158;
|
|
|
+function ObtainPen(Cm: PColorMap; n, r, g, b: LongWord; Flags: LongWord): LongInt; syscall GfxBase 159;
|
|
|
+function GetBitMapAttr(BitMap: PBitMap; Attribute: LongWord): IPTR; syscall GfxBase 160;
|
|
|
+function AllocDBufInfo(Vp: PViewPort): PDBufInfo; syscall GfxBase 161;
|
|
|
+procedure FreeDBufInfo(Dbi: PDBufInfo); syscall GfxBase 162;
|
|
|
+function SetOutlinePen(Rp: PRastPort; Pen: LongWord): LongWord; syscall GfxBase 163;
|
|
|
+function SetWriteMask(Rp: PRastPort; Mask: LongWord): LongWord; syscall GfxBase 164;
|
|
|
+procedure SetMaxPen(Rp: PRastPort; MaxPen: LongWord); syscall GfxBase 165;
|
|
|
+procedure SetRGB32CM(Cm: PColorMap; n, r, g, b: LongWord); syscall GfxBase 166;
|
|
|
+procedure ScrollRasterBF(Rp: PRastPort; dx, dy, xMin, yMin, xMax, yMax: LongInt); syscall GfxBase 167;
|
|
|
+function FindColor(Cm: PColorMap; r, g, b, MaxPen: LongWord): LongWord; syscall GfxBase 168;
|
|
|
+function AllocSpriteDataA(Bitmap: PBitMap; TagList: PTagItem): PExtSprite; syscall GfxBase 170;
|
|
|
+function ChangeExtSpriteA(Vp: PViewPort; Oldsprite: PExtSprite; NewSprite: PExtSprite; Tags: PTagItem): LongInt; syscall GfxBase 171;
|
|
|
+procedure FreeSpriteData(ExtSp: PExtSprite); syscall GfxBase 172;
|
|
|
+procedure SetRPAttrsA(Rp: PRastPort; Tags: PTagItem); syscall GfxBase 173;
|
|
|
+procedure GetRPAttrsA(Rp: PRastPort; Tags: PTagItem); syscall GfxBase 174;
|
|
|
+function BestModeIDA(Tags: PTagItem): LongWord; syscall GfxBase 175;
|
|
|
procedure WriteChunkyPixels(Rp: PRastPort; xStart, yStart, xStop, yStop: LongWord; Array_: PByte; BytesPerRow: LongInt); syscall GfxBase 176;
|
|
|
-function WritePixel(Rp: PRastPort; x, y: LongInt): LongInt; syscall GfxBase 54;
|
|
|
-function WritePixelArray8(Rp: PRastPort; xStart, yStart, xStop, yStop: LongWord; Array_: PByte; TempRp: PRastPort): LongInt; syscall GfxBase 131;
|
|
|
-function WritePixelLine8(Rp: PRastPort; xStart, yStart, Width: LongWord; Array_: PByte; TempRP: PRastPort): LongInt; syscall GfxBase 129;
|
|
|
-function WritePixels8(Rp: PRastPort; Array_: PByte; Modulo: LongWord; xStart, yStart, xStop, yStop: LongWord; PixLUT: Pointer{PHIDDT_PixelLUT}; Do_Update: LongBool): LongInt; syscall GfxBase 182;
|
|
|
-function XorRectRegion(Reg: PRegion; Rect: PRectangle): LongBool; syscall GfxBase 93;
|
|
|
-function XorRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 152;
|
|
|
-function XorRegionRegion(SrcRegion: PRegion; DestRegion: PRegion): LongBool; syscall GfxBase 103;
|
|
|
+
|
|
|
+{$ifdef AROS_ABIv0}
|
|
|
+procedure AndRectRegionND(Reg: PRegion; Rect: PRectangle); syscall GfxBase 107;
|
|
|
+function AndRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 108;
|
|
|
+function OrRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 123;
|
|
|
+function ClearRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 124;
|
|
|
+function OrRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 125;
|
|
|
+function ClearRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 141;
|
|
|
function XorRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 151;
|
|
|
+function XorRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 152;
|
|
|
+function CreateRastPort: PRastPort; syscall GfxBase 177;
|
|
|
+function CloneRastPort(Rp: PRastPort): PRastPort; syscall GfxBase 178;
|
|
|
+procedure DeinitRastPort(Rp: PRastPort); syscall GfxBase 179;
|
|
|
+procedure FreeRastPort(Rp: PRastPort); syscall GfxBase 180;
|
|
|
+function AddDisplayDriverA(GfxHidd: APTR; Tags: PTagItem): LongInt; syscall GfxBase 181;
|
|
|
+function WritePixels8(Rp: PRastPort; Array_: PByte; Modulo: LongWord; xStart, yStart, xStop, yStop: LongWord; PixLUT: Pointer{PHIDDT_PixelLUT}; Do_Update: LongBool): LongInt; syscall GfxBase 182;
|
|
|
+function FillRectPenDrMd(Rp: PRastPort; x1, y1, x2, y2: LongInt; Pix: Pointer{HIDDT_Pixel}; drmd: Pointer{HIDDT_DrawMode}; Do_Update: LongBool): LongInt; syscall GfxBase 183;
|
|
|
+function DoRenderFunc(Rp: PRastPort; Src: PPoint; Rr: PRectangle; Render_Func: Pointer; FuncData: APTR; Do_Update: LongBool): LongInt; syscall GfxBase 184;
|
|
|
+function DoPixelFunc(Rp: PRastPort; x, y: LongInt; Render_Func: Pointer; FuncData: APTR; Do_Update: LongBool): LongInt; syscall GfxBase 185;
|
|
|
+procedure SetDisplayDriverCallback(CallBack: TDriverNotifyFunc; UserData: APTR); syscall GfxBase 186;
|
|
|
+function ClearRegionRegion(R1: PRegion; R2: PRegion): LongBool; syscall GfxBase 187;
|
|
|
+function CopyRegion(Region: PRegion): PRegion; syscall GfxBase 188;
|
|
|
+function AreRegionsEqual(R1: PRegion; R2: PRegion): LongBool; syscall GfxBase 189;
|
|
|
+function IsPointInRegion(Reg: PRegion; x, y: SmallInt): LongBool; syscall GfxBase 190;
|
|
|
+function ScrollRegion(Region: PRegion; Rect: PRectangle; Dx, Dy: SmallInt): LongBool; syscall GfxBase 191;
|
|
|
+function SwapRegions(Region1: PRegion; Region2: PRegion; Intersect: PRectangle): LongBool; syscall GfxBase 192;
|
|
|
+function AndRectRect(Rect1: PRectangle; Rect2: PRectangle; Intersect: PRectangle): LongBool; syscall GfxBase 193;
|
|
|
+function NewRectRegion(MinX, MinY, MaxX, MaxY: SmallInt): PRegion; syscall GfxBase 194;
|
|
|
+function SetRegion(Src: PRegion; Dest: PRegion): LongBool; syscall GfxBase 195;
|
|
|
+procedure BltRastPortBitMap(SrcRastPort: PRastPort; xSrc, ySrc: LongInt; DestBitMap: PBitMap; xDest, yDest, xSize, ySize, MinTerm: LongWord); syscall GfxBase 196;
|
|
|
+procedure ShowImminentReset; syscall GfxBase 197;
|
|
|
+{$endif}
|
|
|
+
|
|
|
+{$ifdef AROS_ABIv1}
|
|
|
+function AddDisplayDriverA(GfxHidd: APTR; Tags: PTagItem): LongInt; syscall GfxBase 107;
|
|
|
+procedure SetDisplayDriverCallback(CallBack: TDriverNotifyFunc; UserData: APTR); syscall GfxBase 108;
|
|
|
+function SetRegion(Src: PRegion; Dest: PRegion): LongBool; syscall GfxBase 181;
|
|
|
+function ClearRegionRegion(R1: PRegion; R2: PRegion): LongBool; syscall GfxBase 182;
|
|
|
+function AreRegionsEqual(R1: PRegion; R2: PRegion): LongBool; syscall GfxBase 183;
|
|
|
+function IsPointInRegion(Reg: PRegion; x, y: SmallInt): LongBool; syscall GfxBase 184;
|
|
|
+function ScrollRegion(Region: PRegion; Rect: PRectangle; Dx, Dy: SmallInt): LongBool; syscall GfxBase 185;
|
|
|
+procedure AndRectRegionND(Reg: PRegion; Rect: PRectangle); syscall GfxBase 186;
|
|
|
+function AndRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 187;
|
|
|
+function OrRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 188;
|
|
|
+function OrRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 189;
|
|
|
+function XorRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 190;
|
|
|
+function XorRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 191;
|
|
|
+function ClearRectRegionND(Reg: PRegion; Rect: PRectangle): PRegion; syscall GfxBase 192;
|
|
|
+function ClearRegionRegionND(R1: PRegion; R2: PRegion): PRegion; syscall GfxBase 193;
|
|
|
+function WritePixels8(Rp: PRastPort; Array_: PByte; Modulo: LongWord; xStart, yStart, xStop, yStop: LongWord; PixLUT: Pointer{PHIDDT_PixelLUT}; Do_Update: LongBool): LongInt; syscall GfxBase 197;
|
|
|
+function FillRectPenDrMd(Rp: PRastPort; x1, y1, x2, y2: LongInt; Pix: Pointer{HIDDT_Pixel}; drmd: Pointer{HIDDT_DrawMode}; Do_Update: LongBool): LongInt; syscall GfxBase 198;
|
|
|
+function DoRenderFunc(Rp: PRastPort; Src: PPoint; Rr: PRectangle; Render_Func: Pointer; FuncData: APTR; Do_Update: LongBool): LongInt; syscall GfxBase 199;
|
|
|
+function DoPixelFunc(Rp: PRastPort; x, y: LongInt; Render_Func: Pointer; FuncData: APTR; Do_Update: LongBool): LongInt; syscall GfxBase 200;
|
|
|
+procedure UpdateBitMap(Bitmap: PBitmap; x, y, Width, Height: LongWord); syscall GfxBase 201;
|
|
|
+
|
|
|
+function CreateRastPort: PRastPort;
|
|
|
+function CloneRastPort(Rp: PRastPort): PRastPort;
|
|
|
+procedure DeinitRastPort(Rp: PRastPort);
|
|
|
+procedure FreeRastPort(Rp: PRastPort);
|
|
|
+{$endif}
|
|
|
|
|
|
function BestModeID(const Tags: array of PtrUInt): LongWord;
|
|
|
function AllocSpriteData(Bitmap: PBitMap; const Tags: array of PtrUInt): PExtSprite;
|
|
@@ -2439,6 +2479,35 @@ begin
|
|
|
CWAIT(c, 10000, 255);
|
|
|
end;
|
|
|
|
|
|
+function CreateRastPort: PRastPort;
|
|
|
+var
|
|
|
+ RP: PRastPort;
|
|
|
+begin
|
|
|
+ RP := AllocMem(SizeOf(TRastPort));
|
|
|
+ InitRastPort(RP);
|
|
|
+ CreateRastPort := RP;
|
|
|
+end;
|
|
|
+
|
|
|
+function CloneRastPort(Rp: PRastPort): PRastPort;
|
|
|
+var
|
|
|
+ NRP: PRastPort;
|
|
|
+begin
|
|
|
+ NRP := AllocMem(SizeOf(TRastPort));
|
|
|
+ Move(Rp^, NRP^, SizeOf(TRastPort));
|
|
|
+ CloneRastPort := NRP;
|
|
|
+end;
|
|
|
+
|
|
|
+procedure DeinitRastPort(Rp: PRastPort);
|
|
|
+begin
|
|
|
+ // nothing to do;
|
|
|
+end;
|
|
|
+
|
|
|
+procedure FreeRastPort(Rp: PRastPort);
|
|
|
+begin
|
|
|
+ if Assigned(Rp) then
|
|
|
+ FreeMem(Rp);
|
|
|
+end;
|
|
|
+
|
|
|
initialization
|
|
|
GfxBase := PGfxBase(OpenLibrary(GRAPHICSNAME, 36));
|
|
|
finalization
|