WoWs Model Exported
World of Warships 3D model Exporter
Loading...
Searching...
No Matches
One-shot helpers

Functions

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.
 

Detailed Description

Convenience wrappers that open the PDB internally for a single query. Use the PDB-handle API instead when making multiple queries on the same file.

Function Documentation

◆ wows_assets_bin_bb_list_free()

void wows_assets_bin_bb_list_free ( wows_assets_bin_bb_list_t list)

Free memory allocated by wows_assets_bin_get_blendbone_corrections.

Parameters
listList to free.

◆ wows_assets_bin_get_blendbone_corrections()

wows_assets_bin_bb_list_t * wows_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.

Parameters
pathFilesystem path to assets.bin.
model_pathsArray of model path strings to look up.
n_pathsLength of model_paths.
Returns
Heap-allocated list, or NULL on failure. Free with wows_assets_bin_bb_list_free.

◆ wows_assets_bin_get_hp_transforms()

wows_assets_bin_hp_list_t * wows_assets_bin_get_hp_transforms ( const char *  path,
const char *  visual_suffix 
)

Extract hardpoint transforms for a visual, opening the PDB internally.

Parameters
pathFilesystem path to assets.bin.
visual_suffixSuffix path of the target visual resource.
Returns
Heap-allocated list, or NULL on failure. Free with wows_assets_bin_hp_list_free.

◆ wows_assets_bin_hp_list_free()

void wows_assets_bin_hp_list_free ( wows_assets_bin_hp_list_t list)

Free memory allocated by wows_assets_bin_get_hp_transforms.

Parameters
listList to free.