mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-14 12:47:10 +00:00
ru:: help while paused
This commit is contained in:
@@ -108,6 +108,10 @@ bbox extend(bbox a, int l, int r, int u, int d) {
|
||||
return a;
|
||||
}
|
||||
|
||||
bool contains(bbox a, xy pos) {
|
||||
return pos.x >= a.minx && pos.x < a.maxx && pos.y >= a.miny && pos.y < a.maxy;
|
||||
}
|
||||
|
||||
bbox extend_all(bbox a, int x) { return extend(a, x, x, x, x); }
|
||||
|
||||
bbox get_intersect(bbox a, bbox b) {
|
||||
|
||||
Reference in New Issue
Block a user