when I try to SDL_SetVideoMode(xxx, yyy, 1, XXX); I get a segfault.
I understand 1bpp was not the purpose of SDL, but it should at least be
protected from this.
the problem appears to be that X11_ListModes may return -1 on failure and
SDL_GetVideoMode expects 0 as failure indicator for SDL_ListModes
when I try to SDL_SetVideoMode(xxx, yyy, 1, XXX); I get a segfault.
I understand 1bpp was not the purpose of SDL, but it should at least be
protected from this.
Are you using SDL 1.2.5?
I get the following:
Couldn’t set 640x480x1 video mode: Invalid bits per pixel (range is {8…32})
See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf format.
The book is primarily about game programming using SDL – 400+ pages.
I found the scripting and networking chapters rather interesting!
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf format.
The book is primarily about game programming using SDL – 400+ pages.
I found the scripting and networking chapters rather interesting!
You will find some mirror sides where you can download the pdf.
cu,
Luke
-----Urspr?ngliche Nachricht-----Von: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
Nishal Thomas
Gesendet: Donnerstag, 24. Oktober 2002 11:57
An: sdl at libsdl.org
Betreff: Re: [SDL] linux game programming book
Roy Pluschke wrote:
Hi,
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the
book
Linux Game Programming has be released for free (as in beer) in pdf
format.
The book is primarily about game programming using SDL – 400+ pages.
I found the scripting and networking chapters rather interesting!
----- Original Message -----
From: nishal@iitk.ac.in (Nishal Thomas)
To:
Sent: Thursday, October 24, 2002 10:57 AM
Subject: Re: [SDL] linux game programming book
Roy Pluschke wrote:
Hi,
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf
format.
The book is primarily about game programming using SDL – 400+ pages.
I found the scripting and networking chapters rather interesting!
----- Original Message -----
From: “Nishal Thomas”
To:
Sent: Thursday, October 24, 2002 10:57 AM
Subject: Re: [SDL] linux game programming book
Roy Pluschke wrote:
Hi,
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf
format.
The book is primarily about game programming using SDL – 400+ pages.
I found the scripting and networking chapters rather interesting!
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf format.
Yep! It’s available for free download at http://www.overcode.net/~overcode/writing/plg . However, the title is
"Programming Linux Games". “Linux Game Programming” is a different book,
which as far as I know is not available electronically.
The site has had almost 9000 unique hits this week.
With all due respect, the CD included with Linux Game Programming is
absolutely worthless. Prima really botched it. The book unfortunately
depends on the CD being anything other than useless, so unless the entire
CD contents are now available online, I suggest you look pass on the Prima
book and buy the No Starch book instead.
I own both myself. The Prima book is organised a little differently and
is occasionally useful, but the No Starch book written by John Hall is the
book I use and recommend for people learning how to do this stuff.On Thu, Oct 24, 2002 at 11:54:27AM -0400, John R. Hall wrote:
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf format.
Yep! It’s available for free download at http://www.overcode.net/~overcode/writing/plg . However, the title is
"Programming Linux Games". “Linux Game Programming” is a different book,
which as far as I know is not available electronically.
The site has had almost 9000 unique hits this week.
–
Joseph Carter Sooner or later, BOOM!
Mercury: gpm isn’t a very good web browser. fix it.
The Linux Game Tome (happypenguin.org) has a link to a site w/ mirrors.
Cam
Nishal Thomas wrote:> Roy Pluschke wrote:
Hi,
I haven’t been following the list lately so forgive me if this has been
mentioned before but I noticed on the Linux Game Tome site that the book
Linux Game Programming has be released for free (as in beer) in pdf
format.
The book is primarily about game programming using SDL – 400+ pages.
I found the scripting and networking chapters rather interesting!