Ryan Clark | 1 May 2006 01:57

Re: SDL_WM_SetIcon on Intel Mac (using the universal SDL framework)

Thanks, Ryan.  I should've realized that!

On 30-Apr-06, at 1:17 PM, Ryan C. Gordon wrote:

>
>> In the meantime, can you recommend a workaround?  Is there some way I
>> can modify my surface before calling SDL_WM_SetIcon such that it will
>> end up displaying properly?  I've take a look at the QZ_SetIcon
>> source, but I must admit, it's difficult for me to follow.
>
> If you don't have to modify the icon at runtime, on the Mac, just  
> set it
> up in the app's Info.plist file, and point it at a real .icns
> file...this is probably why no one noticed the bug before.  :)
>
> --ryan.
>
>
> _______________________________________________
> SDL mailing list
> SDL <at> libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
Sam Lantinga | 1 May 2006 09:15

Re: SDL pre-release

> OpenGL fails on the zipped pre-release source accessible from
> http://www.libsdl.org/svn.php.

> Appears to be following lines in sdl_wing.c (lines 341-345):

> wglext = (const char *)this->glGetString(GL_EXTENSIONS);
>     if ( !SDL_strstr(wglext, "WGL_EXT_swap_control") ) {
>         this->gl_data->wglSwapIntervalEXT = NULL;
>         this->gl_data->wglGetSwapIntervalEXT = NULL;
>     }

> glGetString is a null pointer, as are other gl function pointers, so call
> fails.  Never looked at sdl source before, so no further than that as yet.

This should be fixed in subversion, can you give it a shot?

Thanks!
	-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
Sam Lantinga | 1 May 2006 09:25

Re: Problem with sdl.m4 and mingw+msys

> After a bit of investigation, I found the problem to be on sdl.m4, at 
> this line:

> PATH="$prefix/bin:$prefix/usr/bin:$PATH"

> But at this point, $prefix expands to "NONE". Should I use some other 
> macro before AM_PATH_SDL to set $prefix to some value? Or should this 
> line on sdl.m4 be replace by something like
>   if test "X$prefix" != "XNONE"; then
>     PATH="$prefix/bin:$prefix/usr/bin:$PATH"
>   fi

This is in CVS, thanks.  I'm still mystified why this fixes it though.

Thanks!
	-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
Sam Lantinga | 1 May 2006 11:16

Re: SDL_image & libtiff

> Attached is a patch that modifies configure.in and makefile.am for 
> SDL_image.
> *Changes are:*

> - Checks for dependency libs before checking for other libraries (z is 
> checked before png, z and jpeg are checked before tiff) which was the 
> fix I was targetting (at the start)

This is in subversion, thanks!

You can try out the snapshot here:
http://www.libsdl.org/tmp/SDL_image-1.2.5.tar.gz

> - IMG_LIBS was removed and LIBS was used instead, which facilitates the 
> search of libraries.

I left this as-is, since I wanted the image libraries to be linked
directly with the SDL_image library, but indirectly (if necessary)
to showimage.

> - Changed CFLAGS for EXTRA_CFLAGS. This allows environment CFLAGS to be 
> overwritten during make (ie. export CFLAGS="-g -O0" && ./configure && 
> make CFLAGS="-O3").

Your change forced automake to include the compile script and generate
some really messy build rules.  I used AC_DEFINE instead.

> - Some reorganization, replaced deprecated AC_* calls and redundant ones 
> (ie. AC_PROG_INSTALL is called by AM_INIT_AUTOMAKE)

(Continue reading)

antonmasteR | 1 May 2006 14:06
Picon

SDL & ASM

Hey guys!
  I was wondering if there any defines for nasm or fasm to use this great lib with asm?? :)
I was going to write them but thought it was better to ask if someone already did it. Btw what do you think about
using asm with sdl?? of course it affects the portability, but it can be used in some parts of code that
really need to be very optimized, etc

Thanks.

http://gamescreators.sourceforge.net/ -- Linux games programmers community
Neil White | 1 May 2006 14:52

ipod fun


hi, i'm sure this has probly been asked before, but i was unsubscribed for a
while, also documentaion on the ipod linux is like most linux documentation
AFAICT, anyway...

what are the odds on an ipod linux version of sdl? or at least a cut down
version? i want to port one of my tiny sdl games to my mates ipod, just cos i am
a porting junkiee.

--

Nice.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
SlntHero | 1 May 2006 15:14
Picon
Favicon

Easy question about S.D.L. and MSVS.NET2005Pro...

Easy question about S.D.L. and MSVS.NET2005Pro...
 
 
Hi,
 
I am using S.D.L. 1.2.9 with SDL_Mixer 1.2.6 and SDL_TTF 2.0.7
with Microsoft Visual Studio.NET 2005 Professional
(using Visual C/C++ programming language)
to make a Tetris game for the PC Windows platform.
 
My question is the following:
 
When I run my game, I notice in the game's folder
that two new files are created
"stderr.txt"
"stdout.txt"
then when I exit game
the two new files are removed.
 
Anyone know why these two files appear when I run the game?
 
Would like these two files to not be created on running game
and deleted on exiting game.
 
Thanks in advance...
 
 
My S.D.L. based Tetris game project:
 
 
 
Jesse "JeZ+Lee" Palser, BS, A+, Network+, MCP
SLNTHERO <at> AOL.com
Silent Hero Productions (R)
"Fun, little games for when you don't have time to save the world.[TM]"
www.SilentHeroProductions.com
_______________________________________________
SDL mailing list
SDL <at> libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Michael Ryan Bannon | 1 May 2006 15:31

Universal Binaries for SDL projects

Hello all,

Is there a list of those SDL projects (those listed on www.libsdl.org) that 
have Universal Binaries?

Thanks,

Ryan 
Paul Gessos | 1 May 2006 15:41
Picon

Re: SDL & ASM

antonmasteR wrote:
> Hey guys!
>   I was wondering if there any defines for nasm or fasm to use this great lib with asm?? :)
> I was going to write them but thought it was better to ask if someone already did it. Btw what do you think
about using asm with sdl?? of course it affects the portability, but it can be used in some parts of code that
really need to be very optimized, etc

If you want so much optimized code, do not use SDL at all. Use native API.

What, you believe, is the speed difference between an asm program and a 
C program?

Many times C program is faster than asm because of compiler optimization 
(if you are not a good asm programmer of course)

So, what is the need to use asm code today, except using specific 
features of processors?

Even I, use Basic compiler (wow!) for microcontroller!
__________________________________________________
×ñçóéìïðïéåßôå Yahoo!;
ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíýìáôá (spam);   Ôï Yahoo! Mail
äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí
åíï÷ëçôéêþí ìçíõìÜôùí  
http://mail.yahoo.gr 
Richard Hancock | 1 May 2006 15:43
Picon

Re: Easy question about S.D.L. and MSVS.NET2005Pro...

"stderr.txt "
"stdout.txt"

Those are files on windows that the output for stderr (Standard Error) and stdout (Standard Output) get directed to.  Very usefull when programs crash unexpectidly.  Although a full logging system would be MUCH better.  It is truthfully nothing to worry about.

Hope that helped some (not really full awake or aware at the moment).

--
Richard J Hancock
RJH Computers
http://www.rjhcomputers.com
_______________________________________________
SDL mailing list
SDL <at> libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Gmane