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 1OHRLB-0002fG-3c for garchives@archives.gentoo.org; Thu, 27 May 2010 00:52:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 848BEE0938; Thu, 27 May 2010 00:51:58 +0000 (UTC) Received: from mail2.pcorp.com.au (mail2.pcorp.com.au [150.101.72.19]) by pigeon.gentoo.org (Postfix) with ESMTP id 11046E0938 for ; Thu, 27 May 2010 00:51:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail2.pcorp.com.au (Postfix) with ESMTP id EEF56A00019 for ; Thu, 27 May 2010 10:21:55 +0930 (CST) X-Virus-Scanned: amavisd-new at mail2.pcorp.com.au Received: from mail2.pcorp.com.au ([127.0.0.1]) by localhost (mail2.pcorp.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BykP-iYVq0N2; Thu, 27 May 2010 10:21:55 +0930 (CST) Received: from [172.16.0.52] (unknown [172.16.0.52]) by mail2.pcorp.com.au (Postfix) with ESMTP id 05C77A0001C for ; Thu, 27 May 2010 10:21:55 +0930 (CST) Subject: [gentoo-user] danger-deep From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Thu, 27 May 2010 10:20:10 +0930 Message-ID: <1274921410.5721.5.camel@localhost> 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 X-Mailer: Evolution 2.28.3.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7ecf3c7e-9462-4703-9a56-04100799649a X-Archives-Hash: cbefd9a6034f233aff9a706b30fee979 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? thanks, -- Iain Buchanan If you stand on your head, you will get footprints in your hair.