| 738 | // triggered locally. They all have very similar structure. |
| 739 | |
| 740 | void editheightxy(bool isfloor, int amount, block &sel) |
| 741 | { |
| 742 | loopselxy(sel, if(isfloor) |
| 743 | { |
| 744 | s->floor += amount; |
| 745 | if(s->floor>=s->ceil) s->floor = s->ceil-1; |
| 746 | } |
| 747 | else |
| 748 | { |
| 749 | s->ceil += amount; |
| 750 | if(s->ceil<=s->floor) s->ceil = s->floor+1; |
| 751 | }); |
| 752 | } |
| 753 | |
| 754 | void editheight(int *flr, int *amount) |
| 755 | { |
no outgoing calls
no test coverage detected