RenderWare V2.1

Previous Page Index Next Page

RwBool

RwOpenExt(char *devname, void *param, RwInt32 numargs,
RwOpenArgument *args);

Arguments

devname The device name as a null-terminated string. The only name supported on the Macintosh is

• "MacFB"

param For Macintosh platforms, this parameter should be NULL.

numargs The number of optional arguments specified.

args An array of optional open arguments.

Comments

RwOpenExt() takes a pointer to an array of RwOpenArgument structures. RwOpenArgument is defined as follows:

typedef struct
{
RwOpenOption option;
void *value;
} RwOpenArgument;

option is one of the identifiers defined below and value is a parameter specific to the option type. If the parameter type is integer, the integer value should be cast to a void *. For example;

args[0].value = (void *)10;

The configuration options supported on the Macintosh are:

• rwMACUSEGDEVICE RenderWare will select the GDevice with the largest depth when automatically determining the rendering depth. This option can be used to specify that a specific Gdevice is used.

• rwMACUSERENDERDEPTH RenderWare can be forced to use a specific Render depth via this option. Note: The conversion from Render Depth to display depth is performed by the operating system and subject to any inherent performance penalties.