add some more comments

This commit is contained in:
mrdudz
2025-06-17 21:40:04 +02:00
parent 3486cd7830
commit 55742003d6
7 changed files with 12 additions and 8 deletions

View File

@@ -141,15 +141,16 @@ unsigned char tgi_getmaxcolor (void);
** then be getmaxcolor()+1).
*/
void __fastcall__ tgi_setcolor (unsigned char color);
/* Set the current drawing color. */
void __fastcall__ tgi_setcolor (unsigned char color_index);
/* Set the current drawing color (palette index). */
unsigned char tgi_getcolor (void);
/* Return the current drawing color. */
/* Return the current drawing color (palette index). */
void __fastcall__ tgi_setpalette (const unsigned char* palette);
/* Set the palette (not available with all drivers/hardware). palette is
** a pointer to as many entries as there are colors.
** a pointer to as many entries as there are colors required for the drivers
** palette. This palette is the (only) place where to use the TGI_COLOR values.
*/
const unsigned char* tgi_getpalette (void);