// graphic info for game objects/frames and players/actions/frames
struct GraphicInfo_BD graphic_info_bd_object[O_MAX_ALL][8];
// graphic info for game objects/frames and players/actions/frames
struct GraphicInfo_BD graphic_info_bd_object[O_MAX_ALL][8];
static inline int c64_png_colors(int r, int g, int b, int a)
{
static inline int c64_png_colors(int r, int g, int b, int a)
{
{
// check if tile bitmap has limited C64 style colors
tile_surface_c64 = get_tile_surface_c64(bitmap->surface, scale_down_factor);
{
// check if tile bitmap has limited C64 style colors
tile_surface_c64 = get_tile_surface_c64(bitmap->surface, scale_down_factor);
// store reference tile bitmap from current artwork set (may be changed later)
gd_tile_bitmap_reference = bitmap;
// store reference tile bitmap from current artwork set (may be changed later)
gd_tile_bitmap_reference = bitmap;