Go to the source code of this file.
Typedefs | |
| typedef typedefG_BEGIN_DECLS struct _C4TextureMapHandle | C4TextureMapHandle |
Functions | |
| C4TextureMapHandle * | c4_texture_map_handle_new (void) |
| void | c4_texture_map_handle_free (C4TextureMapHandle *texture_map) |
| guint | c4_texture_map_handle_load_map (C4TextureMapHandle *texture_map, C4GroupHandle *group, const char *entry_name, gboolean *overload_materials, gboolean *overload_textures) |
| gboolean | c4_texture_map_handle_add_texture (C4TextureMapHandle *texture_map, const char *texture, guint32 avg_color) |
| const char * | c4_texture_map_handle_get_texture (C4TextureMapHandle *texture_map, guint index) |
| const char * | c4_texture_handle_get_entry_material_name (C4TextureMapHandle *texture_map, guint index) |
| const char * | c4_texture_handle_get_entry_texture_name (C4TextureMapHandle *texture_map, guint index) |
| guint32 | c4_texture_handle_get_average_texture_color (C4TextureMapHandle *texture_map, const char *name) |
| typedef typedefG_BEGIN_DECLS struct _C4TextureMapHandle C4TextureMapHandle |
Definition at line 23 of file texture-handle.h.
| guint32 c4_texture_handle_get_average_texture_color | ( | C4TextureMapHandle * | texture_map, |
| const char * | name | ||
| ) |
Definition at line 68 of file texture-handle.cpp.
References HANDLE_TO_TEXTURE_MAP.
Referenced by mape_texture_map_get_average_texture_color().
| const char* c4_texture_handle_get_entry_material_name | ( | C4TextureMapHandle * | texture_map, |
| guint | index | ||
| ) |
Definition at line 73 of file texture-handle.cpp.
References C4TexMapEntry::GetMaterialName(), and HANDLE_TO_TEXTURE_MAP.
Referenced by mape_texture_map_get_material_name_from_mapping().
| const char* c4_texture_handle_get_entry_texture_name | ( | C4TextureMapHandle * | texture_map, |
| guint | index | ||
| ) |
Definition at line 80 of file texture-handle.cpp.
References C4TexMapEntry::GetTextureName(), and HANDLE_TO_TEXTURE_MAP.
Referenced by mape_texture_map_get_texture_name_from_mapping().
| gboolean c4_texture_map_handle_add_texture | ( | C4TextureMapHandle * | texture_map, |
| const char * | texture, | ||
| guint32 | avg_color | ||
| ) |
Definition at line 55 of file texture-handle.cpp.
References HANDLE_TO_TEXTURE_MAP.
Referenced by mape_texture_map_load_textures().
| void c4_texture_map_handle_free | ( | C4TextureMapHandle * | texture_map | ) |
Definition at line 40 of file texture-handle.cpp.
| const char* c4_texture_map_handle_get_texture | ( | C4TextureMapHandle * | texture_map, |
| guint | index | ||
| ) |
Definition at line 63 of file texture-handle.cpp.
References HANDLE_TO_TEXTURE_MAP.
Referenced by mape_texture_map_get_texture_name().
| guint c4_texture_map_handle_load_map | ( | C4TextureMapHandle * | texture_map, |
| C4GroupHandle * | group, | ||
| const char * | entry_name, | ||
| gboolean * | overload_materials, | ||
| gboolean * | overload_textures | ||
| ) |
Definition at line 45 of file texture-handle.cpp.
References HANDLE_TO_GROUP, and HANDLE_TO_TEXTURE_MAP.
Referenced by mape_texture_map_load_map().
| C4TextureMapHandle* c4_texture_map_handle_new | ( | void | ) |
Definition at line 28 of file texture-handle.cpp.
References C4TextureMap::Clear(), C4TextureMap::Init(), TEXTURE_MAP_TO_HANDLE, and TextureMap.