static SCUMM_VERBCOIN_GUI.Inventory_GUI(int gInventory_ID,int gInvUnderlay_ID)
Sets the inventory gui ID's, so the module will know which GUI is your
inventory and which GUI is the inventory underlay.
This allows you to change your inventory GUI's on the fly, which is particularly
interesting if you have a game with multiple playable characters. You could have
a different inventory for each character!
If the game is 32-bit with alpha-blended (transparent) GUI buttons on the
inventory, you need to use an Underlay gui which contains the actual inventory
background, and the regular gui which is empty except for the inventory window
and the gui buttons.
If your game does not use alpha-blended GUI buttons, leave the underlay inventory
empty. (use sprite 0 for its background)
NOTE: This function is part of the Verb Coin template and is only available if
you used this template to create your game.
Example:
SCUMM_VERBCOIN_GUI.Inventory_GUI(2, 3);
will tell the module your inventory gui is GUI nr.2 and that the underlay gui is GUI nr.3
|