| View previous topic :: View next topic |
| Author |
Message |
Heretic
Joined: 02 Feb 2006 Posts: 33 Location: Pittsburgh, PA, USA
|
Posted: Mon Feb 13, 2006 4:17 pm Post subject: time functions? |
|
|
Is there any sort of way to use clocks/time/anything to time things on this system? I think I remember a function that pauses for a given time but can't remember it. It would be nice though if there way a function that returned the current ms time, so that framerate could be controlled effectively. Anything I can do? _________________ http://omegagames.netfirms.com -- Support struggling programmers by suffering through their crappy games! (Ok, you don't have to...) |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Mon Feb 13, 2006 5:25 pm Post subject: |
|
|
| Use clock() and time() and sleep() and other usual functions. |
|
| Back to top |
|
 |
Heretic
Joined: 02 Feb 2006 Posts: 33 Location: Pittsburgh, PA, USA
|
Posted: Tue Feb 14, 2006 4:14 am Post subject: |
|
|
where are these defined in the pspsdk?
nm, i found them... _________________ http://omegagames.netfirms.com -- Support struggling programmers by suffering through their crappy games! (Ok, you don't have to...) |
|
| Back to top |
|
 |
|