aagh! Not Frozen Bubble!

Lee Harr missive at hotmail.com
Thu Feb 19 11:01:13 PST 2004


Somewhere along the line my frozen-bubble stopped working.
I looked around for a frozen-bubble mailing list, but I do not
see anything... hoping it is a FreeBSD thing and/or someone
here will have their perl-fu more sharply honed than I do.

Anyhow, when I try to start it I get this :

[SDL Init] Not a HASH reference at /usr/local/bin/frozen-bubble.pl line 322.


I created a patch which actually allows the game to start and run,
but it is unplayable since the screen is not updated until one of
the balls travels over it ...


322c322
<     $img->{-surface} or die "FATAL: Couldn't load `$file' into a 
SDL::Surface.\n";
---
>#    $img->{-surface} or die "FATAL: Couldn't load `$file' into a 
>SDL::Surface.\n";
1247c1247
<       fb_c_stuff::shrink($app->{-surface}, 
$background->display_format()->{-surface}, $high_posx, $high_posy, 
$high_rect->{-rect}, 4);
---
>       #fb_c_stuff::shrink($app->{-surface}, 
>$background->display_format()->{-surface}, $high_posx, $high_posy, 
>$high_rect->{-rect}, 4);
1416c1416
<       fb_c_stuff::effect($app->{-surface}, 
$background->display_format()->{-surface});
---
>       #fb_c_stuff::effect($app->{-surface}, 
>$background->display_format()->{-surface});


Anyone understand this $foo->{-surface} thing enough to help me
fix this? If not I will go look for a perl-sdl list...

Thanks for your time.

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



More information about the freebsd-ports mailing list