From 6ff609c51478c07a00018e57d8149f09d97677e7 Mon Sep 17 00:00:00 2001 From: Miroslav Remák Date: Fri, 3 Aug 2018 18:57:13 +0200 Subject: MUTATIONOFJB: Improve documentation for statics. --- engines/mutationofjb/gamedata.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/engines/mutationofjb/gamedata.h b/engines/mutationofjb/gamedata.h index 47272c670f..fc755f7179 100644 --- a/engines/mutationofjb/gamedata.h +++ b/engines/mutationofjb/gamedata.h @@ -164,7 +164,7 @@ struct Object { }; /** - * An interactable area without a visual representation. + * An interactable area, usually without a visual representation. */ struct Static { /** Whether you can mouse over and interact with the static (AC register). */ @@ -175,9 +175,14 @@ struct Static { * If it starts with '~', the static has an implicit "pickup" action that adds * an item with the same name (except '`' replaces '~') to your inventory and * disables the static. If there is a matching scripted "pickup" action, it - * overrides the implicit action. + * overrides the implicit action. This kind of static also has graphics in the + * form of its rectangle extracted from room frame 2 (and 3 after pickup). + * + * If it ends with '[', the "use" action allows combining the static with another + * entity. * * TODO: Support '~' statics. + * TODO: Support combinable statics. */ char _name[MAX_ENTITY_NAME_LENGTH + 1]; /** X coordinate of the static rectangle (XX register). */ -- cgit v1.2.3