#ifndef RTGPICA_H
#define RTGPICA_H TRUE

#ifndef RTGSUBLIBS_H
#include <rtgmaster/rtgsublibs.h>
#endif

#ifndef EXEC_LIBRARIES_H
#include <exec/libraries.h>
#endif

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

struct RtgBasePICA {
    struct Library rbPICA_LibBase;
    ULONG rbPICA_SegList;
    APTR rbPICA_ExecBase;
    APTR rbPICA_GfxBase;
    APTR rbPICA_IntBase;
    APTR rbPICA_UtilityBase;
    APTR rbPICA_VilIntuiSupBase;
};

struct RtgScreenPICA {
    struct RtgScreen rsPICA_Header;
    ULONG rsPICA_ScreenHandle;
    ULONG rsPICA_PlaneSize;
    ULONG rsPICA_BytesPerRow;
    ULONG rsPICA_Depth;
    ULONG rsPICA_DispBuf;   // Buffer currently displayed
    UWORD rsPICA_Height;    // Visible Screen Height
    UWORD rsPICA_NumBuf;    // Number of Buffers
};

#endif

