Re: [Wormux-dev] Cleaning the weapon code

2004-09-29 Par sujet Matthieu Fertré
All the modification haven't been done. In fact, there are special weapons... For example, in the original game Worms, you can play 2 times with the shotgun in the same turn, or you can use a ninja cord and then use a another weapon. That's why I add "bool can_change_weapon" and "uint nb_repla

Re: [Wormux-dev] Cleaning the weapon code

2004-09-29 Par sujet Victor STINNER
Thanks for your clean in the weapon code. It's really better now. Le mar 31/08/2004 à 22:22, Matthieu Fertré a écrit : > Hum, well, the most doubtful decision is about weapon position and > rotation. ClanLib 0.7 add rotation hotspot, a really sexy feature ("Programming is like sex, it's better

[Wormux-dev] Cleaning the weapon code

2004-08-31 Par sujet Matthieu Fertré
Hi, I have done quite a lot of modifications in the CL07 branch. Here is an explanation. First of all, I have rewritten keyboard.cpp and mouse.cpp, so these objects don't have to know which is the weapon used at any time. In the last "commit", I have reintroduce key bindings for choosing wea