coastline 0.0.4
Loading...
Searching...
No Matches
displaymode.h
Go to the documentation of this file.
1
6#ifndef COASTLINE_PLATFORM_WIN_GLIDE_DISPLAYMODE_H
7#define COASTLINE_PLATFORM_WIN_GLIDE_DISPLAYMODE_H
8
50
53 int nWidth;
54 int nHeight;
55};
56
58#define GLIDE_RESOLUTION_COUNT 7
59
66
73
80
88
89#endif /* COASTLINE_PLATFORM_WIN_GLIDE_DISPLAYMODE_H */
int g_dwGlideDisplayModeCount
The number of modes of g_pGlideDisplayModeList.
void BuildGlideDisplayModeList(void)
Build g_pGlideDisplayModeList from the resolutions whose two 16-bit buffers and depth buffer fit in t...
const GlideResolution g_aGlideResolutions[GLIDE_RESOLUTION_COUNT]
The resolutions the Glide library offers.
#define GLIDE_RESOLUTION_COUNT
The number of entries of g_aGlideResolutions.
Definition displaymode.h:58
GlideDisplayModeNode * g_pGlideDisplayModeList
The display modes, smallest first.
A display mode of the Glide library, linked in ascending order of size.
Definition displaymode.h:10
int nRefreshRate
Definition displaymode.h:14
bool IsLessOrEqual(const GlideDisplayModeNode *pMode) const
Whether a mode is no larger than the mode that follows this one in each of its bit depth,...
int nWidth
Definition displaymode.h:11
int nHeight
Definition displaymode.h:12
void DeleteChain()
Delete the modes that follow this one.
GlideDisplayModeNode()
Construct an empty mode.
GlideDisplayModeNode * pNext
Definition displaymode.h:15
int nBitDepth
Definition displaymode.h:13
void InsertSorted(GlideDisplayModeNode *pMode)
Insert a mode after this one, before the first following mode it is no larger than.
A resolution of g_aGlideResolutions.
Definition displaymode.h:52
int nWidth
Definition displaymode.h:53
int nHeight
Definition displaymode.h:54