[ Maverik Level 1 typedefs ]


MAV_surfaceParams

Summary

Surface parameters.


Syntax

typedef struct {
  int mode;
  int colour;
  int material;
  int texture;
} MAV_surfaceParams;


Description

Every default object contains a field of type MAV_surfaceParams, which determines ``what colour'' is used to render the object. mode can take one of the following values:

The other fields, colour, material and texture, respectively specify which colour, material and/or texture index to use from the palette associated with the window in which the object is being drawn. Only for the case of MAV_LIT_TEXTURE and MAV_BLENDED_TEXTURE does more than one index need to be given.


See also

mav_surfaceParamsNew.html>mav_surfaceParamsNew


Back to the index page.