Laurent Defert Simonneau a écrit :
Hi!
I have written an implementation proposition on pascal's wiki
(pagali_DOT/POINT_net_SlASH_wormux).
So, please, have a look at it, and do modifications (or rewrite
everything :p).
I don't know SDL that much, so there might be flaws in how i organised
it..
Question, critics, ideas are welcome!
Seems to be good, here are my comments :
*** SDL don't provide slot capability and I have seen that slot are used
in wormux.
libsigc++ seems to be standard and stable but I don't know if this
librarie is a good choice for a game.
*** For libraries
SDL_image can be used to load images (png...) it is stable efficient
and portable (can be considered as a part of SDL)
About the others libraries listed on the wiki : SDL_gfx, SDL_sge,
Kira, ParaGUI
The choice is very important, using such libraries can be usefull but
can lead to problems with
- portability
- API stability
- code homogeneity
And depending on too many libraries increase risk
So I think that it could be good to list the requirements for wormux (
animation, rotation, zoom ? I don't know them) then make a review of the
relevant libraries then choose one or none.
*** (Put remaining clanlib related code in #ifdef CLANLIB
<https://www.pagali.net/wormux/index.php/Ifdef_clanlib>) -> do it all
along the port
Yes, that will be a bit painful but I don't see any other possibility.
If you want I am ready to help you
Have you already written a RessourceManager and Ressource... classes ?
Jean-Christophe
--
Jean-Christophe Duberga - http://jeanchristophe.duber.free.fr
webmaster du site MNEA - http://www.mnea.fr