On Thu, 2004-08-12 at 09:44, John Beppu wrote: > Wouldn't that be nice. If there's gonna be a release, > I'd like to see SDL_PushEvent() and SDL_PeekEvent() be supported. > I think they're missing from Dave's 2.1.0 release.
I submitted a patch a while ago (maybe four months?) that implemented PushEvent. I have a custom version on the download page of my jukebox project at http://thwartedefforts.org/jukebox/ that you might want to run diffs against to see if there's anything in there that might be valuable that I have not submitted (although I think I have sent patches for everything to this mailing list). I also have some extensions to some of the base objects (serialize and unserialize rects and surfaces, SDL::Rect::{tostr,tohash}, some justified text printing routines on SDL::TTFont) that I override locally (rather than modifying the packages in the source) that could be integrated. Every time I look at the man page for SDL::TTFont, I think I should flesh out some of the documentation, but I don't want to spend the time doing this if we're never (read: I move on to my next project) going to see another release. I saw that with the release of perl 5.8.5, very little of CPAN is working using the CPAN module -- apparently every module author needs to validate that their code works with 5.8.5? (I'm not familiar with the perl release process, but this makes sense from a cleaning-house standpoint). I'm trying to work up the motivation to do a total conversion from die to Carp::croak in the SDL modules so the 'wrong argument type' error messages are actually fixable when you pass the wrong arguments. I think not using croak was a huge oversight. I have not investigated fully, but I'm seeing crashes if I call (SDL::TTFont)->text_blended and then try to print something with it. It may be that I'm not setting up the destination surface correctly or something (no alpha channel or something, wrong bit depth), but the documentation is really sketchy here. Has anyone experimented with the different kinds of text drawing? -- Andy Bakun: available in original and mint flavors <[EMAIL PROTECTED]>
