Hy there ! I've got a problem with ITimer ^^. I want to integrate a timer in my Irrlicht game because it's more fun to play against the time.
So I declare ITimer* chrono;
And then, I use chrono->start() or chrono->stop().
Compilation runs without any problem, but when I try to execute, I get the error "Windows has got an error, send bug report blabla". Any idea where this error comes from ?
Thanx a lot.
Aenahel.
ITimer bug
This is a general problem with your understanding and usage of the C++ language. You declare a pointer to a timer, but you don't actually set that pointer to refer to an actual timer instance. The second problem that you are going to run into is that the ITimer interface isn't the type of timer that you think it is. It is an abstraction that Irrlicht uses to allow the user to slow down or stop time.
It sounds like you are trying to track the amount of time that has elapsed since you started the timer. If you are wanting to do that, you will have to write some code of your own.
Travis
It sounds like you are trying to track the amount of time that has elapsed since you started the timer. If you are wanting to do that, you will have to write some code of your own.
Travis