|
BB2 C port
API reference: Blitz libraries in C and the shared code
|
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] |
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).
| union { ... } bb_slice |
| union { ... } bb_slice |
| union { ... } bb_slice |
| ULONG bb_slice::bplmoves |
+10 the bitplane pointer moves
| ULONG bb_slice::colmoves |
+18 the colour moves
| UWORD bb_slice::colours |
+8 number of colours
| ULONG bb_slice::con1 |
+22 the BPLCON1 value
| UWORD bb_slice::con1val |
+30 a copy of BPLCON1
| ULONG bb_slice::con2 |
+26 the BPLCON2 value
| UWORD bb_slice::flags |
+2 the slice flags
| UBYTE bb_slice::flagshi |
| UBYTE bb_slice::flagslo |
| UWORD bb_slice::height |
+32
| ULONG bb_slice::moves[5] |
| UBYTE bb_slice::pad[30] |
+34
| UWORD bb_slice::planes |
+4 number of bitplanes
| UBYTE bb_slice::planeshi |
| UBYTE bb_slice::planeslo |
| UWORD bb_slice::sprites |
+6 number of sprites
| ULONG bb_slice::sprmoves |
+14 the sprite pointer moves
| UWORD bb_slice::y |
+0 0 = not in use