comparison src/video/riscos/SDL_riscosvideo.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
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
32 #define _THIS SDL_VideoDevice *this 32 #define _THIS SDL_VideoDevice *this
33 33
34 34
35 /* Private display data */ 35 /* Private display data */
36 36
37 struct SDL_PrivateVideoData { 37 struct SDL_PrivateVideoData
38 {
38 unsigned char *bank[2]; 39 unsigned char *bank[2];
39 int current_bank; 40 int current_bank;
40 unsigned char *alloc_bank; 41 unsigned char *alloc_bank;
41 int height; 42 int height;
42 int xeig; 43 int xeig;
43 int yeig; 44 int yeig;
44 int screen_bpp; 45 int screen_bpp;
45 int screen_width; 46 int screen_width;
46 int screen_height; 47 int screen_height;
47 char *pixtrans; 48 char *pixtrans;
48 49
49 /* Wimp variables */ 50 /* Wimp variables */
50 unsigned int window_handle; 51 unsigned int window_handle;
51 char title[256]; 52 char title[256];
52 53
53 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ 54 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */
54 int SDL_nummodes[NUM_MODELISTS]; 55 int SDL_nummodes[NUM_MODELISTS];
55 SDL_Rect **SDL_modelist[NUM_MODELISTS]; 56 SDL_Rect **SDL_modelist[NUM_MODELISTS];
56 }; 57 };
57 58
58 /* Old variable names */ 59 /* Old variable names */
59 #define SDL_nummodes (this->hidden->SDL_nummodes) 60 #define SDL_nummodes (this->hidden->SDL_nummodes)
60 #define SDL_modelist (this->hidden->SDL_modelist) 61 #define SDL_modelist (this->hidden->SDL_modelist)
61 62
62 #endif /* _SDL_risosvideo_h */ 63 #endif /* _SDL_risosvideo_h */
64 /* vi: set ts=4 sw=4 expandtab: */