bug_report 
The camera behind in-game captures, which develops a reporter's whole view the way photos are developed.
Each capture makes one in nullspace and deletes it after, so two renders at once never share its settings. It never flashes, prints or describes anything, and lighting comes out as it does on photos.
Procs | |
| render_turfs | Develops turfs into one flat icon the size of the view, or returns null when no room could be reserved for it. |
|---|---|
| seen_turfs | Finds the turfs a viewer sees over their whole view, or returns null when there are none. |
Proc Details
render_turfs
Develops turfs into one flat icon the size of the view, or returns null when no room could be reserved for it.
It yields between turfs and atoms, so a big view spreads over ticks. Arguments:
- turfs - the turfs to draw, from seen_turfs()
- center - the turf the view is centered on
- width - tiles across
- height - tiles up
- observing - whether ghosts show, as they do to a ghost
seen_turfs
Finds the turfs a viewer sees over their whole view, or returns null when there are none.
Works like a photo stretched over the view - turfs past walls stay out unless the viewer is a ghost, a camera eye sees only what cameras see, and open space shows the level below. Arguments:
- center - the turf the viewer's eye is on
- width - tiles across, as getviewsize() gives them
- height - tiles up
- observing - whether the viewer is a ghost, who sees past walls
- cameranet - whether the viewer looks through the camera network, like an AI