comparison src/video/xbios/SDL_xbios.h @ 1064:fba6b67b4d60

Add Centscreen extended modes support
author Patrice Mandin <patmandin@gmail.com>
date Tue, 31 May 2005 12:31:11 +0000
parents 0e7218843cfb
children c9b51268668f
comparison
equal deleted inserted replaced
1063:0fb50bfaea7f 1064:fba6b67b4d60
68 int doubleline; /* Double line mode ? */ 68 int doubleline; /* Double line mode ? */
69 int frame_number; /* Number of frame for double buffer */ 69 int frame_number; /* Number of frame for double buffer */
70 int pitch; /* Destination line width for C2P */ 70 int pitch; /* Destination line width for C2P */
71 int width, height; /* Screen size for centered C2P */ 71 int width, height; /* Screen size for centered C2P */
72 72
73 SDL_bool centscreen; /* Centscreen extension present ? */
74
73 SDL_Rect *SDL_modelist[NUM_MODELISTS][SDL_NUMMODES+1]; 75 SDL_Rect *SDL_modelist[NUM_MODELISTS][SDL_NUMMODES+1];
74 xbiosmode_t *videomodes[NUM_MODELISTS][SDL_NUMMODES+1]; 76 xbiosmode_t *videomodes[NUM_MODELISTS][SDL_NUMMODES+1];
75 }; 77 };
76 78
77 /* _VDO cookie values */ 79 /* _VDO cookie values */
121 #define XBIOS_doubleline (this->hidden->doubleline) 123 #define XBIOS_doubleline (this->hidden->doubleline)
122 #define XBIOS_fbnum (this->hidden->frame_number) 124 #define XBIOS_fbnum (this->hidden->frame_number)
123 #define XBIOS_pitch (this->hidden->pitch) 125 #define XBIOS_pitch (this->hidden->pitch)
124 #define XBIOS_width (this->hidden->width) 126 #define XBIOS_width (this->hidden->width)
125 #define XBIOS_height (this->hidden->height) 127 #define XBIOS_height (this->hidden->height)
128 #define XBIOS_centscreen (this->hidden->centscreen)
126 129
127 /*--- Functions prototypes ---*/ 130 /*--- Functions prototypes ---*/
128 131
129 void SDL_XBIOS_AddMode(_THIS, Uint16 modecode, Uint16 width, Uint16 height, 132 void SDL_XBIOS_AddMode(_THIS, Uint16 modecode, Uint16 width, Uint16 height,
130 Uint16 depth, SDL_bool flags); 133 Uint16 depth, SDL_bool flags);