BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
blitzobj.h File Reference
#include <stddef.h>
#include <exec/types.h>
#include <exec/lists.h>
#include <graphics/text.h>

Go to the source code of this file.

Data Structures

struct  bb_shape
 A Shape object, 32 bytes (shapeslib's; also the block SaveShape(s) writes and the header of a shape for CludgeShapes). More...
struct  bb_bitmap
 A BitMap object, 64 bytes: a struct BitMap (+0 .. +39) and the Blitz fields behind it. More...
struct  bb_cycle
 One colour cycle of a palette object (SetCycle). More...
struct  bb_palette
 A Palette object, 128 bytes. More...
struct  bb_sound
 A Sound object, 16 bytes. More...
struct  bb_slice
 A Slice object, 64 bytes (Blitz mode). The pointers are addresses in the copper list (0 = not there). More...
struct  bb_coplist
 A CopList object, NEWTYPE .mycop, 128 bytes (the display library's copper list of a display). More...
struct  bb_sprite
 A Sprite object, 16 bytes. More...
struct  bb_intuifont
 An IntuiFont object, 16 bytes: a TextAttr, the opened font. More...
struct  bb_strmem
 The memory of a string variable: the variable points to chars, the header is in front of it (-8, -4). More...
struct  bb_listitem
 The node at the start of every item of a Blitz list. More...
struct  bb_listhead
 The 32 bytes in front of a Blitz list array (Dim List): the array points behind it, so the fields are at -32 .. -4. More...

Macros

#define BB_CLUDGE   0x634c
#define BB_LISTID   0x6c497354UL

Macro Definition Documentation

◆ BB_CLUDGE

#define BB_CLUDGE   0x634c

"cL" in bb_shape::cludge and bb_sound::mark: the data is not the object's own (CludgeShape(s), DecodeShape(s), DecodeSound)

◆ BB_LISTID

#define BB_LISTID   0x6c497354UL

"lIsT" in bb_listhead::id