Old game in allegro lib. and want to rewrite

Its old game and I want to rewrite it to Haiku api. Its writed in C but use old version of Allegro.

I have poor knowleadge of C++ but have and I think its not hard to port it, i dont know where to start, are there some examples of how to draw pixels, lines and so in Haiku and some func like delay, interupt handle and so.

oh and sources for example to know what about i saying:

1 Like

ok i have answer maybe more easy way would be do it with cairo graphics library

The Cairo port cant draw to screen directly, AFAIK.