diff src/video/xbios/SDL_xbios_centscreen.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents d910939febfa
children 4da1ee79c9af
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios_centscreen.h	Sun May 21 17:27:13 2006 +0000
+++ b/src/video/xbios/SDL_xbios_centscreen.h	Sun May 28 13:04:16 2006 +0000
@@ -30,7 +30,7 @@
 #ifndef _SDL_xbios_centscreen_h
 #define _SDL_xbios_centscreen_h
 
-#include <mint/falcon.h>	/* for trap_14_xxx macros */
+#include <mint/falcon.h>        /* for trap_14_xxx macros */
 
 #include "SDL_xbios.h"
 
@@ -50,21 +50,22 @@
 
 /*--- Structures ---*/
 
-typedef struct {
-	unsigned short	handle;	/* videomode handle */
-	unsigned short	mode;	/* Falcon videomode code */
-	unsigned short	physx;	/* visible width */
-	unsigned short	physy;	/* visible height */
-	unsigned short	plan;	/* bitplanes */
-	unsigned short	logx;	/* virtual width */
-	unsigned short	logy;	/* virtual height */
-	unsigned short	eco;	/* screen saver delay */
-	unsigned short	eco2;	/* energy star screen saver delay */
-	unsigned short	wsize;	/* screen width (mm) */
-	unsigned short	hsize;	/* screen height (mm) */
-	unsigned short	dummy[21];
-	unsigned char	name[32];	/* videomode name */
-} __attribute__((packed)) centscreen_mode_t;
+typedef struct
+{
+    unsigned short handle;      /* videomode handle */
+    unsigned short mode;        /* Falcon videomode code */
+    unsigned short physx;       /* visible width */
+    unsigned short physy;       /* visible height */
+    unsigned short plan;        /* bitplanes */
+    unsigned short logx;        /* virtual width */
+    unsigned short logy;        /* virtual height */
+    unsigned short eco;         /* screen saver delay */
+    unsigned short eco2;        /* energy star screen saver delay */
+    unsigned short wsize;       /* screen width (mm) */
+    unsigned short hsize;       /* screen height (mm) */
+    unsigned short dummy[21];
+    unsigned char name[32];     /* videomode name */
+} __attribute__ ((packed)) centscreen_mode_t;
 
 /*--- Functions prototypes ---*/
 
@@ -111,8 +112,9 @@
 
 /*--- Functions prototypes ---*/
 
-int SDL_XBIOS_CentscreenInit(_THIS);
-void SDL_XBIOS_CentscreenSetmode(_THIS, int width, int height, int planes);
-void SDL_XBIOS_CentscreenRestore(_THIS, int prev_handle);
+int SDL_XBIOS_CentscreenInit (_THIS);
+void SDL_XBIOS_CentscreenSetmode (_THIS, int width, int height, int planes);
+void SDL_XBIOS_CentscreenRestore (_THIS, int prev_handle);
 
 #endif /* _SDL_xbios_centscreen_h */
+/* vi: set ts=4 sw=4 expandtab: */