[Scummvm-devel] SCI: Some more TODOs

Andre Heider a.heider at gmail.com
Tue Feb 24 00:59:02 CET 2009


Max Horn wrote:

> * Replace sci_gettime and sci_get_current_time by  
> OSystem::getTimeAndDate and OSystem::getMillis
> -> You first need to find out which is used where: Des the code try to  
> determine the current time? Use getTimeAndDate(). Does it try to  
> measure something, regulate timing? Using getMillis. It is possible  
> that some code actually really wants to get a higher resolution than  
> milli seconds, in that case get back to us and let's discuss what to do.

Because the Wii libc port doesn't implement the used time functions freesci uses, i started working on this. Since I'm 
new to the sci engine code I'll attach it to this mail prior to breaking something :-)

I'm sure I missed something, but my few games still seem to run fine. Please comment/review, thanks!

Regards,
Andre


-------------- next part --------------
A non-text attachment was scrubbed...
Name: scitime.diff.bz2
Type: application/octet-stream
Size: 8284 bytes
Desc: not available
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090224/deb1ec29/attachment.obj>


More information about the Scummvm-devel mailing list