view_data
Container for client viewsize
Vars | |
chief | The client that owns this view packet |
---|---|
default | This client's current "default" view, in the format "WidthxHeight" We add/remove from this when we want to change their window size |
height | Height offset to apply to the default view string, see above |
is_suppressed | If the view is currently being suppressed by some other "monitor" For when you want to own the client's eye without fucking with their viewport Doesn't make sense for a binocoler to effect your view in a camera console |
width | Width offset to apply to the default view string if we're not suppressed for some reason |
zoom | This client's current zoom level, if it's not being suppressed If it's 0, we autoscale to the size of the window. Otherwise it's treated as the ratio between the pixels on the map and output pixels. Only looks proper nice in increments of whole numbers (iirc) Stored here so other parts of the code have a non blocking way of getting a user's functional zoom |
Var Details
chief
The client that owns this view packet
default
This client's current "default" view, in the format "WidthxHeight" We add/remove from this when we want to change their window size
height
Height offset to apply to the default view string, see above
is_suppressed
If the view is currently being suppressed by some other "monitor" For when you want to own the client's eye without fucking with their viewport Doesn't make sense for a binocoler to effect your view in a camera console
width
Width offset to apply to the default view string if we're not suppressed for some reason
zoom
This client's current zoom level, if it's not being suppressed If it's 0, we autoscale to the size of the window. Otherwise it's treated as the ratio between the pixels on the map and output pixels. Only looks proper nice in increments of whole numbers (iirc) Stored here so other parts of the code have a non blocking way of getting a user's functional zoom