Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (25 loc) · 948 Bytes

File metadata and controls

39 lines (25 loc) · 948 Bytes

NAME

DrawGList -- Process the gel list, queueing VSprites, drawing Bobs.

SYNOPSIS

    DrawGList(rp, vp)
              A1  A0

    void DrawGList(struct RastPort *, struct ViewPort *);

Links: RastPort ViewPort

FUNCTION

Performs one pass of the current gel list.

  • If nextLine and lastColor are defined, these are initialized for each gel.
  • If it's a VSprite, build it into the copper list.
  • If it's a Bob, draw it into the current raster.
  • Copy the save values into the "old" variables, double-buffering if required.

INPUTS

rp = pointer to the RastPort where Bobs will be drawn vp = pointer to the ViewPort for which VSprites will be created

RESULT

BUGS MUSTDRAW isn't implemented yet.

SEE ALSO

InitGels graphics/gels.h graphics/rastport.h graphics/view.h