From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OHb7U-0002yr-5j for garchives@archives.gentoo.org; Thu, 27 May 2010 11:19:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BACB0E0998; Thu, 27 May 2010 11:18:24 +0000 (UTC) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 7DFE5E0998 for ; Thu, 27 May 2010 11:18:24 +0000 (UTC) Received: by ewy22 with SMTP id 22so1357965ewy.29 for ; Thu, 27 May 2010 04:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=yP6ICi3hBU97fSiRb9n784eGdP0KSFKHIoV8IEb6d9o=; b=aCpqoFMVF2CHPLlfBzTGbkqcc2nsgZqiRvN86G6GC5I/v/0I+OqA9jJt0VH2mxbShR KsIZZMiGMCvSDrRFzSCehS/cWxB7mSD4wpIil6V9jUB0C+doyByL7LyK8RkmerqAFMIf K/Wbe3oa5mrzfJzPQg1EgfBsNmDFc1QE7RGYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oDvoPIPvc47lQ39NmnA3ugddE2v+3Z3NsDjQCS/5DdfK9nX40sz2+3cVel7QdTaFeu dK+hzaPY+YbMkQE+Cx5z2Gcepc+gN3GnuKsMcE2rW0JP2SK8n22Orh7b9CmV+YMYW7z5 nzvnlmajkXrhZtT64DHHZ7+fHgBydbnL9Ks7k= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.213.28.2 with SMTP id k2mr2042627ebc.50.1274959103752; Thu, 27 May 2010 04:18:23 -0700 (PDT) Received: by 10.213.114.141 with HTTP; Thu, 27 May 2010 04:18:23 -0700 (PDT) In-Reply-To: <1274921410.5721.5.camel@localhost> References: <1274921410.5721.5.camel@localhost> Date: Thu, 27 May 2010 14:18:23 +0300 Message-ID: Subject: Re: [gentoo-user] danger-deep From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 666fa631-84ad-487e-a051-ff4e63681588 X-Archives-Hash: 7fdb778aab66c1585e2b068c6b102cae On 5/27/10, Iain Buchanan wrote: > On Wed, 2010-05-26 at 17:45 +0000, James wrote: >> Folks, >> >> I just had to share this..... >> >> So I read the Linux journal, mostly to do my >> part to keep publications about Linux alive. >> Occationally they write about something cool, >> though rarely related to Gentoo.... > > FTA: > The Web site provides a lovely binary installer that feels much > like that of a commercial game. You can compile the game from > source if you want, but would you really do that when you can > simply click Next, Next, Next? > *sigh* > >> So I read about a very cool submarine game today >> on LJ: >> http://www.linuxjournal.com/content/danger-deep >> >> Only to discover it's already in portage. >> KUDOS to the Gentoo game devs for being >> on top of this one........ > > Doesn't run here. Something to do with getting the available > resolutions: > > SDL_Rect** modes = SDL_ListModes(NULL, SDL_FULLSCREEN|SDL_HWSURFACE); > > must be returning nothing, because later when it tests the resolution it > wants to use against the resolutions available: > > for (list::const_iterator it = available_resolutions.begin(); it > != available_resolutions.end(); ++it) { > if (*it == vector2i(res_x_, res_y_)) { > ok = true; > break; > } > } > if (!ok) > throw invalid_argument("invalid resolution requested!"); > > I get the exception. No matter what res I specify on the command > line :( > > $ dangerdeep > Caught exception: invalid resolution requested! > > Anyone know about SDL? I really don't, but I'm just wondering if you are looking at the 0.3.0 source tarball code or their svn trunk? system.cpp is quite different in the trunk, including changes which probably should add support for "less common" screen sizes and modes. -- Arttu V.