|
8 | 8 | { |
9 | 9 | "include": "#INI-Classes" |
10 | 10 | }, |
| 11 | + { |
| 12 | + "include": "#General-Assignment" |
| 13 | + }, |
| 14 | + { |
| 15 | + "include": "#Invalid-Assignment" |
| 16 | + }, |
11 | 17 | { |
12 | 18 | "match": "\\b([Ee]nd|END)\\b", |
13 | 19 | "name": "invalid.illegal.ini" |
|
31 | 37 | { "include": "#AudioEvent-Class" }, |
32 | 38 | { "include": "#Weather-Class" }, |
33 | 39 | { "include": "#WaterTransparency-Class" }, |
| 40 | + { "include": "#WaterSet-Class" }, |
34 | 41 | { "include": "#CommandSet-Class" }, |
35 | 42 | { "include": "#CommandButton-Class" }, |
36 | 43 | { "include": "#FXList-Class" }, |
|
39 | 46 | { "include": "#MouseCursor-Class" }, |
40 | 47 | { "include": "#Mouse-Class" }, |
41 | 48 | { "include": "#InGameUI-Class" }, |
42 | | - { "include": "#AIData-Class" } |
| 49 | + { "include": "#AIData-Class" }, |
| 50 | + { "include": "#Animation2D-Class" }, |
| 51 | + { "include": "#AudioSettings-Class" }, |
| 52 | + { "include": "#GameData-Class" } |
| 53 | + ] |
| 54 | + }, |
| 55 | + "GameData-Class": { |
| 56 | + "begin": "(^[ \\t]+)?\\b(GameData)\\b", |
| 57 | + "beginCaptures": { |
| 58 | + "1": { |
| 59 | + "name": "punctuation.whitespace.ini" |
| 60 | + }, |
| 61 | + "2": { |
| 62 | + "name": "keyword.control.ini" |
| 63 | + } |
| 64 | + }, |
| 65 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 66 | + "endCaptures": { |
| 67 | + "1": { |
| 68 | + "name": "punctuation.whitespace.ini" |
| 69 | + }, |
| 70 | + "2": { |
| 71 | + "name": "keyword.control.ini" |
| 72 | + } |
| 73 | + }, |
| 74 | + "patterns": [ |
| 75 | + { |
| 76 | + "include": "#Inline-Comment" |
| 77 | + }, |
| 78 | + { |
| 79 | + "include": "#General-Assignment" |
| 80 | + }, |
| 81 | + { |
| 82 | + "include": "#Invalid-Assignment" |
| 83 | + } |
| 84 | + ] |
| 85 | + }, |
| 86 | + "AudioSettings-Class": { |
| 87 | + "begin": "(^[ \\t]+)?\\b([Aa]udio[Ss]ettings)\\b", |
| 88 | + "beginCaptures": { |
| 89 | + "1": { |
| 90 | + "name": "punctuation.whitespace.ini" |
| 91 | + }, |
| 92 | + "2": { |
| 93 | + "name": "keyword.control.ini" |
| 94 | + } |
| 95 | + }, |
| 96 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 97 | + "endCaptures": { |
| 98 | + "1": { |
| 99 | + "name": "punctuation.whitespace.ini" |
| 100 | + }, |
| 101 | + "2": { |
| 102 | + "name": "keyword.control.ini" |
| 103 | + } |
| 104 | + }, |
| 105 | + "patterns": [ |
| 106 | + { |
| 107 | + "include": "#Inline-Comment" |
| 108 | + }, |
| 109 | + { |
| 110 | + "include": "#General-Assignment" |
| 111 | + }, |
| 112 | + { |
| 113 | + "include": "#Invalid-Assignment" |
| 114 | + } |
| 115 | + ] |
| 116 | + }, |
| 117 | + "Animation2D-Class": { |
| 118 | + "begin": "(^[ \\t]+)?\\b([Aa]nimation2D)\\b[ \\t]+([a-zA-Z_][\\w%]*)", |
| 119 | + "beginCaptures": { |
| 120 | + "1": { |
| 121 | + "name": "punctuation.whitespace.ini" |
| 122 | + }, |
| 123 | + "2": { |
| 124 | + "name": "keyword.control.ini" |
| 125 | + }, |
| 126 | + "3": { |
| 127 | + "name": "entity.name.type.class.ini" |
| 128 | + } |
| 129 | + }, |
| 130 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 131 | + "endCaptures": { |
| 132 | + "1": { |
| 133 | + "name": "punctuation.whitespace.ini" |
| 134 | + }, |
| 135 | + "2": { |
| 136 | + "name": "keyword.control.ini" |
| 137 | + } |
| 138 | + }, |
| 139 | + "patterns": [ |
| 140 | + { |
| 141 | + "include": "#Inline-Comment" |
| 142 | + }, |
| 143 | + { |
| 144 | + "include": "#General-Assignment" |
| 145 | + }, |
| 146 | + { |
| 147 | + "include": "#Invalid-Assignment" |
| 148 | + } |
43 | 149 | ] |
44 | 150 | }, |
45 | 151 | "AIData-Class": { |
|
1108 | 1214 | "match": "(^[ \\t]+)?([^\\d]|0|19|[2-9]\\d+|\\d{2,})", |
1109 | 1215 | "name": "invalid.illegal.commandset.ini" |
1110 | 1216 | }, |
| 1217 | + "WaterSet-Class": { |
| 1218 | + "begin": "(^[ \\t]+)?([Ww]ater[Ss]et)[ \\t]+([a-zA-Z_][\\w%]*)", |
| 1219 | + "beginCaptures": { |
| 1220 | + "1": { |
| 1221 | + "name": "punctuation.whitespace.ini" |
| 1222 | + }, |
| 1223 | + "2": { |
| 1224 | + "name": "keyword.control.ini" |
| 1225 | + }, |
| 1226 | + "3": { |
| 1227 | + "name": "entity.name.type.class.ini" |
| 1228 | + } |
| 1229 | + }, |
| 1230 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 1231 | + "endCaptures": { |
| 1232 | + "1": { |
| 1233 | + "name": "punctuation.whitespace.ini" |
| 1234 | + }, |
| 1235 | + "2": { |
| 1236 | + "name": "keyword.control.ini" |
| 1237 | + } |
| 1238 | + }, |
| 1239 | + "patterns": [ |
| 1240 | + { |
| 1241 | + "include": "#Inline-Comment" |
| 1242 | + }, |
| 1243 | + { |
| 1244 | + "include": "#General-Assignment" |
| 1245 | + }, |
| 1246 | + { |
| 1247 | + "include": "#Invalid-Assignment" |
| 1248 | + } |
| 1249 | + ] |
| 1250 | + }, |
1111 | 1251 | "WaterTransparency-Class": { |
1112 | | - "begin": "(^[ \\t]+)?([Ww]ater[Tt]ransparency)", |
| 1252 | + "begin": "(^[ \\t]+)?\\b(WaterTransparency)\\b", |
1113 | 1253 | "beginCaptures": { |
1114 | 1254 | "1": { |
1115 | 1255 | "name": "punctuation.whitespace.ini" |
1116 | 1256 | }, |
1117 | 1257 | "2": { |
1118 | | - "name": "variable.name.ini" |
| 1258 | + "name": "keyword.control.ini" |
1119 | 1259 | } |
1120 | 1260 | }, |
1121 | 1261 | "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
|
2892 | 3032 | "name": "string.quoted.single.ini" |
2893 | 3033 | }, |
2894 | 3034 | { |
2895 | | - "match": "[a-zA-Z_:\\.+]\\w*", |
| 3035 | + "match": "[a-zA-Z_:\\.+][\\w\\\\]*", |
2896 | 3036 | "name": "string.unquoted.ini" |
2897 | 3037 | } |
2898 | 3038 | ] |
|
0 commit comments