Commit Graph

83 Commits

Author SHA1 Message Date
Sam Lantinga
a4ed545193 Use the canonical glext.h on MacOS X as well (#define NO_SDL_GLEXT if you don't want this) 2004-08-20 22:32:05 +00:00
Sam Lantinga
c6c5bee36f Date: Fri, 20 Aug 2004 08:31:20 +0200
From: "Markus F.X.J. Oberhumer"
Subject: [SDL-CVS][patch] add missing SDLCALL to headers

the small patch attached below (against current CVS) adds some missing SDLCALL
decorations to callback types and arguments.

Unfortunately one of these changes breaks your gen{def,exp}.pl scripts which
should be changed to use non-greedy regular expression matching...
2004-08-20 18:57:01 +00:00
Sam Lantinga
6149a658d4 *** empty log message *** 2004-07-21 04:53:26 +00:00
Sam Lantinga
08c158c94b Date: Mon, 3 May 2004 03:15:01 +0100
From: David Symmonds
Subject: SDL Typedef Structs

Hi, Thanks for the SDL libraries, I have been using them for about a year
now and they are really brilliant. One thing that I have just found whilst
using them through C++ (and needing forward declarations) is that when you
typedef structs you sometimes use

typedef struct Name
{
...
}Name;

e.g. SDL_Surface


and other times use

typedef struct
{
...
}Name;


e.g. SDL_Rect

The first type works fine, when I define a header file I can just put
'struct Name;' at the top and use the Name throughout. However, the second
type is harder to use in a header, and I haven't found a way yet, other than
to include 'SDL.h' in the header file (undesirable). Would there be any harm
in changing the definition of SDL_Rect and such like to the second form?
2004-07-18 22:57:40 +00:00
Sam Lantinga
bcd78b0748 Date: Mon, 28 Jun 2004 19:58:08 +0900
From: Hayashi Naoyuki
Subject: SDL_types.h - fix for Tru64 MME

The following two problems are fixed.
1. Type of Uint64 is "long long" in SDL_types.h,
   but is "long" in mmbasic.h(Tru64 UNIX MME header file).
2. Uint8, Uint16 and Uint32 are redefined
   if you compile a file including mmbasic.h and SDL_types.h.
2004-07-18 19:42:03 +00:00
Sam Lantinga
54d0c70c1e Date: Wed, 7 Jul 2004 12:57:58 +0200
From: "Markus F.X.J. Oberhumer"
Subject: [SDL-CVS] [patch] small fix for SDL_joystick.h

the tiny patch below (against current CVS) fixes a syntax error
(not allow compilers allow multiple __cdecl).
2004-07-18 19:05:06 +00:00
Sam Lantinga
327a62cd62 Increment version... 2004-04-23 14:00:08 +00:00
Sam Lantinga
3d4dbef0c5 Date: Wed, 3 Mar 2004 12:44:21 +0200
From: "Mike Gorchak"
Subject: Misc fixes again

I've added custom WM info for the QNX (same as generic for now), which allows to compile all applications, which included SDL_syswm.h directly, otherwise DISABLE_X11 appearing to be not defined and X11 info was used instead, which is wrong.
2004-03-04 05:41:57 +00:00
Sam Lantinga
743d10080e This works on MacOS X too. :) 2004-02-26 14:26:07 +00:00
Sam Lantinga
2838191e14 Added inline byte swapping code for other architectures 2004-02-23 06:09:21 +00:00
Sam Lantinga
cfeddcb5ca Avoid using kernel internal headers 2004-02-23 05:32:52 +00:00
Sam Lantinga
9e02d4aecb *** empty log message *** 2004-02-18 03:57:13 +00:00
Sam Lantinga
785e6c2328 Updated SDL_opengl.h to include the latest version of glext.h 2004-02-17 23:29:52 +00:00
Sam Lantinga
1ac8626346 Fixed bugs in CPU feature detection and added extended feature detection 2004-01-24 05:47:19 +00:00
Sam Lantinga
b01a5e306e Date: Tue, 6 Jan 2004 12:42:19 +0100
From: Max Horn
Subject: SDL_HasAltiVec; BUGS file

the attached patch adds SDL_HasAltiVec to SDL CVS. Note that at this
point, this only works on MacOSX (and maybe darwin). I don't know how
to properly add a test for e.g. Linux/PPC at this point. I found an
email which might help in doing so:
http://zebra.fh-weingarten.de/~maxi/html/mplayer-dev-eng/2003-01msg00783.html
However, since I have no way to test on a non-OSX PowerPC system, I am
not comfortable blindly adding such code... I just hope that if
somebody from the Linux/PPC (or FreeBSD/PPC, or whatever) community
notices this, they'll jump up and provide a patch for us ;-)
2004-01-06 17:18:38 +00:00
Sam Lantinga
32719e7429 Updated copyright information for 2004 (Happy New Year!) 2004-01-04 16:49:27 +00:00
Sam Lantinga
d8a58193ae Added function to create RWops from const memory: SDL_RWFromConstMem() 2004-01-04 15:18:08 +00:00
Sam Lantinga
4f535a0ef2 Greatly simplified the SDL CPU info code 2003-11-24 09:16:52 +00:00
Sam Lantinga
9981325fda Added SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE() in SDL_cpuinfo.h 2003-11-18 01:27:06 +00:00
Sam Lantinga
7a8a6549fb *** empty log message *** 2003-09-28 18:31:07 +00:00
Sam Lantinga
5be74a63a4 Update SDL version 2003-09-05 15:19:14 +00:00
Sam Lantinga
6e96b51fbd *** empty log message *** 2003-08-06 20:12:00 +00:00
Sam Lantinga
84b6daaaa8 *** empty log message *** 2003-07-27 17:00:40 +00:00
Sam Lantinga
7777531c48 Merged in Ryan's multisample code for MacOS, and changed the constants to match. 2003-07-22 15:33:28 +00:00
Sam Lantinga
19ffa849ea Date: Thu, 24 Apr 2003 15:13:47 -0400
From: Shawn Kirst
Subject: SDL-1.2.5 patch to add ARB_multisample support

Attached is a patch I have written for SDL-1.2.5 that adds ARB_multisample
support.  I only have the X11 and Win32 video patched.  The Win32 patch also
adds support for WGL_ARB_pixel_format, as it was required for getting a
multisample capable pixel format.  No additional GL header files are required
to compile on either platform (though you need an up-to-date glx.h for X11).

Requesting a multisample pixel format is made possible using
SDL_GL_SetAttribute with the two new SDL_GLattr's I've added
(SDL_GL_SAMPLE_BUFFERS and SDL_GL_SAMPLES).  I've been using SDL in my
projects for quite a while now, so I am happy to contribute back to the
project.  Now you can have and control FSAA in your SDL/GL apps at the
application level!
2003-07-22 15:10:06 +00:00
Sam Lantinga
4b88b12551 Added audio and CD-ROM support for OSF/Tru64 (thanks Hayashi!) 2003-07-22 14:01:21 +00:00
Sam Lantinga
91f6dc0a37 *** empty log message *** 2003-07-22 04:50:38 +00:00
Sam Lantinga
8ad5715b0b Added some notes from the benefit of my experience. :) 2003-07-10 07:56:19 +00:00
Sam Lantinga
5f885f7e0e Exposed SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() APIs 2003-07-10 07:46:19 +00:00
Sam Lantinga
20f2cf5c6d I'm American, does it show? ;-) 2003-06-28 17:39:46 +00:00
Sam Lantinga
034f135e5e *** empty log message *** 2003-06-28 17:03:57 +00:00
Sam Lantinga
041169aa8b Added initial support for RISC OS (thanks Peter Naulls!) 2003-05-29 04:44:13 +00:00
Sam Lantinga
581b7ebd1a *** empty log message *** 2003-02-26 07:27:32 +00:00
Sam Lantinga
9abb04139f Fixed header docs for the joystick hat position 2003-01-21 05:33:34 +00:00
Sam Lantinga
9d462a34f7 Turn on enums always ints for CodeWarrior (thanks Darrell!) 2002-10-22 21:35:49 +00:00
Ryan C. Gordon
f5c21170db Added check for AMD x86-64 ("Hammer") architecture in byte order determination. 2002-10-14 05:05:04 +00:00
Sam Lantinga
fd1c7f246f Bumped version to 1.2.6 in CVS 2002-10-08 15:34:19 +00:00
Sam Lantinga
518dfadc59 Date: Sat, 24 Aug 2002 22:20:01 -0600
From: "Greg Haerr"
Subject: Announce: sdl-nanox-patch

Sam,
    I've created an update patch for enhanced Nano-X support
with SDL.  I've created the patch against SDL-1.2.4.  I'd appreciate
it if you would apply it to the next SDL version.

Enhancements include:

1. Small bugfixes to compile without errors
2. Support for direct client-side framebuffer access with configure option
3. Add dynamic pixel type support for hardware framebuffer; eliminating the
need for compile-time configuration option.

I've updated the README.NanoX file with the details.

This version has been tested with Microwindows v0.89pre9 CVS
and SMPEG 0.4.4.  I've added multi-threading support to
Microwindows to support the multi-threaded SMPEG, and
all works fine.  To turn on thread safety in Microwindows,
use THREADSAFE=Y in the Microwindows config file.

Thanks!

Regards,

Greg
Founder, The Microwindows Project
http://microwindows.org
2002-08-25 06:21:49 +00:00
Sam Lantinga
09f9210a94 Added compile-time checking for the size of enums to SDL_types.h 2002-08-21 04:16:31 +00:00
Sam Lantinga
8cbbab0b2e Updated for embedded Visual C++ 4.0 2002-08-20 00:20:06 +00:00
Sam Lantinga
51ae701fe9 Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5) 2002-08-19 18:09:44 +00:00
Sam Lantinga
7fabbe8198 Added SDL_GL_STEREO for stereoscopic OpenGL contexts 2002-08-19 17:58:08 +00:00
Sam Lantinga
3f1fccba2b Added a way to get the Windows OpenGL context in SDL_syswm.h 2002-08-17 17:49:27 +00:00
Sam Lantinga
9212a4cc0e *** empty log message *** 2002-08-01 23:08:41 +00:00
Sam Lantinga
6b2eaa78f8 Fixed SDL_DisplayFormatAlpha() on RGB surfaces with alpha 2002-08-01 23:06:39 +00:00
Sam Lantinga
4ce49cabec *** empty log message *** 2002-06-13 23:59:20 +00:00
Sam Lantinga
635f1ceff9 Added David Hedbor's Qtopia patches 2002-05-19 20:06:01 +00:00
Sam Lantinga
eddc216018 Bump the version, so that it isn't forotten later. :) 2002-04-14 21:51:25 +00:00
Sam Lantinga
a6a5824013 Fixed precompiled headers on MacOS X 2002-04-13 20:33:15 +00:00
Sam Lantinga
8b5bf373be Explicitly specify the SDL API calling convention (C by default) 2002-04-11 14:35:16 +00:00