public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] danger-deep
Date: Thu, 27 May 2010 10:20:10 +0930	[thread overview]
Message-ID: <1274921410.5721.5.camel@localhost> (raw)
In-Reply-To: <loom.20100526T193735-633@post.gmane.org>

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<vector2i>::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 <iaindb at netspace dot net dot au>

If you stand on your head, you will get footprints in your hair.




  parent reply	other threads:[~2010-05-27  0:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26 17:45 [gentoo-user] Lov'n Gentoo James
2010-05-26 23:23 ` Peter Humphrey
2010-05-27  0:50 ` Iain Buchanan [this message]
2010-05-27 11:18   ` [gentoo-user] danger-deep Arttu V.
2010-05-28  0:56     ` Iain Buchanan
2010-05-27 13:38   ` [gentoo-user] danger-deep Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1274921410.5721.5.camel@localhost \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox