Function InitMapRects
- Line
- 10281
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- nothing
- Returns
- nothing
| 10281 | function InitMapRects takes nothing returns nothing |
| 10282 | set bj_mapInitialPlayableArea = Rect(GetCameraBoundMinX()-GetCameraMargin(CAMERA_MARGIN_LEFT), GetCameraBoundMinY()-GetCameraMargin(CAMERA_MARGIN_BOTTOM), GetCameraBoundMaxX()+GetCameraMargin(CAMERA_MARGIN_RIGHT), GetCameraBoundMaxY()+GetCameraMargin(CAMERA_MARGIN_TOP)) |
| 10283 | set bj_mapInitialCameraBounds = GetCurrentCameraBoundsMapRectBJ() |
| 10284 | endfunction
|