WoWs Model Exported
World of Warships 3D model Exporter
Loading...
Searching...
No Matches
Propeller positions

Functions

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.
 

Data Structures

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...
 

Detailed Description

Propeller shaft positions and geometry paths derived from assets.bin.

Positions come from skeleton extension records (skel_ext, blob 2). The propeller model is found via the ship's compound model record (blob 3).

Function Documentation

◆ wows_assets_bin_get_propellers_pdb()

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

Parameters
pdbOpen PDB handle.
hull_model_pathFull or relative path to the ship's main .model file (as returned by GameParams; used to find the compound record).
hull_geom_pathsArray of full paths to hull .geometry files (used to locate the matching .skel_ext skeletons).
n_geom_pathsNumber of entries in hull_geom_paths.
Returns
Heap-allocated list, or NULL when no propeller data is available. Free with wows_assets_bin_propeller_list_free.

◆ wows_assets_bin_propeller_list_free()

void wows_assets_bin_propeller_list_free ( wows_assets_bin_propeller_list_t list)

Free memory allocated by wows_assets_bin_get_propellers_pdb.

Parameters
listPointer returned by wows_assets_bin_get_propellers_pdb.