Returns true if the specified room & face are valid
| 695 | } |
| 696 | // Returns true if the specified room & face are valid |
| 697 | bool VALIDATE_ROOM_FACE(int roomnum, int facenum) { |
| 698 | |
| 699 | bool valid = ((roomnum >= 0) && (roomnum <= Highest_room_index) && (Rooms[roomnum].used) && (facenum >= 0) && |
| 700 | (facenum < Rooms[roomnum].num_faces)); |
| 701 | if (!valid) |
| 702 | Int3(); |
| 703 | return valid; |
| 704 | } |
| 705 | // Returns true if the specified room & portal are valid |
| 706 | bool VALIDATE_ROOM_PORTAL(int roomnum, int portalnum) { |
| 707 |
no outgoing calls
no test coverage detected