WoWs Model Exported
World of Warships 3D model Exporter
Loading...
Searching...
No Matches
wows-assets-bin.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

wows_assets_bin_pdb_twows_assets_bin_pdb_open (const char *path)
 Open and parse an assets.bin file.
 
wows_assets_bin_pdb_twows_assets_bin_pdb_open_memory (const uint8_t *data, size_t size)
 Open and parse assets.bin from a memory buffer (contents are copied).
 
void wows_assets_bin_pdb_free (wows_assets_bin_pdb_t *pdb)
 Close an assets.bin handle and release all associated memory.
 
wows_assets_bin_hp_list_twows_assets_bin_get_hp_transforms_pdb (wows_assets_bin_pdb_t *pdb, const char *visual_suffix)
 Like wows_assets_bin_get_hp_transforms but uses an already-open PDB handle.
 
wows_assets_bin_bb_list_twows_assets_bin_get_blendbone_corrections_pdb (wows_assets_bin_pdb_t *pdb, const char **model_paths, size_t n_paths)
 Like wows_assets_bin_get_blendbone_corrections but uses an already-open PDB handle.
 
wows_assets_bin_visual_info_twows_assets_bin_get_visual_info (wows_assets_bin_pdb_t *pdb, const char *visual_suffix)
 Query render-set and LOD information for a .visual resource.
 
void wows_assets_bin_visual_info_free (wows_assets_bin_visual_info_t *info)
 Free memory allocated by wows_assets_bin_get_visual_info.
 
wows_assets_bin_propeller_list_twows_assets_bin_get_propellers_pdb (wows_assets_bin_pdb_t *pdb, const char *hull_model_path, const char **hull_geom_paths, size_t n_geom_paths)
 Query propeller geometry and shaft positions from an open PDB handle.
 
void wows_assets_bin_propeller_list_free (wows_assets_bin_propeller_list_t *list)
 Free memory allocated by wows_assets_bin_get_propellers_pdb.
 
wows_assets_bin_hp_list_twows_assets_bin_get_hp_transforms (const char *path, const char *visual_suffix)
 Extract hardpoint transforms for a visual, opening the PDB internally.
 
void wows_assets_bin_hp_list_free (wows_assets_bin_hp_list_t *list)
 Free memory allocated by wows_assets_bin_get_hp_transforms.
 
wows_assets_bin_bb_list_twows_assets_bin_get_blendbone_corrections (const char *path, const char **model_paths, size_t n_paths)
 Extract BlendBone correction matrices for a set of model paths.
 
void wows_assets_bin_bb_list_free (wows_assets_bin_bb_list_t *list)
 Free memory allocated by wows_assets_bin_get_blendbone_corrections.
 

Data Structures

struct  wows_assets_bin_hp_t
 A single hardpoint transform entry. More...
 
struct  wows_assets_bin_hp_list_t
 List of all hardpoint transforms for one visual. More...
 
struct  wows_assets_bin_bb_t
 A single BlendBone correction entry. More...
 
struct  wows_assets_bin_bb_list_t
 List of BlendBone corrections for a set of model paths. More...
 
struct  wows_assets_bin_rs_t
 One render-set entry within a visual. More...
 
struct  wows_assets_bin_lod_t
 List of draw-call IDs belonging to one LOD level. More...
 
struct  wows_assets_bin_visual_info_t
 Complete render-set and LOD description for a visual resource. More...
 
struct  wows_assets_bin_propeller_t
 One propeller placement entry. More...
 
struct  wows_assets_bin_propeller_list_t
 List of propeller placements for a ship. More...
 

Typedefs

typedef struct wows_assets_bin_pdb_s wows_assets_bin_pdb_t
 Opaque handle to an open assets.bin database.