[haiku-3rdparty-dev] Re: SDL entrant in Haiku

  • From: scott mc <scottmc2@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Thu, 29 Jul 2010 08:42:32 -0700

>
> This is Haiku not windows, No WndProc functions etc =)
> From what i know the main() function is the one to use in haiku, even when
> doing pure haiku programs =)
>

You'll find with SDL it mostly takes care of the crossplatform stuff
for you.  Check out this simple demo program:
http://www.libsdl.org/projects/fire/
You'll find it compiles and runs on many systems without needing any
major changes to get working.
I believe Allegro is similar, assuming the cross platform parts have
been added to the library, the program developer would then not have
to worry as much about the cross platform parts.
-scottmc

Other related posts: