… | |
… | |
42 | |
42 | |
43 | /* New face structure - this enforces the notion that data is face by |
43 | /* New face structure - this enforces the notion that data is face by |
44 | * face only - you can not change the color of an item - you need to instead |
44 | * face only - you can not change the color of an item - you need to instead |
45 | * create a new face with that color. |
45 | * create a new face with that color. |
46 | */ |
46 | */ |
47 | struct faceinfo : zero_initialised |
47 | struct faceinfo |
48 | { |
48 | { |
|
|
49 | faceinfo () |
|
|
50 | : number (0), smooth (0), type (0), smoothlevel (0), visibility (0), magicmap (0) |
|
|
51 | { |
|
|
52 | } |
|
|
53 | |
49 | shstr name; |
54 | shstr name; |
50 | std::string meta; |
55 | std::string meta; |
51 | facedata data32, data64; // either 32/64 face or data32 == generic resource |
56 | facedata data32, data64; // either 32/64 face or data32 == generic resource |
52 | faceidx number; /* This is the image id. It should be the */ |
57 | faceidx number; /* This is the image id. It should be the */ |
53 | /* same value as its position in the array */ |
58 | /* same value as its position in the array */ |