GRFError Struct Reference

Information about why GRF had problems during initialisation. More...

#include <newgrf_config.h>

Inheritance diagram for GRFError:
ZeroedMemoryAllocator

Public Member Functions

 GRFError (StringID severity, StringID message=0)

Data Fields

char * custom_message
 Custom message (if present).
char * data
 Additional data for message and custom_message.
StringID message
 Default message.
StringID severity
 Info / Warning / Error / Fatal.
uint8 num_params
 Number of additinal parameters for message and custom_message (0, 1 or 2).
uint32 param_value [2]
 Values of GRF parameters to show for message and custom_message.

Detailed Description

Information about why GRF had problems during initialisation.

Definition at line 59 of file newgrf_config.h.


The documentation for this struct was generated from the following files:

Generated on Sat Jul 31 21:38:43 2010 for OpenTTD by  doxygen 1.6.1