BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
bb_slice Struct Reference

A Slice object, 64 bytes (Blitz mode). The pointers are addresses in the copper list (0 = not there). More...

#include <blitzobj.h>

Data Fields

UWORD y
union { 
   UWORD   flags 
   struct { 
      UBYTE   flagshi 
      UBYTE   flagslo 
   } 
}; 
union { 
   UWORD   planes 
   struct { 
      UBYTE   planeshi 
      UBYTE   planeslo 
   } 
}; 
UWORD sprites
UWORD colours
union { 
   ULONG   moves [5] 
   struct { 
      ULONG   bplmoves 
      ULONG   sprmoves 
      ULONG   colmoves 
      ULONG   con1 
      ULONG   con2 
   } 
}; 
UWORD con1val
UWORD height
UBYTE pad [30]

Detailed Description

A Slice object, 64 bytes (Blitz mode). The pointers are addresses in the copper list (0 = not there).

Owner: blitzcoplib. Read by spriteslib (the sprite moves, the height, BPLCON2), mouselib, fadelib and palettelib (the colour moves).

Field Documentation

◆ [union]

union { ... } bb_slice

◆ [union]

union { ... } bb_slice

◆ [union]

union { ... } bb_slice

◆ bplmoves

ULONG bb_slice::bplmoves

+10 the bitplane pointer moves

◆ colmoves

ULONG bb_slice::colmoves

+18 the colour moves

◆ colours

UWORD bb_slice::colours

+8 number of colours

◆ con1

ULONG bb_slice::con1

+22 the BPLCON1 value

◆ con1val

UWORD bb_slice::con1val

+30 a copy of BPLCON1

◆ con2

ULONG bb_slice::con2

+26 the BPLCON2 value

◆ flags

UWORD bb_slice::flags

+2 the slice flags

◆ flagshi

UBYTE bb_slice::flagshi

◆ flagslo

UBYTE bb_slice::flagslo

◆ height

UWORD bb_slice::height

+32

◆ moves

ULONG bb_slice::moves[5]

◆ pad

UBYTE bb_slice::pad[30]

+34

◆ planes

UWORD bb_slice::planes

+4 number of bitplanes

◆ planeshi

UBYTE bb_slice::planeshi

◆ planeslo

UBYTE bb_slice::planeslo

◆ sprites

UWORD bb_slice::sprites

+6 number of sprites

◆ sprmoves

ULONG bb_slice::sprmoves

+14 the sprite pointer moves

◆ y

UWORD bb_slice::y

+0 0 = not in use


The documentation for this struct was generated from the following file: