"natural" screen resolution

Hi,

in a game i’d like to do this:

  1. go to full screen mode without changing the resolution
  2. let the user chose a resolution
  3. change to that resolution and start the game

How can i do point 1? Points 2 and 3 are easy.

Does SDL support me in getting the resolution?

Thanks for any hints,
Torsten.

Torsten Mohr wrote:

in a game i’d like to do this:

  1. go to full screen mode without changing the resolution
    How can i do point 1?

Use 0 for width and height in SDL_SetVideoMode(). (This was added after
1.2.9, use a recent snapshot or 1.2.10 when it’s out.)
See http://libsdl.org/cgi/viewvc.cgi?view=rev&revision=2098.

Does SDL support me in getting the resolution?

SDL_GetVideoInfo()->current_w and ->current_h (new in revision 2098 as
well).

I just see that this stuff is not documented yet (except in the WhatsNew
file). What is the policy for the Doc Wiki - should it document the
latest released version or the latest SVN version?

-Christian

Hi everybody,

SDL_GetVideoInfo()->current_w and ->current_h (new in revision
2098 as well).

thanks for that hint, those are exactly the features i need.

I’d like to use those features of 1.2.10, when could that
release be coming?

Is there a release plan?

Are there any rumors when 1.2.10 could be coming?

The game i write runs on Linux and Win32. I would not really
like to use a recent snapshot, because for example one feature
may run different on Win32 compared to Linux.

Best regards,
Torsten.

thanks for that hint, those are exactly the features i need.

I’d like to use those features of 1.2.10, when could that
release be coming?

Is there a release plan?

Are there any rumors when 1.2.10 could be coming?

The game i write runs on Linux and Win32. I would not really
like to use a recent snapshot, because for example one feature
may run different on Win32 compared to Linux.

Don’t worry about that… Let me quote what Sam said recently:

If all goes well, I’ll start making release packages on Sunday! :slight_smile:

That makes it today… And even if that doesn’t happen, it will
probably be a matter of days…

Regards,
-Ga?tan.On 5/14/06, Torsten Mohr wrote: