source/src/printfuncs.c
//print a message on the title screen on ax,ay, the tileset from titlescreen contains an alphabet
//and we use the asci codes to adapt the value to the tilenr in the tileset
print a message on the title screen on ax,ay, the tileset from titlescreen contains an alphabet
and we use the asci codes to adapt the value to the tilenr in the tileset
print a message on the title screen on ax ay the tileset from titlescreen contains an alphabet and we use the asci codes to adapt the value to the tilenr in the tileset
void printTitle(uint8_t ax, uint8_t ay, unsigned char amsg[], uint8_t length, uint8_t emptyBlock)
{
    for (c=0; c < length; c++)
    {
        if (amsg[c] == ' ')
        {
            set_bkg_tile_xy(ax + c, ay, emptyBlock);
        }
        else
        {
            if (amsg[c] != 0)
            {
                set_bkg_tile_xy(ax + c, ay, amsg[c] + 34);
            }
            else
            {
                break;
            }
        }    
    }
}
void printTitle ( uint8_t ax , uint8_t ay , unsigned char amsg [ ] , uint8_t length , uint8_t emptyBlock ) { for ( c = 0 ; c < length ; c ++ ) { if ( amsg [ c ] == ' ' ) { set_bkg_tile_xy ( ax + c , ay , emptyBlock ) ; } else { if ( amsg [ c ] != 0 ) { set_bkg_tile_xy ( ax + c , ay , amsg [ c ] + 34 ) ; } else { break ; } } } }
print a message on the title screen on ax,ay, the tileset from titlescreen contains an alphabet
and we use the asci codes to adapt the value to the tilenr in the tileset
print a message on the title screen on ax ay the tileset from titlescreen contains an alphabet and we use the asci codes to adapt the value to the tilenr in the tileset