BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 Cab3jobThe job of a command line run
 Canhd
 Canim
 Cappblock
 Carg
 Cargdata
 Cbank
 Cbasictest_entryOne entry. Only the members of its kind count: begin version block block, name (BASICTEST_BLOCK_CASE) check k, ok, expected, actual checkq k, ok, expected, actual (the quicks' bits) checkflt k, ok, expected, actual, delta (the floats' FFP bits) checkstr k, ok, expected_str, expected_length, expected_crc, actual_str, actual_length, actual_crc, cut require k (always broken) expect-error k broken reason run k runend k, ok (1: the return code is known), actual (it)
 Cbasictest_errorThe reader's error: line, reason, field (1 = the entry name) and the entry name as it stands in the line (valid while the line is)
 Cbasictest_strA string value: bytes, any value, not 0-terminated
 Cbb_bitmapA BitMap object, 64 bytes: a struct BitMap (+0 .. +39) and the Blitz fields behind it
 Cbb_coplistA CopList object, NEWTYPE .mycop, 128 bytes (the display library's copper list of a display)
 Cbb_cycleOne colour cycle of a palette object (SetCycle)
 Cbb_intuifontAn IntuiFont object, 16 bytes: a TextAttr, the opened font
 Cbb_listheadThe 32 bytes in front of a Blitz list array (Dim List): the array points behind it, so the fields are at -32 .. -4
 Cbb_listitemThe node at the start of every item of a Blitz list
 Cbb_paletteA Palette object, 128 bytes
 Cbb_shapeA Shape object, 32 bytes (shapeslib's; also the block SaveShape(s) writes and the header of a shape for CludgeShapes)
 Cbb_sliceA Slice object, 64 bytes (Blitz mode). The pointers are addresses in the copper list (0 = not there)
 Cbb_soundA Sound object, 16 bytes
 Cbb_spriteA Sprite object, 16 bytes
 Cbb_strmemThe memory of a string variable: the variable points to chars, the header is in front of it (-8, -4)
 Cbfile
 Cbl_regs
 Cblitstate
 Cbox
 Cbregs
 Cbuffer
 Cbwin
 Cc2pargs
 Ccfx
 Cchan
 Cchannel
 Cchunk
 Cchunky
 Ccmapfile
 Ccnode
 Ccolsplit
 Ccolumns
 Ccomdata_s
 Ccopmove
 Ccrmbits
 Cdelta
 Cdisdata
 Cdiskobjfree
 Cdmessage
 Cdroplist
 Cdt
 Ced
 Cedge
 CedstructThe compiler's edstruct (blitz2.s 274; ted.s outside copies its 14 words)
 Cevnode
 Cexpdata
 Cez
 Cffpvars
 Cfield
 Cfieldtable
 Cfns
 Cfnshead
 Cform
 Cfq_border
 Cfq_data
 Cfq_line
 Cfq_params
 Cfrstruct
 Cgadtext
 Cgaduserdata
 Cgborder
 Cgborders
 Cgltags
 Cgrad
 Cgtblock
 Cgtcontext
 Cgtentry
 Cgtext
 Cgtmenulist
 Chandlers
 Chunkitem
 Cice
 Ciffchunk
 Ciffstuff
 Cimcode
 Cimwork
 Cinstr
 Cintnode
 Citem
 Ckilllist
 Clehead
 Cleshape
 Clockflagstags
 Cmapobject
 Cmapshape
 Cmaxs
 Cmember
 Cmemblock
 Cmemlist
 Cmfrm
 Cmkey
 Cmmd
 Cmodeent
 Cmodent
 Cmodhead
 Cmodsampinfo
 Cmodsample
 Cmodule
 Cmsglists
 Cnode
 Conetag
 Cop
 Copened
 Cout
 Cpage
 Cpalcol
 Cpaldata
 Cpalette
 Cpcolour
 Cpdata
 Cpens
 Cpitem
 Cpoint
 Cpopup
 Cportnode
 Cppbits
 Cprintvars
 Cptdata
 Cptglue
 Cptok
 Cqitem
 Cqueue
 Crandomtable
 Crec
 Crecord
 CregsThe register frame of the stubs in start.c (movem d0-d7/a0-a6)
 Cregstructure
 Creqtags
 Crthandlerinfo
 Cs404hdr
 Csample
 CsbA bounded string builder: buf of max bytes, len used, always 0-terminated (what does not fit is dropped)
 Cscrobj
 Cserio
 Cshapeimg
 Cshhd
 Cside
 Csnowfield
 Csong
 Cspan
 Csprfuncs
 Cspritecop
 Cstackentry
 Cstar
 Cstate
 Cstaticent
 Cstencil
 Csynth
 Ctape
 Ctext
 Ctextsize
 Cthstart
 Cthstate
 Ctl_run
 Ctl_run_text
 Ctl_stateThe state of the library; all of it between two guard words
 Ctoke
 CtokenizerThe tokeniser: the token list as a hash table over the caller's arrays, and the rule set. Read-only while tokenising
 Ctokenizer_entryOne name of the token list (the caller's memory)
 Ctrack
 Ctrapregs
 Cvhdr
 Cviewlist
 Cvoice
 Cwbs
 Cwuserdata
 Cxregs
 CxtraThe settings
 Cxtra_ab3Numbers only AmiBlitz3 has (LabelSearch: XTRA_F_LABEL_SEARCH)
 Cxtra_baseThe bases of the views: the .xtra as loaded and the kept source header (src[0..x->hdr) of xtra_load, wherever it is now)
 Cxtra_editorThe editor part: not in a Blitz 2 .xtra; from a BB22 header or the AmiBlitz3 header
 Cxtra_errorWhere an error is: file (XTRA_IN_XTRA or XTRA_IN_HEADER = the source), byte offset (binary formats) or line (1-based, AB3)
 Cxtra_iterAn iterator over the maxima, one by one, in file order
 Cxtra_maxOne object maximum
 Cxtra_maximaThe maxima: the {lib, max} pairs of the .xtra (off: the first pair), the "Max NAME" lines of the header (off: the first one's line, n lines; a NAME given twice is there twice, the last one counts) or the caller's array (xtra_set_maxima)
 Cxtra_textA text: a view (in, off, len) or the caller's bytes (XTRA_IN_SET: set, len)
 Czdata
 Czone
 Czonetable