CheckFreeSpace

CheckFreeSpace
int CheckFreeSpace( int x, int y, int Window )

Function is located within Inventory/script/INV_Funcs.dh

Parameters:

 * X/Y - integer coordinates of the array position
 * Window - integer pointer to the Window pointer

Description:
Called by HighlightArea.

Checks which index the selected coordinates contains and compares against the cursor.

Returns:
 * INV_FREE - 0-1 items are blocking the checked area.
 * INV_BLOCKED - >1 items are blocking.
 * INV_STACK - There is a compatible stack in the area.