API ReinitIconPositions

From Vendetta Lua
Jump to navigationJump to search

ReinitIconPositions

Definition: ReinitIconPositions(timer icontimer, int ship, userdata viewport, table iconlist, userdata iconcontainer, table ipcache) -> nil
Description:
Setup icons in a viewport
Arguments:
icontimer timer for overlap prevention animation
ship itemid of ship to use
viewport target viewport
iconlist table to portdata to portids
iconcontainer target box
ipcache table that maps icon_positions to ship types that acts as a cache