added is_flipped to rdp_bitmap, more boolean to tbool