Fri, 20 Jan 2006 13:07:25 +0000 Date: Thu, 19 Jan 2006 20:02:29 +0200
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Jan 2006 13:07:25 +0000] rev 1258
Date: Thu, 19 Jan 2006 20:02:29 +0200 From: Vassilis Virvilis <vasvir@iit.demokritos.gr> Subject: [SDL] Request: Please reconsider adding tag in SDL_Event Hi, Patch in question: --- include/SDL_events.h 20 Aug 2004 18:57:01 -0000 1.11 +++ include/SDL_events.h 19 Jan 2006 17:35:09 -0000 @@ -214,7 +214,7 @@ } SDL_SysWMEvent; /* General event structure */ -typedef union { +typedef union SDL_Event { Uint8 type; SDL_ActiveEvent active; SDL_KeyboardEvent key; Reasoning: ---------- 1) Allows forward declaration of the SDL_Event union in C++. Please note that in plain C it is possible to forward declare it. 2) Forward declaration is good because it allows encapsulation. It hides the specific implementation and does not necessarily exposes SDL staff to my appication's namespace 3) It can't harm plain C because tags are living in a different namespace than typenames 4) It is already done like this in other places in SDL. Check for example SDL_KeySym, and SDL_.*Event structures. 5) Right now I have to include SDL/event.h from a C++ header file. See 2)
Thu, 19 Jan 2006 21:28:52 +0000 [PATCH] SDL_GetVideoMode() does not find best mode, part 2
Patrice Mandin <patmandin@gmail.com> [Thu, 19 Jan 2006 21:28:52 +0000] rev 1257
[PATCH] SDL_GetVideoMode() does not find best mode, part 2 Following commit 1.51, I come accross a problem when SDL must choose between several video modes that could suit the one asked. If I ask 320x240 with this list: 768x480 768x240 640x400 640x200 384x480 384x240 320x400 320x200 The smallest selectables modes are 384x240 and 320x400. And SDL choose the later in this list, but 384x240 is more suitable. So I added a check to compare the pixel count (surface) of modes, and select the one which has the smallest pixel count. In my example, 384x240 has 92160 pixels, and 320x400 has 128000 pixels. So now SDL will choose 384x240 for the asked 320x240 mode.
Thu, 19 Jan 2006 18:08:28 +0000 Rollback 1.28 change, but only for UpdateRects function this time
Patrice Mandin <patmandin@gmail.com> [Thu, 19 Jan 2006 18:08:28 +0000] rev 1256
Rollback 1.28 change, but only for UpdateRects function this time
Thu, 19 Jan 2006 12:05:14 +0000 Fixed MPW include file order
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Jan 2006 12:05:14 +0000] rev 1255
Fixed MPW include file order
Thu, 19 Jan 2006 10:25:02 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Jan 2006 10:25:02 +0000] rev 1254
*** empty log message ***
Thu, 19 Jan 2006 09:09:32 +0000 Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Jan 2006 09:09:32 +0000] rev 1253
Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP This is a collaborative effort between Alex Volkov and John Popplewell. Thanks guys! (Fixes bug #39)
Thu, 19 Jan 2006 08:53:12 +0000 Added .cvsignore to the XME directory.
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Jan 2006 08:53:12 +0000] rev 1252
Added .cvsignore to the XME directory.
Thu, 19 Jan 2006 08:43:00 +0000 Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode,
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Jan 2006 08:43:00 +0000] rev 1251
Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode, updated project files, VS2005 support, VGA mode, more device support, etc, etc, etc. Fixes Bugzilla #47 and #28. --ryan.
Thu, 19 Jan 2006 08:36:41 +0000 Fixed up build script to catch some of the newer files in a "make dist" run.
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Jan 2006 08:36:41 +0000] rev 1250
Fixed up build script to catch some of the newer files in a "make dist" run.
Thu, 19 Jan 2006 05:34:24 +0000 *** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Jan 2006 05:34:24 +0000] rev 1249
*** empty log message ***
(0) -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip