I notice that the material structure is now defined as;
Code:
typedef struct material_t
{
int dummy;
// private
} ACMaterial; // private ACEntity
typedef struct material_template_t
{
ACrgb rgb; // diffuse
ACrgb ambient;
ACrgb specular;
ACrgb emissive;
float shininess;
float transparency;
} ACMaterialTemplate;
So, given that a surface holds an index to it's material in the palette, and that we can get the actual material with
Code:
ACMaterial *ac_palette_get_material(int num);
How do we get ahold of the actual information about that material?