| Home
| Previous
| Next
| Up

GM_modeFlagsType

Declaration

typedef enum {
GM_MODE_8BPP = 0x01,
GM_MODE_16BPP = 0x02,
GM_MODE_24BPP = 0x04,
GM_MODE_32BPP = 0x08,
GM_ONLY_2D_ACCEL = 0x10,
GM_ONLY_3D_ACCEL = 0x20,
GM_ALLOW_WINDOWED = 0x40,
GM_MODE_ALLBPP = 0x0F
} GM_modeFlagsType

Prototype In

gm\gm.h

Description

Mode flags to pass to GM_init. These flags inform the Game Framework which color depths you want to support in your game, and can be a logical OR combination of all the available flags. Hence if you game only supports 8bpp modes then you would pass in GM_MODE_8BPP. If you game only supports 8bpp and 16bpp, then you would pass in GM_MODE_8BPP | GM_MODE_16BPP.

Note: GM_MODE_16BPP includes support for both 15bpp (5:5:5) and 16bpp (5:6:5) MGL modes and if you support GM_MODE_16BPP then you will have to be able to support either format on the end users system.

Members

GM_MODE_8BPP | Include support for 8bpp modes
GM_MODE_16BPP | Include support for 15bpp and 16bpp modes
GM_MODE_24BPP | Include support for 24bpp modes (3 bytes per pixel)
GM_MODE_32BPP | Include support for 32bpp modes (4 bytes per pixel)
GM_ONLY_2D_ACCEL | Only include modes with 2D hardware support
GM_ONLY_3D_ACCEL | Only include modes with 3D hardware support
GM_ALLOW_WINDOWED | Allow for windowed only modes in mode list
GM_MODE_ALLBPP | Include support for all color depths

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com