Surfaces in NTT

surface_destroy(surf)​

Alias for surface_free.

surface_destroy_soft(surf)​

Like regular surface_destroy, but does not throw an error if you try to destroy a non-existing surface.

This is what "legacy" mods use instead of surface_destroy.

surface_valid(surf)​

Same thing as with data structure checkers.

surface_exists(surf)​

Alias for above.


surface_screenshot(dest)

Takes a screenshot to a surface.

Constants: