]> git.localhorst.tv Git - l2e.git/blobdiff - test-data/test.l2s
added menu cursor animations
[l2e.git] / test-data / test.l2s
index ed457cacfec0c3de823967d90093f8caf9351d51..24f4bb25eebb741d68960fce76d827768b51a2f6 100644 (file)
@@ -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
@@ -768,6 +784,8 @@ export MenuResources menuResources {
                rowGap: 8,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                disabledFont: menuInactiveFont,
                iconSpace: 16,
@@ -783,6 +801,8 @@ export MenuResources menuResources {
                colGap: 48,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                disabledFont: menuInactiveFont,
                charsPerNumber: 2,
@@ -795,6 +815,8 @@ export MenuResources menuResources {
                rowGap: 8,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont
        },
        equipmentMenu: MenuProperties {
@@ -804,6 +826,8 @@ export MenuResources menuResources {
                rowGap: 16,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: normalFont,
                iconSpace: 16,
                wrapY: true
@@ -819,6 +843,7 @@ export MenuResources menuResources {
                charsPerEntry: 8,
                rowGap: 32,
                cursor: menuCursor,
+               cursorAnimation: menuCursorAnimation,
                font: menuFont,
                wrapY: true
        },
@@ -839,6 +864,7 @@ export MenuResources menuResources {
                charsPerEntry: 14,
                rowGap: 8,
                cursor: menuCursor,
+               cursorAnimation: menuCursorAnimation,
                font: menuFont
        },
        scenarioMenuHeadline: "SCENARIO ITEM",
@@ -852,6 +878,8 @@ export MenuResources menuResources {
                charsPerEntry: 7,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont,
                thirdColumnHack: 2
        },
@@ -862,6 +890,8 @@ export MenuResources menuResources {
                colGap: 32,
                cursor: menuCursor,
                selectedCursor: menuActiveCursor,
+               cursorAnimation: menuCursorAnimation,
+               selectedCursorAnimation: menuActiveCursorAnimation,
                font: menuFont
        },
        capsuleFeedLabel: "FEED",