Original Post
Hi everybody!!! I'm trying to develop an Simple RTS. I use OpenGL. Language: C++ Platform: Linux, but I want a portable game who can run or Linux and Windows. My problem: I have a Mage, this Mage can heal himself when he lost some HP by using some magic. At this point everything is ok. Now I want to limit the magic, when the Mage use the Heal Magic, this magic must be lock for 10 seconds. After 10 second if he want to use this magic again he can. And in this 10 second, I don want to application to be freeze, the Mage can attack, be attacked, etc... I'm not able to see if I'm better to use a Timer, run a loop in another thread and raise an event. So if anybody can help me on this point, it will be realy appreciated!!!! For your information I don know who to do portable Thread in C++. Thanks!!!!