0x0046BE51, 0x0046BE34
| 1940 | |
| 1941 | // 0x0046BE51, 0x0046BE34 |
| 1942 | static void drawRectOnMap(Gfx::DrawingContext& drawingCtx, int16_t left, int16_t top, int16_t right, int16_t bottom, uint8_t colour, Gfx::RectFlags flags) |
| 1943 | { |
| 1944 | if (left > right) |
| 1945 | { |
| 1946 | std::swap(left, right); |
| 1947 | } |
| 1948 | |
| 1949 | if (top > bottom) |
| 1950 | { |
| 1951 | std::swap(top, bottom); |
| 1952 | } |
| 1953 | |
| 1954 | drawingCtx.fillRect(left, top, right, bottom, colour, flags); |
| 1955 | } |
| 1956 | |
| 1957 | // 0x0046BE51 |
| 1958 | static void drawViewOnMap(Gfx::DrawingContext& drawingCtx, int16_t left, int16_t top, int16_t right, int16_t bottom) |
no test coverage detected