COMMON: Change Rect and Point to have int32 fields

This commit is contained in:
Paul Gilbert 2021-06-28 20:38:20 -07:00
parent 526a898454
commit 1c3e7fb4e9
53 changed files with 152 additions and 144 deletions

View file

@ -643,7 +643,7 @@ BoxCoords ScummEngine::getBoxCoordinates(int boxnum) {
return *box;
}
int getClosestPtOnBox(const BoxCoords &box, int x, int y, int16& outX, int16& outY) {
int getClosestPtOnBox(const BoxCoords &box, int x, int y, int32 &outX, int32 &outY) {
const Common::Point p(x, y);
Common::Point tmp;
uint dist;