typedef struct { int id; int defined; int width; int height; unsigned long *mem; char *filename; MAV_texEnvFn texEnv; int transparent; } MAV_texture;