Project Alice
Loading...
Searching...
No Matches
xac.hpp File Reference
#include <stdint.h>
#include <stddef.h>
#include <string>
#include <vector>
#include "parsers.hpp"
Include dependency graph for xac.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  emfx
 

Enumerations

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

Functions

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