Project Alice
Loading...
Searching...
No Matches
emfx Namespace Reference

Classes

struct  xac_chunk_header
 
struct  xac_color_rgb
 
struct  xac_color_rgba
 
struct  xac_context
 
struct  xac_header
 
struct  xac_mat4x4
 
struct  xac_material_block_v1_chunk_header
 
struct  xac_material_layer_v2_header
 
struct  xac_material_v2_chunk_header
 
struct  xac_mesh_v1_chunk_header
 
struct  xac_metadata_chunk_header
 
struct  xac_node_hierachy_v1_chunk_header
 
struct  xac_node_hierachy_v1_node_header
 
struct  xac_pp_actor_material
 
struct  xac_pp_actor_material_layer
 
struct  xac_pp_actor_mesh
 
struct  xac_pp_actor_node
 
struct  xac_pp_actor_submesh
 
struct  xac_pp_bone_influence
 
struct  xac_skinning_v3_chunk_header
 
struct  xac_skinning_v3_influence_entry
 
struct  xac_skinning_v3_influence_range
 
struct  xac_submesh_v1_header
 
struct  xac_vector2f
 
struct  xac_vector3f
 
struct  xac_vector4f
 
struct  xac_vertex_block_v1_header
 

Enumerations

enum class  xac_chunk_type : uint32_t {
  unknown_0 = 0 , mesh = 1 , skinning = 2 , material_3 = 3 ,
  unknown_4 = 4 , material = 5 , metadata = 7 , node_hierachy = 11 ,
  material_block = 13 , count
}
 
enum class  xac_pp_material_map_type : uint8_t { none = 0 , diffuse = 2 , specular = 3 }
 
enum class  xac_vertex_block_v1_type : uint32_t {
  vertex = 0 , normal = 1 , weight = 2 , texcoord = 3 ,
  color32 = 4 , influence_indices = 5 , color128 = 6 , count
}
 

Functions

const char * parse_xac_cstring (const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_cstring_nodiscard (std::string &out, const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_metadata_v2 (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_material_block_v1 (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_material_v2 (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_node_hierachy_v1 (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_mesh_v1 (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
const char * parse_xac_skinning_v3 (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
void parse_xac (xac_context &context, const char *start, const char *end, parsers::error_handler &err)
 
void finish (xac_context &context)
 
template<typename T >
parse_xac_any_binary (const char **start, const char *end, parsers::error_handler &err)
 

Enumeration Type Documentation

◆ xac_chunk_type

enum class emfx::xac_chunk_type : uint32_t
strong
Enumerator
unknown_0 
mesh 
skinning 
material_3 
unknown_4 
material 
metadata 
node_hierachy 
material_block 
count 

Definition at line 10 of file xac.hpp.

◆ xac_pp_material_map_type

Enumerator
none 
diffuse 
specular 

Definition at line 88 of file xac.hpp.

◆ xac_vertex_block_v1_type

Enumerator
vertex 
normal 
weight 
texcoord 
color32 
influence_indices 
color128 
count 

Definition at line 219 of file xac.hpp.

Function Documentation

◆ finish()

void emfx::finish ( xac_context context)

Definition at line 670 of file xac.cpp.

Here is the caller graph for this function:

◆ parse_xac()

void emfx::parse_xac ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 579 of file xac.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_xac_any_binary()

template<typename T >
T emfx::parse_xac_any_binary ( const char **  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 128 of file xac.hpp.

◆ parse_xac_cstring()

const char * emfx::parse_xac_cstring ( const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 265 of file xac.cpp.

Here is the caller graph for this function:

◆ parse_xac_cstring_nodiscard()

const char * emfx::parse_xac_cstring_nodiscard ( std::string &  out,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 270 of file xac.cpp.

Here is the caller graph for this function:

◆ parse_xac_material_block_v1()

const char * emfx::parse_xac_material_block_v1 ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 299 of file xac.cpp.

Here is the caller graph for this function:

◆ parse_xac_material_v2()

const char * emfx::parse_xac_material_v2 ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 309 of file xac.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_xac_mesh_v1()

const char * emfx::parse_xac_mesh_v1 ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 394 of file xac.cpp.

Here is the caller graph for this function:

◆ parse_xac_metadata_v2()

const char * emfx::parse_xac_metadata_v2 ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 278 of file xac.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_xac_node_hierachy_v1()

const char * emfx::parse_xac_node_hierachy_v1 ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 356 of file xac.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_xac_skinning_v3()

const char * emfx::parse_xac_skinning_v3 ( xac_context context,
const char *  start,
const char *  end,
parsers::error_handler err 
)

Definition at line 520 of file xac.cpp.

Here is the caller graph for this function: