|
35 | 35 | { "include": "#CommandButton-Class" }, |
36 | 36 | { "include": "#FXList-Class" }, |
37 | 37 | { "include": "#ObjectCreationList-Class" }, |
38 | | - { "include": "#DamageFX-Class" } |
| 38 | + { "include": "#DamageFX-Class" }, |
| 39 | + { "include": "#MouseCursor-Class" }, |
| 40 | + { "include": "#Mouse-Class" }, |
| 41 | + { "include": "#InGameUI-Class" } |
| 42 | + ] |
| 43 | + }, |
| 44 | + "InGameUI-Class": { |
| 45 | + "begin": "(^[ \\t]+)?([Ii]n[Gg]ame[Uu][Ii])", |
| 46 | + "beginCaptures": { |
| 47 | + "1": { |
| 48 | + "name": "punctuation.whitespace.ini" |
| 49 | + }, |
| 50 | + "2": { |
| 51 | + "name": "keyword.control.ini" |
| 52 | + } |
| 53 | + }, |
| 54 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 55 | + "endCaptures": { |
| 56 | + "1": { |
| 57 | + "name": "punctuation.whitespace.ini" |
| 58 | + }, |
| 59 | + "2": { |
| 60 | + "name": "keyword.control.ini" |
| 61 | + } |
| 62 | + }, |
| 63 | + "patterns": [ |
| 64 | + { |
| 65 | + "include": "#Inline-Comment" |
| 66 | + }, |
| 67 | + { |
| 68 | + "include": "#General-Assignment" |
| 69 | + }, |
| 70 | + { |
| 71 | + "include": "#Invalid-Assignment" |
| 72 | + } |
| 73 | + ] |
| 74 | + }, |
| 75 | + "Mouse-Class": { |
| 76 | + "begin": "(^[ \\t]+)?\\b([Mm]ouse)\\b", |
| 77 | + "beginCaptures": { |
| 78 | + "1": { |
| 79 | + "name": "punctuation.whitespace.ini" |
| 80 | + }, |
| 81 | + "2": { |
| 82 | + "name": "keyword.control.ini" |
| 83 | + } |
| 84 | + }, |
| 85 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 86 | + "endCaptures": { |
| 87 | + "1": { |
| 88 | + "name": "punctuation.whitespace.ini" |
| 89 | + }, |
| 90 | + "2": { |
| 91 | + "name": "keyword.control.ini" |
| 92 | + } |
| 93 | + }, |
| 94 | + "patterns": [ |
| 95 | + { |
| 96 | + "include": "#Inline-Comment" |
| 97 | + }, |
| 98 | + { |
| 99 | + "include": "#General-Assignment" |
| 100 | + }, |
| 101 | + { |
| 102 | + "include": "#Invalid-Assignemnt" |
| 103 | + } |
| 104 | + ] |
| 105 | + }, |
| 106 | + "MouseCursor-Class": { |
| 107 | + "begin": "(^[ \\t]+)?\\b([Mm]ouse[Cc]ursor)\\b[ \\t]+([a-zA-Z_][\\w%]*)", |
| 108 | + "beginCaptures": { |
| 109 | + "1": { |
| 110 | + "name": "punctuation.whitespace.ini" |
| 111 | + }, |
| 112 | + "2": { |
| 113 | + "name": "keyword.control.ini" |
| 114 | + }, |
| 115 | + "3": { |
| 116 | + "name": "entity.name.type.class.ini" |
| 117 | + } |
| 118 | + }, |
| 119 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 120 | + "endCaptures": { |
| 121 | + "1": { |
| 122 | + "name": "punctuation.whitespace.ini" |
| 123 | + }, |
| 124 | + "2": { |
| 125 | + "name": "keyword.control.ini" |
| 126 | + } |
| 127 | + }, |
| 128 | + "patterns": [ |
| 129 | + { |
| 130 | + "include": "#Inline-Comment" |
| 131 | + }, |
| 132 | + { |
| 133 | + "include": "#General-Assignment" |
| 134 | + }, |
| 135 | + { |
| 136 | + "include": "#Invalid-Assignemnt" |
| 137 | + } |
39 | 138 | ] |
40 | 139 | }, |
41 | 140 | "DamageFX-Class": { |
|
1569 | 1668 | { |
1570 | 1669 | "include": "#Object-AddModule" |
1571 | 1670 | }, |
| 1671 | + { |
| 1672 | + "include": "#Object-ReplaceModule" |
| 1673 | + }, |
1572 | 1674 | { |
1573 | 1675 | "include": "#Object-RemoveModule" |
1574 | 1676 | }, |
|
1589 | 1691 | } |
1590 | 1692 | ] |
1591 | 1693 | }, |
| 1694 | + "Object-ReplaceModule": { |
| 1695 | + "begin": "(^[ \\t]+)?([Rr]eplace[Mm]odule)[ \\t]+([a-zA-Z_0-9][\\w%]*)", |
| 1696 | + "beginCaptures": { |
| 1697 | + "1": { |
| 1698 | + "name": "punctuation.whitespace.ini" |
| 1699 | + }, |
| 1700 | + "2": { |
| 1701 | + "name": "keyword.control.ini" |
| 1702 | + }, |
| 1703 | + "3": { |
| 1704 | + "name": "entity.name.type.class.ini" |
| 1705 | + } |
| 1706 | + }, |
| 1707 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 1708 | + "endCaptures": { |
| 1709 | + "1": { |
| 1710 | + "name": "punctuation.whitespace.ini" |
| 1711 | + }, |
| 1712 | + "2": { |
| 1713 | + "name": "keyword.control.ini" |
| 1714 | + } |
| 1715 | + }, |
| 1716 | + "patterns": [ |
| 1717 | + { |
| 1718 | + "include": "#Inline-Comment" |
| 1719 | + }, |
| 1720 | + { |
| 1721 | + "include": "#Object-Modules" |
| 1722 | + }, |
| 1723 | + { |
| 1724 | + "include": "#Object-PropertyBlocks" |
| 1725 | + }, |
| 1726 | + { |
| 1727 | + "include": "#General-Assignment" |
| 1728 | + }, |
| 1729 | + { |
| 1730 | + "include": "#Invalid-Assignment" |
| 1731 | + } |
| 1732 | + ] |
| 1733 | + }, |
1592 | 1734 | "Object-AddModule": { |
1593 | 1735 | "begin": "(^[ \\t]+)?([Aa]dd[Mm]odule)", |
1594 | 1736 | "beginCaptures": { |
|
0 commit comments