I've uploaded SDL Perl 2.1.0 and is currently
available
from CPAN:

http://search.cpan.org/~dgoehrig/SDL_Perl-2.1.0/

You can read the README and CHANGELOG for the what's
new, but basically, I've finished SMPEG support,
fixed a few bugs in the Cdrom code, OpenGL support,
and Build system.

I also rewrote the test files tonight, updating some
of the tests and adding SDL::Config support where
applicable.  The tests should not kill you if you
don't have something installed.

And for added goodness a brief tutorial:


HOW TO USE SDL::Config IN YOUR PROGRAMS

As part of the new build system, Build.PL generates
a site specific version of SDL::Config for your
installation.  Currently SDL::Config can report
status on the following optional extensions:

  SDL_image
  SDL_mixer
  SDL_gfx
  SDL_ttf
  SDL_net
  GL
  GLU
  smpeg
  png
  jpeg

The module's "has" method can be queried to see 
whether or not the given module is installed
as follows:

# does the user have SDL_image installed?

die "This program requires SDL_image\n"
  unless ( SDL::Config->has('SDL_image') );

# does the user have True Type font support?

if ( SDL::Config->has('SDL_ttf') ) {
  # do stuff with true type fonts...
} else {
  # do stuff using SFonts only
}

In this way, your program can determine at run time
what the user's system is able to support. 



__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

Reply via email to