Link

Outline


get_outline

sfall.h

int get_outline(ObjectPtr obj)

Gets the current outline color for an object.

This is a macro, you need to include sfall.h to use it.


outlined_object

sfall.h

ObjectPtr outlined_object()

Returns an object that is currently highlighted by hovering the mouse above it.

This is a macro, you need to include sfall.h to use it.


set_outline

sfall.h

void set_outline(ObjectPtr obj, int color)

Sets the outline color of an object. 0 means or any value above 0x00FFFFFF disables the outline. Call tile_refresh_display after changing outline of objects to properly redraw the scene.

This is a macro, you need to include sfall.h to use it.