Got questions? Got answers? Go here for both.
Moderator: MaxCoderz Staff
benryves
Maxcoderz Staff
Posts: 3087 Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:
Post
by benryves » Thu 11 Oct, 2007 1:40 pm
DJ Omnimaga wrote: Is SDL for all programming language for PC like Java, Visual Basic, Python and stuff?
SDL is a C API, so can be used from any language that lets you invoke a C API (eg most .NET lanuages through P/Invoke, but there's a .NET version in Tao.SDL anyway).
Halifax
Sir Posts-A-Lot
Posts: 225 Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US
Post
by Halifax » Thu 11 Oct, 2007 10:38 pm
coelurus wrote: You know what? SDL uses timeGetTime in the newest snapshot.
Okay...in your post prior to that you said nothing about timeGetTime being portable.
coelurus
Calc Wizard
Posts: 585 Joined: Sun 19 Dec, 2004 9:02 pm
Location: Sweden
Contact:
Post
by coelurus » Fri 12 Oct, 2007 10:27 am
It isn't, but if you'd chosen that one-liner together with gettimeofday from the start over a month ago, then all would have been working well.
Sry, I'm one of those "as few silly little dependencies as possible"
Halifax
Sir Posts-A-Lot
Posts: 225 Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US
Post
by Halifax » Fri 12 Oct, 2007 8:18 pm
Uhmm I am one too, but that doesn't excuse the fact that SDL is already ported to 10+ platforms, and that I am not just using it for timing.
Also I just posted about it in case someone else needed the answer. I have been using it for ~month already.