Generic blit_type function
Generic blit_type function

recombine handles all cases of the blit functions using the blit_function_table.
sum_bits handles the general case where we want to specify a list of bit positions corresponding to each set of bit plane values.

We can handle special cases like blit_type 32 by having a seperate function to handle this case in the blit funciton table.

joetsoi/moonstone,joetsoi/moonstone