diff options
author | Franklin Wei <git@fwei.tk> | 2017-01-21 15:18:31 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-12-23 21:01:26 -0500 |
commit | a855d6202536ff28e5aae4f22a0f31d8f5b325d0 (patch) | |
tree | 8c75f224dd64ed360505afa8843d016b0d75000b /apps/plugins/sdl/src/video/Xext/extensions/xme.h | |
parent | 01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b (diff) | |
download | rockbox-a855d6202536ff28e5aae4f22a0f31d8f5b325d0.tar.gz rockbox-a855d6202536ff28e5aae4f22a0f31d8f5b325d0.zip |
Port of Duke Nukem 3D
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL
for Rockbox.
Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
Diffstat (limited to 'apps/plugins/sdl/src/video/Xext/extensions/xme.h')
-rw-r--r-- | apps/plugins/sdl/src/video/Xext/extensions/xme.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/apps/plugins/sdl/src/video/Xext/extensions/xme.h b/apps/plugins/sdl/src/video/Xext/extensions/xme.h new file mode 100644 index 0000000000..f550623c9f --- /dev/null +++ b/apps/plugins/sdl/src/video/Xext/extensions/xme.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Copyright 1993-2001 by Xi Graphics, Inc. | ||
3 | * All Rights Reserved. | ||
4 | * | ||
5 | * Please see the LICENSE file accompanying this distribution for licensing | ||
6 | * information. | ||
7 | * | ||
8 | * Please send any bug fixes and modifications to src@xig.com. | ||
9 | * | ||
10 | * $XiGId: xme.h,v 1.1.1.1 2001/11/19 19:01:10 jon Exp $ | ||
11 | * | ||
12 | */ | ||
13 | |||
14 | |||
15 | #ifndef _XME_H_INCLUDED | ||
16 | #define _XME_H_INCLUDED | ||
17 | |||
18 | typedef struct { | ||
19 | short x; | ||
20 | short y; | ||
21 | unsigned short w; | ||
22 | unsigned short h; | ||
23 | } XiGMiscViewInfo; | ||
24 | |||
25 | typedef struct { | ||
26 | unsigned short width; | ||
27 | unsigned short height; | ||
28 | int refresh; | ||
29 | } XiGMiscResolutionInfo; | ||
30 | |||
31 | extern Bool XiGMiscQueryVersion(Display *dpy, int *major, int *minor); | ||
32 | extern int XiGMiscQueryViews(Display *dpy, int screen, | ||
33 | XiGMiscViewInfo **pviews); | ||
34 | extern int XiGMiscQueryResolutions(Display *dpy, int screen, int view, | ||
35 | int *pactive, | ||
36 | XiGMiscResolutionInfo **presolutions); | ||
37 | extern void XiGMiscChangeResolution(Display *dpy, int screen, int view, | ||
38 | int width, int height, int refresh); | ||
39 | |||
40 | /* SDL addition from Ryan: free memory used by xme. */ | ||
41 | extern void XiGMiscDestroy(void); | ||
42 | |||
43 | #endif /* _XME_H_INCLUDED */ | ||
44 | |||
45 | |||