From owner-freebsd-ports@FreeBSD.ORG Thu Feb 19 11:01:12 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC6DF16A4CE for ; Thu, 19 Feb 2004 11:01:12 -0800 (PST) Received: from hotmail.com (bay2-f57.bay2.hotmail.com [65.54.247.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D716C43D1D for ; Thu, 19 Feb 2004 11:01:12 -0800 (PST) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 19 Feb 2004 11:01:12 -0800 Received: from 208.186.54.187 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 19 Feb 2004 19:01:12 GMT X-Originating-IP: [208.186.54.187] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com From: "Lee Harr" To: freebsd-ports@freebsd.org Date: Thu, 19 Feb 2004 19:01:12 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Feb 2004 19:01:12.0643 (UTC) FILETIME=[BE0FE930:01C3F71A] Subject: aagh! Not Frozen Bubble! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 19:01:13 -0000 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