This PR replaces GetLocationFromPosition() with a generic version that will work on any map, using the game's internal list of rooms and their boundaries to determine the room a co-ordinate is in (or the nearest room, if they're not in one of the rooms).
Because it uses the actual boundaries of the rooms, it should also be more accurate than the original implementation. If a player is not in a room, but in a hallway, it will return "a hallway near Electrical", for example. On Polus, "outside near Electrical", etc. is also used.
This PR replaces GetLocationFromPosition() with a generic version that will work on any map, using the game's internal list of rooms and their boundaries to determine the room a co-ordinate is in (or the nearest room, if they're not in one of the rooms).
Because it uses the actual boundaries of the rooms, it should also be more accurate than the original implementation. If a player is not in a room, but in a hallway, it will return "a hallway near Electrical", for example. On Polus, "outside near Electrical", etc. is also used.
This partially addresses Issue #6.