Made argument types more consistent

This commit is contained in:
jeffman 2017-04-15 13:31:53 -04:00
parent 7d04ed264a
commit 21c703def1
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ byte reduce_bit_depth(int row, int foreground)
return lower | (upper << 4);
}
byte print_character(byte chr, byte x, byte y, byte font, byte foreground)
byte print_character(byte chr, int x, int y, int font, int foreground)
{
return print_character_with_callback(chr, x, y, font, foreground, vram, &get_tile_number_with_offset, TRUE);
}

View File

@ -13,7 +13,7 @@ byte decode_character(byte chr);
int get_tile_number(int x, int y);
int expand_bit_depth(byte row, int foreground);
byte reduce_bit_depth(int row, int foreground);
byte print_character(byte chr, byte x, byte y, byte font, byte foreground);
byte print_character(byte chr, int x, int y, int font, int foreground);
byte print_character_with_callback(byte chr, int x, int y, int font, int foreground,
int *dest, int (*getTileCallback)(int, int), int useTilemap);
byte print_character_to_ram(byte chr, int *dest, int xOffset, int font, int foreground);