R3ErrorDialog

FUNCTION:

R3ErrorDialog

TEMPLATE:

int R3ErrorDialog(char *ok, char *fmt, ...);

PARAMETERS:

ok - text for 'close button'

RETURN VALUE:

Don't count on this

DESCRIPTION:

Prints given error message and waits until user clicks 'close' button. This dialog is used for reporting fatal errors to the user. This is a low level function. Use R3Error() instead.

EXAMPLE:

R3ErrorDialog("Understood", "Cannot create %d objects", 100000000);