Ok, I will write a comparative of theese libraries on the wiki
tomorrow.
It seems not written yet :-( Did you have begin your comparison ??
Sorry for the delay, this is now on the wiki ( follow the link under
libraries enumeration )
https://www.pagali.net/wormux/index.php/Comparative
thanks a lot, I have added small info at the end of the page.
Now, I think, it's time to choose what library we should use. I prefer
SDL_gfx which seems really really stable! But we need to code some
additionnal functions like collision detection, rotation around a point,
and animation if we decide to use it!
About the new code with SDL:
1) src/main.cpp:
SDL_SetVideo is called with a bpp of 16 what is bad because if the
user have not setting up his X configuration to 16 bits per pixel,
SDL can't change it ( as it is impossible to change bpp under X) So
SDL will always do conversions in the fly (and conversions 16 bpp
<->32/24 are very CPU expensive)
A better way is to ask SDL to set the video mode to the default one (
the bpp with which X is currently running) by passing 0 as bpp in
SDL_SetVideoMode.
Ok I will change it
2) I have written a preliminary ressource_manager class that load
images and convert them for efficient blittering, should I send theese
files on the list, in patches ?
Of course, send on the list !