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_replay" in the weapon class. This is still not used but it should be implemented fast !

Matthieu : Can you do implement "nb_replay" (e.g. for gun) ? It will be
cool, because I like this weapon !

Yes, I have planed to implement this function, but I want to clean more code before...

The problem is I don't know where to manage the "State" of the game_loop, would I manage it in keyboard.cpp, or will it be better to manage it in weapon.cpp ?

Weapon class, I think.
Ok, so let's do it in weapon.cpp. I do it

Bye, Haypo


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev



Répondre à