(no subject)

Sorry for spamming, I’ve just come across SDL_WM_ToggleFullScreen(), but
does this preserve all the GL attributes ?
Thanks

Where it works (X11), yes it does. You have to understand that in X11,
your OpenGL contexts are never fullscreen, which is one reason why they
tend to run slightly slower than equivalent code fullscreen in win32. All
it does is change the resulution, move the viewport to the upper left
corner of the screen, and put the window there without a border. Toggling
fullscreen is just a matter of moving the window back, putting a frame on
it, and changing the resolution back.

This is slightly oversimplistic. Window hints are more complicated than
that, but roughly that’s what is done.On Fri, Oct 26, 2001 at 11:47:48PM +0200, GAUTIER Christopher wrote:

Sorry for spamming, I’ve just come across SDL_WM_ToggleFullScreen(), but
does this preserve all the GL attributes ?


Joseph Carter Free software developer

Culus: are you awake?
no

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20011027/fe7d9a69/attachment.pgp

Okay, im using VC 6 ( under windows ;o) ) win2k.
Im connecting to a Server sending some two times a string, reciveing two
times a string (or send, recive, send recive, it doesn’t matter)
and than, when the programm ends by normal circumstances, i get a parachute
segfault… Why??? (If i do it only once, it ends normal)
And now, something very intressting… When I start the programm three
times, its all the same… the fourth time my “client” cant recive
any further messages, but it can still send tangled

My anyone can help me???

The Server works with other clients we programmed… I used the Send and
Recive Commands like in the demo…

Thanks a lot

–Alex
mailto: alex at hackstock.net / schnuffy at cyberphoria.org
goto: http://www.hackstock.net / http://www.cyberphoria.org

how precise is SDL_GetTicks? around 1 or 10 ms?

how precise is SDL_GetTicks? around 1 or 10 ms?

Around 1.

The assumption is 1ms. Don’t bet on it in win32.On Fri, Dec 28, 2001 at 11:38:27PM +0100, Dan wrote:

how precise is SDL_GetTicks? around 1 or 10 ms?


Joseph Carter No conceit in my family

Operating Systems Installed:

  • Debian GNU/Linux 2.1 4 CD Set ($20 from www.chguy.net; price includes
    taxes, shipping, and a $3 donation to FSF). 2 CDs are binaries, 2 CDs
    complete source code;

  • Windows 98 Second Edition Upgrade Version ($136 through Megadepot.com,
    price does not include taxes/shipping). Surprisingly, no source code
    is included.

    -- Bill Stilwell, http://linuxtoday.com/stories/8794.html
    

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20011228/410feb80/attachment.pgp

=====
Dave Brondsema
dave at brondsema.net
http://www.brondsema.net


Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Hi,

figured out a way to make the Cocoa SDL build work fine from the Erlang
language emulator. The magic lines of code are below (and they do
indeed
seem to work - notwithstanding the comments in the code …).

Great. Where do these lines go?

They are put into the esdl_driver.c file in the esdl project.

The idea behind this file is that it defines and provides callbacks
which are invoked by the erlang emulator at:

Opening of the shared Library
Initialisation
When erlang wants to send something to the shared library (i.e. SDL)
When erlang wants to see if the SDL library has something to send to
erlang.

In order to use the SDL Cocoa framework it would appear that pretty much
all that needed to be done was to set up the AutoRelease pool. This
seems to keep the Cocoa parts happy so the esdl language binding can get
on with calling SDL_init and the rest of the normal API stuff.

I haven’t figured out which bits of the Cocoa code are still used (not
SDLmain in this case as we are effectively providing our own). But work
it does…

One nit I haven’t had any time to look at - the Mac Backspace key seems
to be mapped to something non SDL standard when used in this mode.

Regards,
Sean

Hi all,

Let’s take a look at this :

http://www.allegro.cc/forums/view_thread.php?_id=175954

Sure if you’re looking well you’ll find something like “We’re better than
SDL now”

I’m more worried about the hardware accelerated mind control thing…

but anyway, yesterday was April 1st… The whole thing reeked of an April
fools joke (the mind control was the first serious clue, the better than SDL
just proved it.)

-Jim Stapleton> ----- Original Message -----

From: shellegouarch@programmationworld.com (sylvain HELLEGOUARCH)
To: “SDL Mailing List”
Sent: Tuesday, April 02, 2002 8:38 AM
Subject: [SDL] (no subject)

Hi all,

Let’s take a look at this :

http://www.allegro.cc/forums/view_thread.php?_id=175954

Sure if you’re looking well you’ll find something like “We’re better than
SDL now”


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

At 07:50 AM 4/2/02 -0500, you wrote:

but anyway, yesterday was April 1st… The whole thing reeked of an April
fools joke (the mind control was the first serious clue, the better than SDL
just proved it.)

BTW: Thanks, to this post I’ve found the best archiver ever made, lzip :slight_smile:

http://lzip.sourceforge.net

The FAQ is far more funny than most of the movies we see in these years (I
really miss Monty Python :slight_smile: )!

BTW Sam, think about release the new SDL 1.2.4 in lzip format :slight_smile:

Bye,
Gabry (gabrielegreco at tin.it)

Hello. I have this problem when using SDL under linux.
When I use the SDL_SetVideoMode() function like the following, I get a black
screen with a centered box. This does not occur in Windows.

SDL_SetVideoMode( 640, 480, 16, SDL_FULLSCREEN | SDL_HWSURFACE |
SDL_DOUBLEBUF );

I believe my problem could be related to X not switching resolutions. If
this is the case, how do I change it?

Thanks in advance

Mike S. Codename: Freak901010_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

if your X config doesnt have support for the video mode the game needs,
say, you game does 640x480 and you run at 1024x768, then yes, X will do
a black screen w/ a centered box. if you know your video card supports
it, add those resolutions to your X config …

that’s what i think it is, unless i’m misinterperting.On Sun, 2002-04-28 at 21:10, mike shoup wrote:

Hello. I have this problem when using SDL under linux.
When I use the SDL_SetVideoMode() function like the following, I get a black 
screen with a centered box. This does not occur in Windows.

SDL_SetVideoMode( 640, 480, 16, SDL_FULLSCREEN | SDL_HWSURFACE | 
SDL_DOUBLEBUF );

I believe my problem could be related to X not switching resolutions. If 
this is the case, how do I change it?

Thanks in advance

Mike S. Codename: Freak901010

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Chris

@Christopher_Thielen

chris.luethy.net
-------------- next part --------------
A non-text attachment was scrubbed…
Name: globe.png
Type: image/png
Size: 3328 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020428/f97afceb/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed…
Name: envelope.png
Type: image/png
Size: 2393 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020428/f97afceb/attachment-0001.png

That’s what it is, exactly. Most likely your video card does support the
resolutions, so it is safe to add the lower resolutions.

Note, XFree4 automatically knows how to generate reasonable modes for many
common resolutions, but nothing below 640x48. If you care about this, you
will want to add a modeline as used to be necessary for XFree3 for lower
resolutions - I added a 320x240 mode for MAME and such.On Sun, Apr 28, 2002 at 08:27:28PM -0700, Chris wrote:

if your X config doesnt have support for the video mode the game needs,
say, you game does 640x480 and you run at 1024x768, then yes, X will do
a black screen w/ a centered box. if you know your video card supports
it, add those resolutions to your X config …

that’s what i think it is, unless i’m misinterperting.


Joseph Carter You’re entitled to my opinion

“In the event of a percieved failing of the project leadership #debian is
empowered to take drastic and descisive action to correct the failing,
including by not limited to expelling officials, apointing new officials
and generally abusing power”
– proposed amendment to Debian Constitution

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020429/1de5220f/attachment.pgp

I have the same problem, SDL can’t change my resolution, but GLX can.
I have a S3 Virge.On Monday 29 April 2002 06:10, you wrote:

Hello. I have this problem when using SDL under linux.
When I use the SDL_SetVideoMode() function like the following, I get a
black screen with a centered box. This does not occur in Windows.

SDL_SetVideoMode( 640, 480, 16, SDL_FULLSCREEN | SDL_HWSURFACE |
SDL_DOUBLEBUF );

I believe my problem could be related to X not switching resolutions. If
this is the case, how do I change it?

Thanks in advance

Mike S. Codename: Freak901010


Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I have the same problem, SDL can’t change my resolution, but GLX can.
I have a S3 Virge.

By GLX, I take it you mean GLUT? I suspect that GLUT isn’t really changing
resolutions, just setting the aspect ratio appropriately and doing 3D scaling.
You can do the same yourself with OpenGL.

You can also add the correct video modes to your X configuration, so that
SDL can switch directly to them.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

i’m really new to SDL. i know how to load a bmp to a surface, give it an
overall alpha value, or a color key, and blit it, only this and nothing
more. i would really like to know how i can load a bmp to surface and then
create a per-pixel alpha channel based on another .bmp file. i really don’t
know any functions that well and would really appreciate it if someone could
give me some code. thank you - micah at mtco.com

I’ve heard that multiple windows isn’t scheduled until version 2 of the sdl.
What is the progress on this? Is this a high priority or has it been totally
back burnered?

Chris Bruner

The progress is directly proportionate to the amount of time and money you want
to contribute to SDL :slight_smile:

http://www.libsdl.org/finances.php

-EvilTypeGuyOn Fri, May 31, 2002 at 01:54:12PM -0400, Chris Bruner Compulife wrote:

I’ve heard that multiple windows isn’t scheduled until version 2 of the sdl.
What is the progress on this? Is this a high priority or has it been totally
back burnered?

Actually, it’s not. It’s limited by the amount of time I have to write up
the spec and set up the framework. Which, as you might have noticed, isn’t
an incredible amount at the moment. :slight_smile: There is some slow progress, and when
things get to a point where it’s ready for general consumption, I’ll announce
it.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment> On Fri, May 31, 2002 at 01:54:12PM -0400, Chris Bruner Compulife wrote:

I’ve heard that multiple windows isn’t scheduled until version 2 of the sdl.
What is the progress on this? Is this a high priority or has it been totally
back burnered?

The progress is directly proportionate to the amount of time and money you want
to contribute to SDL :slight_smile: