* added mapData->getWidthX/Y
* removed pointless casts
* INVSH_GetFirstShapePosition is now invList_t::getFirstShapePosition