diff src/video/xbios/SDL_xbios_sb3.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents d910939febfa
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios_sb3.h	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/xbios/SDL_xbios_sb3.h	Mon Jul 10 21:04:37 2006 +0000
@@ -46,37 +46,40 @@
 
 /*--- Types ---*/
 
-typedef struct {
-	unsigned short	virtual_width;	/* Virtual screen width */
-	unsigned short	virtual_height;	/* Virtual screen height */
-	unsigned short	visible_width;	/* Visible width */
-	unsigned short	visible_height;	/* Visible height */
-	unsigned short	h_pos;	/* Horizontal position in virtual screen */
-	unsigned short	v_pos;	/* Vertical position in virtual screen */
-	unsigned short	dummy;
-	unsigned long	size;	/* Size of screen in bytes */
-	unsigned short	device;	/* Device number to find planes = getRez() */
-							/* = Index in scpn_planes_device[] */
-} __attribute__((packed)) scpn_screeninfo_t;
+typedef struct
+{
+    unsigned short virtual_width;       /* Virtual screen width */
+    unsigned short virtual_height;      /* Virtual screen height */
+    unsigned short visible_width;       /* Visible width */
+    unsigned short visible_height;      /* Visible height */
+    unsigned short h_pos;       /* Horizontal position in virtual screen */
+    unsigned short v_pos;       /* Vertical position in virtual screen */
+    unsigned short dummy;
+    unsigned long size;         /* Size of screen in bytes */
+    unsigned short device;      /* Device number to find planes = getRez() */
+    /* = Index in scpn_planes_device[] */
+} __attribute__ ((packed)) scpn_screeninfo_t;
 
-typedef struct {
-	unsigned long	magic;	/* just a BRA assembler jump */
-	unsigned short	version;
-	void			*dummy1;
-	unsigned short	ptsout0_1;
-	unsigned short	ptsout0_2;
-	unsigned short	dummy3;
-	unsigned char	date[8];	/* Date of program build */
-	unsigned char	asm_string[30];	/* 10 times the 'ASM' string */
-	unsigned short	dummy4;
-	scpn_screeninfo_t	*screen_info;
-	unsigned short	dummy6;
-} __attribute__((packed)) scpn_cookie_t;
+typedef struct
+{
+    unsigned long magic;        /* just a BRA assembler jump */
+    unsigned short version;
+    void *dummy1;
+    unsigned short ptsout0_1;
+    unsigned short ptsout0_2;
+    unsigned short dummy3;
+    unsigned char date[8];      /* Date of program build */
+    unsigned char asm_string[30];       /* 10 times the 'ASM' string */
+    unsigned short dummy4;
+    scpn_screeninfo_t *screen_info;
+    unsigned short dummy6;
+} __attribute__ ((packed)) scpn_cookie_t;
 
 /*--- Function prototypes ---*/
 
-int SDL_XBIOS_SB3Usable(scpn_cookie_t *cookie_scpn);
+int SDL_XBIOS_SB3Usable(scpn_cookie_t * cookie_scpn);
 
-void SDL_XBIOS_SB3Init(_THIS, scpn_cookie_t *cookie_scpn);
+void SDL_XBIOS_SB3Init(_THIS, scpn_cookie_t * cookie_scpn);
 
 #endif /* _SDL_xbios_sb3_h_ */
+/* vi: set ts=4 sw=4 expandtab: */