X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=test-data%2Ftest.l2s;h=24f4bb25eebb741d68960fce76d827768b51a2f6;hb=ec824200aec12d6870b70304bcd2e2aeadba767b;hp=2ea517ac9e514e95e14550a07a4f18930a51e72c;hpb=7f0a586b8238c7093a8942ff5b5c4122edd386fc;p=l2e.git diff --git a/test-data/test.l2s b/test-data/test.l2s index 2ea517a..24f4bb2 100644 --- a/test-data/test.l2s +++ b/test-data/test.l2s @@ -672,6 +672,18 @@ Sprite menuActiveCursor { image: :"menu-cursor-active.png", size: <32, 18> } +SimpleAnimation menuCursorAnimation { + sprite: menuCursor, + frametime: fourFramesTime, + framecount: 6, + repeat: true +} +SimpleAnimation menuActiveCursorAnimation { + sprite: menuActiveCursor, + frametime: fourFramesTime, + framecount: 5, + repeat: true +} export MenuResources menuResources { menubg: Texture { @@ -697,6 +709,7 @@ export MenuResources menuResources { rowGap: 8, colGap: 32, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont, disabledFont: menuInactiveFont, wrapX: true, @@ -740,6 +753,7 @@ export MenuResources menuResources { charsPerEntry: 6, colGap: 16, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont, wrapX: true }, @@ -753,6 +767,8 @@ export MenuResources menuResources { colGap: 16, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, wrapX: true, wrapY: true @@ -760,6 +776,7 @@ export MenuResources menuResources { itemMenuUseText: "USE", itemMenuSortText: "SORT", itemMenuDropText: "DROP", + itemMenuSelectText: "SELECT", inventoryMenu: MenuProperties { cols: 1, rows: 6, @@ -767,6 +784,8 @@ export MenuResources menuResources { rowGap: 8, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, disabledFont: menuInactiveFont, iconSpace: 16, @@ -782,6 +801,8 @@ export MenuResources menuResources { colGap: 48, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, disabledFont: menuInactiveFont, charsPerNumber: 2, @@ -794,6 +815,8 @@ export MenuResources menuResources { rowGap: 8, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont }, equipmentMenu: MenuProperties { @@ -803,6 +826,8 @@ export MenuResources menuResources { rowGap: 16, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: normalFont, iconSpace: 16, wrapY: true @@ -818,6 +843,7 @@ export MenuResources menuResources { charsPerEntry: 8, rowGap: 32, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont, wrapY: true }, @@ -838,6 +864,7 @@ export MenuResources menuResources { charsPerEntry: 14, rowGap: 8, cursor: menuCursor, + cursorAnimation: menuCursorAnimation, font: menuFont }, scenarioMenuHeadline: "SCENARIO ITEM", @@ -851,9 +878,22 @@ export MenuResources menuResources { charsPerEntry: 7, cursor: menuCursor, selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, font: menuFont, thirdColumnHack: 2 }, + capsuleFeedMenu: MenuProperties { + cols: 2, + rows: 1, + charsPerEntry: 7, + colGap: 32, + cursor: menuCursor, + selectedCursor: menuActiveCursor, + cursorAnimation: menuCursorAnimation, + selectedCursorAnimation: menuActiveCursorAnimation, + font: menuFont + }, capsuleFeedLabel: "FEED", capsuleChangeLabel: "CHANGE", capsuleNameLabel: "NAME", @@ -863,5 +903,89 @@ export MenuResources menuResources { capsuleAttack1Label: "SP.1", capsuleAttack2Label: "SP.2", capsuleAttack3Label: "SP.3", - capsuleNoAttackText: "Nothing" + capsuleNoAttackText: "Nothing", + capsuleNotHungryText: "I'm not hungry.", + capsuleNameSelect: CharSelect { + font: menuFont, + cursor: Sprite { + image: :"alpha-cursor.png", + size: <20, 28> + }, + chars: "0123456789ABCDEabcdeFGHIJfghijKLMNOklmnoPQRSTpqrstUVWXYuvwxyZ!? z!? ", + width: 10, + groupX: 5 + }, + capsuleSelectTopLeft: Sprite { + image: :"capsule-sprites.png", + size: <32, 8>, + offset: <64, 0> + }, + capsuleSelectTopRight: Sprite { + image: :"capsule-sprites.png", + size: <32, 8>, + offset: <128, 0> + }, + capsuleSelectTopRepeat: Texture { + image: :"capsule-sprites.png", + size: <32, 8>, + offset: <96, 0> + }, + capsuleSelectBottomLeft: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <0, 32> + }, + capsuleSelectBottomRight: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <128, 64> + }, + capsuleSelectBottomRepeat: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <0, 64> + }, + capsuleSelectLeftRepeat: Texture { + image: :"capsule-sprites.png", + size: <32, 32> + }, + capsuleSelectRightRepeat: Texture { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <128, 32> + }, + capsuleSelectLadder: Sprite { + image: :"capsule-sprites.png", + size: <32, 24>, + offset: <64, 8> + }, + capsuleSelectCursor: Sprite { + image: :"capsule-sprites.png", + size: <32, 24>, + offset: <128, 8> + }, + capsuleAlignmentWheel: Sprite { + image: :"capsule-sprites.png", + size: <128, 128>, + offset: <0, 128> + }, + capsuleAlignmentCursor: Sprite { + image: :"capsule-sprites.png", + size: <32, 32>, + offset: <128, 128> + }, + capsuleGrowthLabel: Sprite { + image: :"capsule-feed.png", + size: <32, 10> + }, + capsuleGrowthBar: Sprite { + image: :"capsule-feed.png", + size: <8, 10>, + offset: <8, 10> + }, + capsuleGrowthBarFilled: Sprite { + image: :"capsule-feed.png", + size: <8, 10>, + offset: <0, 10> + } }