From 2e578148d9f7a6dcc83e1092ec951b12a2598851 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Sun, 24 Jul 2022 21:21:10 -0500 Subject: [PATCH] Fix documentation for AddSprite --- docs/toolboxref.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/toolboxref.html b/docs/toolboxref.html index 5232fc3..ccab666 100644 --- a/docs/toolboxref.html +++ b/docs/toolboxref.html @@ -1322,9 +1322,9 @@ style: toolref previous contents - spriteID + spriteIdent - Word—sprite descriptor word + Word—sprite identifier word vBuffAddr @@ -1366,14 +1366,14 @@ style: toolref
C
-

extern pascal void GTECreateSpriteStamp(spriteID, vBuffAddr)

-

Word spriteID;

+

extern pascal void GTECreateSpriteStamp(spriteIdent, vBuffAddr)

+

Word spriteIdent;

Word vBuffAddr;

-
Sprite Descriptor
+
Sprite Identifier

- The sprite descriptor is a subset of the full sprite bitfield. Only the starting Tile Index and + The sprite identifier is a subset of the full sprite descriptor. Only the starting Tile Index and the size bits are used.

@@ -1430,9 +1430,9 @@ style: toolref previous contents - spriteSlot + spriteDescriptor - Word—Sprite slot assigned to this new sprite. + Word—Sprite descriptor word that is used to set the status bits. x @@ -1445,9 +1445,9 @@ style: toolref Word—Signed vertical sprite position on the playfield. - vBuffAddr + spriteSlot - Word—Address of the stamp to use for this sprite. A stamp can be shared by multiple sprites. + Word—The slot to assign the sprite to. There are 16 slots and sprites in lower slots are drawn above the sprites in higher slots. @@ -1484,11 +1484,11 @@ style: toolref

C
-

extern pascal void GTEAddSprite(spriteSlot, x, y, vBuffAddr)

-

Word spriteSlot;

+

extern pascal void GTEAddSprite(spriteDescriptor, x, y, spriteSlot)

+

Word spriteDescriptor;

Word x;

Word y;

-

Word vBuffAddr;

+

Word spriteSlot;

Sprite Descriptor