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.