home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 45
/
Amiga_Dream_45.iso
/
Amiga
/
emulation
/
d64edir.lha
/
inc
/
lib
/
graphics.lib
next >
Wrap
Text File
|
1995-12-25
|
5KB
|
110 lines
{$if not def GRAPHICS_RASTPORT_H;incl"graphics/rastport.h";endif}
{$if not def GRAPHICS_VIEW_H;incl"graphics/view.h";endif}
{$if not def GRAPHICS_LIB}
Const GRAPHICS_LIB='G';
Var GfxBase: ptr;
Procedure OpenGfx;
Begin OpenLib(GfxBase,'graphics.library',0) End;
Library GfxBase:
-30: Function BltBitMap(a0:Ptr; d0,d1:Long; a1:Ptr; d2,d3,d4,d5,d6,d7:Long; a2:Ptr):Long;
-36: Procedure BltTemplate(a0:Ptr; d0,d1:Long; a1:Ptr; d2,d3,d4,d5:Long);
-42: Procedure ClearEOL(a1:p_RastPort);
-48: Procedure ClearScreen(a1:p_RastPort);
-54: Function TextLength(a1:p_RastPort; a0:stryng; d0:Long):Integer;
{
-60: Function GrafxText(a1:p_RastPort; a0:stryng; d0:Long):Boolean;
}
-60: Procedure GrafxText(a1:p_RastPort; a0:stryng; d0:Long);
-66: Function SetFont(a1:p_RastPort; a0:Ptr):Boolean;
-72: Function OpenFont(a0:Ptr):Ptr;
-78: Procedure CloseFont(a1:Ptr);
-84: Function AskFontStyle(a1:p_RastPort):Word;
-90: Procedure SetSoftStyle(a1:p_RastPort; d0,d1:Word);
-96: Procedure AddBob(a0:Ptr; a1:p_RastPort);
-102:Procedure AddVSprite(a0:Ptr; a1:p_RastPort);
-108:Procedure DoCollision(a1:p_RastPort);
-114:Procedure DrawGList(a1:p_rastPort; a0:p_ViewPort);
-120:Procedure InitGels(a0,a1,a2:Ptr);
-126:Procedure InitMasks(a0:Ptr);
-132:Procedure RemIBob(a0:Ptr; a1:p_RastPort; a2:p_ViewPort);
-138:Procedure RemVSprite(a0:Ptr);
-144:Procedure SetCollision(d0:Long; a0,a1:Ptr);
-150:Procedure SortGList(a1:p_RastPort);
-156:Procedure AddAnimObj(a0,a1:Ptr; a2:p_RastPort);
-162:Procedure Animate(a0:Ptr; a1:p_RastPort);
-168:Function GetGBuffers(a0:Ptr; a1:p_RastPort; d0:Long):integer;
-174:Procedure InitGMasks(a0:Ptr);
{ GelsFuncE, GelsFuncF }
-192:Procedure LoadRGB4(a0:p_ViewPort; a1:ptr; d0:Long);
-198:Procedure InitRastPort(a1:p_RastPort);
-204:Procedure InitVPort(a0:p_ViewPort);
-210:Procedure MrgCop(a1:p_View);
-216:Procedure MakeVPort(a0:p_View; a1:p_ViewPort);
-222:Procedure LoadView(a1:p_View);
-228:Procedure WaitBlit;
-234:Procedure SetRast(a1:p_RastPort; d0:Long);
-240:Procedure Move(a1:p_RastPort; d0,d1:Integer);
-246:Procedure Draw(a1:p_RastPort; d0,d1:Integer);
-252:Procedure AreaMove(a1:p_RastPort; d0,d1:Integer);
-258:Procedure AreaDraw(a1:p_RastPort; d0,d1:Integer);
-264:Procedure AreaEnd(a1:p_RastPort);
-270:Procedure WaitTOF;
-276:Procedure QBlit(a1:Ptr);
-282:Procedure InitArea(a0:p_AreaInfo; a1:ptr; d0:Long);
-288:Procedure SetRGB4(a0:p_ViewPort; d0,d1,d2,d3:Long);
-294:Procedure QBSBlit(a1:Ptr);
-300:Procedure BltClear(a1:Ptr; d0,d1:Long);
-306:Procedure RectFill(a1:p_RastPort; d0,d1,d2,d3:Integer);
-312:Procedure BltPattern(a1:p_RastPort; a0:Ptr; d0,d1,d2,d3,d4:Long);
-318:Function ReadPixel(a1:p_RastPort; d0,d1:Integer):Integer;
-324:Procedure WritePixel(a1:p_RastPort; d0,d1:Integer);
-330:Procedure Flood(a1:p_RastPort; d2:Long; d0,d1:Integer);
-336:Procedure PolyDraw(a1:p_rastPort; d0:Long; a0:ptr);
-342:Procedure SetAPen(a1:p_RastPort; d0:Long);
-348:Procedure SetBPen(a1:p_RastPort; d0:Long);
-354:Procedure SetDrMd(a1:p_RastPort; d0:Long);
-360:Procedure InitView(a1:p_View);
-366:Procedure CBump(a1:Ptr);
-372:Procedure CMove(a1:Ptr; d0,d1:Long);
-378:Procedure CWait(a1:Ptr; d0,d1:Long);
-384:Function VBeamPos:integer;
-390:Procedure InitBitmap(a1:ptr; d0,d1,d2:Long);
-396:Procedure ScrollRaster(a1:p_RastPort; d0,d1,d2,d3,d4,d5:Integer);
-402:Procedure WaitBOVP(a0:p_ViewPort);
-408:Function GetSprite(a0:Ptr; d0:Long):integer;
-414:Procedure FreeSprite(d0:Long);
-420:Procedure ChangeSprite(a0:p_ViewPort; a1,a2:Ptr);
-426:Procedure MoveSprite(a0:p_ViewPort; a1:Ptr; d0,d1:integer);
{ LockLayerRom,UnLockLayerRom not possible }
-444:Procedure SyncSBitMap(a0:Ptr);
-450:Procedure CopySBitMap(a0,a1:Ptr);
-456:Procedure OwnBlitter;
-462:Procedure DisownBlitter;
-468:Procedure InitTmpRas(a0:p_TmpRas; a1:Ptr; d0:Long);
-474:Procedure AskFont(a1:p_RastPort; a0:Ptr);
-480:Procedure AddFont(a1:Ptr);
-486:Procedure RemFont(a1:Ptr);
-492:Function AllocRaster(d0,d1:Long):Ptr;
-498:Procedure FreeRaster(a0:Ptr; d0,d1:Long);
-504:Procedure AndRectRegion(a0,a1:Ptr);
-510:Procedure OrRectRegion(a0,a1:Ptr);
-516:Function NewRegion:Ptr;
{-522:reserved}
-528:Procedure ClearRegion(a0:Ptr);
-534:Procedure DisposeRegion(a0:Ptr);
-540:Procedure FreeVPortCopList(a0:p_ViewPort);
-546:Procedure FreeCopList(a0:Ptr);
-552:Procedure ClipBlit(a0:Ptr; d0,d1:Long; a1:Ptr; d2,d3,d4,d5,d6:Long);
-558:Procedure XorRectRegion(a0,a1:Ptr);
-564:Procedure FreeCprList(a0:Ptr);
-570:Function GetColorMap(d0:Long):Ptr;
-576:Procedure FreeColorMap(a0:Ptr);
-582:Function GetRGB4(a0:Ptr; d0:integer):integer;
-588:Procedure ScrollVPort(a0:p_ViewPort);
-594:Procedure UCopperListInit(a0:Ptr; d0:Long);
-600:Procedure FreeGBuffers(a0:Ptr; a1:p_RastPort; d0:Long);
-606:Procedure BltBitMapRastPort(a0:Ptr; d0,d1:Long; a1:Ptr; d2,d3,d4,d5,d6:Long);
End;
{$endif}