From: Mark B. <mb...@0x...> - 2000-06-09 20:40:54
|
On Fri, 09 Jun 2000, Michal Wallace wrote: > On Fri, 9 Jun 2000, Mark Baker wrote: > > > It's definitely better than placing the cross-platform nonsense onto > > the user of PySDL. It's not so much a big technical deal, so much as > > a philisophical one. I believe that we shouldn't *need* to have > > multiple functions, but if SDL will offer us platform consistancy > > where Python won't, then we'll just have to go that way ;-) It's > > only two functions, so it's not exactly the end of the world. > > > Maybe pySDL ought to be submitted to the python distribution? > Then time could just wrap the SDL functions.. ? SDL_GetTicks(), while having more or less the same use for a game as time.time() would, doesn't actually do the same thing. This would make it an inappropriate replacement, as-is. Of course using similar techniques to achieve relatively similar multiplatform accuracy in the time module, as SDL uses, might not be entirely out of the question. |