aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb
diff options
context:
space:
mode:
authorMiroslav Remák2018-08-03 18:57:13 +0200
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commit6ff609c51478c07a00018e57d8149f09d97677e7 (patch)
treef3c6d97c8b757a16206acfad5e2ab0f1ef929c94 /engines/mutationofjb
parent298bfc3d109110b8f4332083b4f9aca850f43eea (diff)
downloadscummvm-rg350-6ff609c51478c07a00018e57d8149f09d97677e7.tar.gz
scummvm-rg350-6ff609c51478c07a00018e57d8149f09d97677e7.tar.bz2
scummvm-rg350-6ff609c51478c07a00018e57d8149f09d97677e7.zip
MUTATIONOFJB: Improve documentation for statics.
Diffstat (limited to 'engines/mutationofjb')
-rw-r--r--engines/mutationofjb/gamedata.h9
1 files 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). */