Nearly everything is possible why not ? Rename it to StopWatch2 and u have another one
Make the var "running" global. Then u can stop the running StopWatch function by setting running to zero.
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
Here are the worst things: 1. *Seconds = seconds; is dead code. 2. There is no advante in making seconds static. 3. You cannot use timer() over two frames. Read the documentation. Besides timer() is absolutely not necesary here. time_step is totally sufficient.
Always learn from history, to be sure you make the same mistakes again...
Here are the worst things: 1. *Seconds = seconds; is dead code. 2. There is no advante in making seconds static. 3. You cannot use timer() over two frames. Read the documentation. Besides timer() is absolutely not necesary here. time_step is totally sufficient.
Could you please explain to me how I could use time_step to make a stopwatch that just counts the seconds?