… | |
… | |
59 | faceinfo () |
59 | faceinfo () |
60 | : number (0), smooth (0), smoothlevel (0), visibility (0), magicmap (0) |
60 | : number (0), smooth (0), smoothlevel (0), visibility (0), magicmap (0) |
61 | { } |
61 | { } |
62 | }; |
62 | }; |
63 | |
63 | |
|
|
64 | inline void |
|
|
65 | object_freezer::put (keyword k, faceinfo *v) |
|
|
66 | { |
|
|
67 | put (k, v ? &v->name : (const char *)0); |
|
|
68 | } |
|
|
69 | |
64 | typedef std::tr1::unordered_map<const char *, int, str_hash, str_equal, slice_allocator< std::pair<const char *const, int> >, true> facehash_t; |
70 | typedef std::tr1::unordered_map<const char *, int, str_hash, str_equal, slice_allocator< std::pair<const char *const, int> >, true> facehash_t; |
65 | |
71 | |
66 | extern facehash_t facehash; |
72 | extern facehash_t facehash; |
67 | extern std::vector<faceinfo> faces; |
73 | extern std::vector<faceinfo> faces; |
68 | |
74 | |