library: Small improvement of grit commands documentation

This commit is contained in:
Antonio Niño Díaz 2023-05-13 14:17:05 +01:00
parent f91699ea96
commit b441773a3e
2 changed files with 5 additions and 4 deletions

View File

@ -129,7 +129,7 @@ void NF_InitBitmapBgSys(u8 screen, u8 mode);
/// You can convert the file using this GRIT command line:
///
/// ```
/// grit file.png -gb -gB16 -ftb
/// grit file.png -ftb -fh! -gb -gB16
/// ```
///
/// You can load as many files as defined in NF_SLOTS_BG16B.
@ -234,12 +234,13 @@ void NF_Reset8bitsBgBuffers(void);
/// You can convert the file using this GRIT command line:
///
/// ```
/// grit file.png -gb -gB8 -ftb
/// grit file.png -ftb -fh! -gb -gB8
/// ```
///
/// If you want to share the palette with a different background:
/// ```
/// grit file.png -gb -gu8 -gB8 -pu16 -pS -ftb -fh! -Omypal.pal -gTFF00FF
/// grit file1.png file2.png -ftb -fh! -gb -gu8 -gB8 -pu16 -pS -Ofile1.pal -gTFF00FF
/// cp file1.pal.bin file2.pal.bin
/// ```
///
/// If you want to display 2 8-bit backgrounds on same screen they must share

View File

@ -31,7 +31,7 @@ extern "C" {
/// 3D sprites with the following grit command:
///
/// ```
/// grit image.png -gb -gu8 -gB8 -pu8 -ftb -fh! -gTFF00FF
/// grit image.png -ftb -fh! -gb -gu8 -gB8 -pu8 -gTFF00FF
/// ```
///
/// You can also use the same bat scripts as for 8 bit backgrounds.