Hi Oznog, I'm not very please with this change. Now character's don't keep there own position of crosshair angle and we have only one angle position for the whole team.
You can look at this commit : http://svn.gna.org/viewcvs/wormux?rev=1599&view=rev Simplification doesn't mean remove what's already done and if you're removing code try to understand what is done before doing it. Don't remove features ! Last, calcul_d is computed only when pressing a key. In Draw, we refresh this value 50 times/s ... Regards, Drayan Le Mercredi 6 Décembre 2006 22:48, OznOg a écrit : > Author: oznog > Date: Wed Dec 6 22:48:23 2006 > New Revision: 1829 > > URL: http://svn.gna.org/viewcvs/wormux?rev=1829&view=rev > Log: > Removed crosshair_position from character and put refresh > of position in draw. > > > Modified: > trunk/src/character/character.cpp > trunk/src/character/character.h > trunk/src/include/action_handler.cpp > trunk/src/weapon/crosshair.cpp > trunk/src/weapon/crosshair.h > > > _______________________________________________ > Wormux-cvs mailing list > Wormux-cvs@gna.org > https://mail.gna.org/listinfo/wormux-cvs _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev