]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Menu.cpp
made third column hack of menus configurable
[l2e.git] / src / graphics / Menu.cpp
index 6527e3e2c7325a8ed8baa087a270b87af1bcee4a..1b81f85a2d731ec7e88c4ed4a1be4926f8f8a0d9 100644 (file)
@@ -32,6 +32,7 @@ void MenuProperties::CreateTypeDescription() {
        td.AddField("additionalTextGap", FieldDescription(((char *)&p.additionalTextGap) - ((char *)&p), Interpreter::NUMBER_ID).SetDescription("space between normal and additional text in pixels"));
        td.AddField("wrapX", FieldDescription(((char *)&p.wrapX) - ((char *)&p), Interpreter::BOOLEAN_ID).SetDescription("horizontally wrap cursor movement"));
        td.AddField("wrapY", FieldDescription(((char *)&p.wrapY) - ((char *)&p), Interpreter::BOOLEAN_ID).SetDescription("vertically wrap cursor movement"));
+       td.AddField("thirdColumnHack", FieldDescription(((char *)&p.thirdColumnHack) - ((char *)&p), Interpreter::NUMBER_ID).SetDescription("offset the third column by this many characters"));
 }
 
 void MenuProperties::Construct(void *data) {