OpenClonk
material-handle.h
Go to the documentation of this file.
1
/*
2
* mape - C4 Landscape.txt editor
3
*
4
* Copyright (c) 2005-2009, Armin Burgmeier
5
*
6
* Distributed under the terms of the ISC license; see accompanying file
7
* "COPYING" for details.
8
*
9
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
10
* See accompanying file "TRADEMARK" for details.
11
*
12
* To redistribute this file separately, substitute the full license texts
13
* for the above references.
14
*/
15
16
#ifndef INC_MAPE_C4_MATERIAL_HANDLE_H
17
#define INC_MAPE_C4_MATERIAL_HANDLE_H
18
19
#include <glib.h>
20
21
#include "
mape/cpp-handles/group-handle.h
"
22
#include "
mape/cpp-handles/texture-handle.h
"
23
24
G_BEGIN_DECLS
25
26
typedef
struct
_C4MaterialHandle
C4MaterialHandle
;
27
typedef
struct
_C4MaterialMapHandle
C4MaterialMapHandle
;
28
29
C4MaterialMapHandle
*
c4_material_map_handle_new
(
void
);
30
void
c4_material_map_handle_free
(
C4MaterialMapHandle
* material_map);
31
32
guint
c4_material_map_handle_load
(
C4MaterialMapHandle
* material_map,
C4GroupHandle
* group);
33
void
c4_material_map_crossmap_materials
(
C4MaterialMapHandle
* material_map,
C4TextureMapHandle
* texture_map);
34
35
guint
c4_material_map_handle_get_num
(
C4MaterialMapHandle
* material_map);
36
C4MaterialHandle
*
c4_material_map_handle_get_material
(
C4MaterialMapHandle
* material_map, guint index);
37
38
const
gchar*
c4_material_handle_get_name
(
C4MaterialHandle
* material);
39
const
gchar*
c4_material_handle_get_texture_overlay
(
C4MaterialHandle
* material);
40
41
G_END_DECLS
42
43
#endif
/* INC_MAPE_C4_MATERIAL_HANDLE_H */
group-handle.h
C4GroupHandle
typedefG_BEGIN_DECLS struct _C4GroupHandle C4GroupHandle
Definition:
group-handle.h:23
c4_material_handle_get_texture_overlay
const gchar * c4_material_handle_get_texture_overlay(C4MaterialHandle *material)
Definition:
material-handle.cpp:89
C4MaterialHandle
typedefG_BEGIN_DECLS struct _C4MaterialHandle C4MaterialHandle
Definition:
material-handle.h:26
c4_material_map_crossmap_materials
void c4_material_map_crossmap_materials(C4MaterialMapHandle *material_map, C4TextureMapHandle *texture_map)
Definition:
material-handle.cpp:55
c4_material_map_handle_new
C4MaterialMapHandle * c4_material_map_handle_new(void)
Definition:
material-handle.cpp:34
c4_material_map_handle_get_material
C4MaterialHandle * c4_material_map_handle_get_material(C4MaterialMapHandle *material_map, guint index)
Definition:
material-handle.cpp:79
c4_material_map_handle_free
void c4_material_map_handle_free(C4MaterialMapHandle *material_map)
Definition:
material-handle.cpp:45
c4_material_map_handle_get_num
guint c4_material_map_handle_get_num(C4MaterialMapHandle *material_map)
Definition:
material-handle.cpp:74
C4MaterialMapHandle
struct _C4MaterialMapHandle C4MaterialMapHandle
Definition:
material-handle.h:27
c4_material_handle_get_name
const gchar * c4_material_handle_get_name(C4MaterialHandle *material)
Definition:
material-handle.cpp:85
c4_material_map_handle_load
guint c4_material_map_handle_load(C4MaterialMapHandle *material_map, C4GroupHandle *group)
Definition:
material-handle.cpp:50
texture-handle.h
C4TextureMapHandle
typedefG_BEGIN_DECLS struct _C4TextureMapHandle C4TextureMapHandle
Definition:
texture-handle.h:25
openclonk
src
mape
cpp-handles
material-handle.h
Generated on Fri May 16 2025 04:33:19 for OpenClonk by
1.9.1