author Sam Lantinga <>
Sun, 21 Sep 2003 18:32:04 +0000
changeset 720 f90d80d68071
parent 150 df1d68818edb
child 1361 19418e4422cb
permissions -rw-r--r--
N Sep 17 8791 Sam Lantinga Re: tks source released
Date: Sun, 07 Sep 2003 02:51:58 +0200
From: Stephane Marchesin
Subject: [SDL] Two little patches

Compiling SDL with a recent gcc (gcc 3.3.1, 3.3 doesn't have this
behaviour) gives some nasty warnings :

SDL_blit_A.c: In function `BlitRGBtoRGBSurfaceAlpha128MMX':
SDL_blit_A.c:223: warning: integer constant is too large for "long" type
SDL_blit_A.c:225: warning: integer constant is too large for "long" type
SDL_blit_A.c:227: warning: integer constant is too large for "long" type

The first attached patch (longlongfix.patch) tells gcc to really treat
those constants as unsigned long long and not long.

The second patch (nasinclude.patch) fixes an include problem I had while
compiling nas audio : when the <audio/audiolib.h> file lies in
/usr/X11R6/include, a -I/usr/X11R6/include option is needed or the file
isn't found.
     2 Wish list for the 1.3 development branch:
     4  * Use /etc/fb.modes, if available, like GGI does
     5  * Add mousewheel events (new unified event architecture?)
     6  * DirectInput joystick support needs to be implemented
     7  * Be able to enumerate and select available audio and video drivers
     8  * Fullscreen video mode support for MacOS X
     9  * Explicit vertical retrace wait (maybe separate from SDL_Flip?)
    10  * Shaped windows, windows without borders
    11  * Multiple windows, multiple display support
    12  * SDL_INIT_EVENTTHREAD on Windows and MacOS?
    13  * Add a timestamp to events
    14  * Use RDTSC for timer resolution on x86 hardware
    15  * Add audio input API
    16  * Add hardware accelerated scaled blit
    17  * Add hardware accelerated alpha blits
    18  * Redesign blitting architecture to allow blit plugins
    20 In the jump from 1.2 to 1.3, we should change the SDL_Rect members to
    21 int and evaluate all the rest of the datatypes.  This is the only place
    22 we should do it though, since the 1.2 series should not break binary
    23 compatibility in this way.
    25 Requests:
    26  * PCM and CDROM volume control (deprecated, but possible)