Skip to content

screenlock

Prototypebool screenlock(bool is_screenlocked[-1])

screenlock() will lock the screen so Dink is unable to walk off of it if is_screenlocked is 1. The sidebars will also be replaced with the screenlock graphics.

Dink
1.08
Freedink
all

is_screenlocked can be set to -1 to return whether or not the screen is currently locked.

Dink
< 1.08

It was possible to walk past hardness on the edge of a screenlocked screen.