|
49 | 49 | { "include": "#AIData-Class" }, |
50 | 50 | { "include": "#Animation2D-Class" }, |
51 | 51 | { "include": "#AudioSettings-Class" }, |
52 | | - { "include": "#GameData-Class" } |
| 52 | + { "include": "#GameData-Class" }, |
| 53 | + { "include": "#DrawGroupInfo-Class" } |
| 54 | + ] |
| 55 | + }, |
| 56 | + "DrawGroupInfo-Class": { |
| 57 | + "begin": "(^[ \\t]+)?\\b(DrawGroupInfo)\\b", |
| 58 | + "beginCaptures": { |
| 59 | + "1": { |
| 60 | + "name": "punctuation.whitespace.ini" |
| 61 | + }, |
| 62 | + "2": { |
| 63 | + "name": "keyword.control.ini" |
| 64 | + } |
| 65 | + }, |
| 66 | + "end": "(^[ \\t]+)?\\b([Ee]nd|END)\\b", |
| 67 | + "endCaptures": { |
| 68 | + "1": { |
| 69 | + "name": "punctuation.whitespace.ini" |
| 70 | + }, |
| 71 | + "2": { |
| 72 | + "name": "keyword.control.ini" |
| 73 | + } |
| 74 | + }, |
| 75 | + "patterns": [ |
| 76 | + { |
| 77 | + "include": "#Inline-Comment" |
| 78 | + }, |
| 79 | + { |
| 80 | + "include": "#General-Assignment" |
| 81 | + }, |
| 82 | + { |
| 83 | + "include": "#Invalid-Assignment" |
| 84 | + } |
53 | 85 | ] |
54 | 86 | }, |
55 | 87 | "GameData-Class": { |
|
741 | 773 | "include": "#Inline-Comment" |
742 | 774 | }, |
743 | 775 | { |
744 | | - "include": "#OCL-CreateObject-Invalid-Assignment" |
| 776 | + "include": "#Disposition-Object-Assignment" |
745 | 777 | }, |
746 | 778 | { |
747 | 779 | "include": "#General-Assignment" |
|
751 | 783 | } |
752 | 784 | ] |
753 | 785 | }, |
| 786 | + "Disposition-Object-Assignment": { |
| 787 | + "begin": "(^[ \\t]+)?\\b(Disposition)[ \\t](=)[ \\t]", |
| 788 | + "beginCaptures": { |
| 789 | + "1": { |
| 790 | + "name": "punctuation.whitespace.ini" |
| 791 | + }, |
| 792 | + "2": { |
| 793 | + "name": "variable.name.ini" |
| 794 | + }, |
| 795 | + "3": { |
| 796 | + "name": "keyword.operator.assignment.ini" |
| 797 | + } |
| 798 | + }, |
| 799 | + "end": "$", |
| 800 | + "patterns": [ |
| 801 | + { |
| 802 | + "include": "#Inline-Comment" |
| 803 | + }, |
| 804 | + { |
| 805 | + "include": "#Disposition-Object-Assignment-Values" |
| 806 | + } |
| 807 | + ] |
| 808 | + |
| 809 | + }, |
| 810 | + "Disposition-Object-Assignment-Values": { |
| 811 | + "match": "\\b(LIKE_EXISTING|INHERIT_VELOCITY|ON_GROUND_ALIGNED|SEND_IT_FLYING|RANDOM_FORCE)", |
| 812 | + "name": "variable.other.constant.ini" |
| 813 | + }, |
754 | 814 | "OCL-CreateDebris": { |
755 | 815 | "begin": "(^[ \\t]+)?([Cc]reateDebris)", |
756 | 816 | "beginCaptures": { |
|
775 | 835 | "include": "#Inline-Comment" |
776 | 836 | }, |
777 | 837 | { |
778 | | - "include": "#OCL-CreateDebris-Invalid-Assignment" |
| 838 | + "include": "#Disposition-Debris-Assignment" |
779 | 839 | }, |
780 | 840 | { |
781 | 841 | "include": "#General-Assignment" |
|
785 | 845 | } |
786 | 846 | ] |
787 | 847 | }, |
| 848 | + "Disposition-Debris-Assignment": { |
| 849 | + "begin": "(^[ \\t]+)?([Dd]isposition)[ \\t]*(=)[ \\t]*", |
| 850 | + "beginCaptures": { |
| 851 | + "1": { |
| 852 | + "name": "punctuation.whitespace.ini" |
| 853 | + }, |
| 854 | + "2": { |
| 855 | + "name": "variable.name.ini" |
| 856 | + }, |
| 857 | + "3": { |
| 858 | + "name": "keyword.operator.assignment.ini" |
| 859 | + } |
| 860 | + }, |
| 861 | + "end": "$", |
| 862 | + "patterns": [ |
| 863 | + { |
| 864 | + "include": "#Inline-Comment" |
| 865 | + }, |
| 866 | + { |
| 867 | + "include": "#Disposition-Debris-Assignment-Values" |
| 868 | + } |
| 869 | + ] |
| 870 | + }, |
| 871 | + "Disposition-Debris-Assignment-Values": { |
| 872 | + "match": "(RANDOM_FORCE|INHERIT_VELOCITY|SEND_IT_FLYING|FLOATING|SEND_IT_UP)", |
| 873 | + "name": "variable.other.constant.ini" |
| 874 | + }, |
788 | 875 | "FXList-Class": { |
789 | 876 | "begin": "(^[ \\t]+)?([Ff][Xx][Ll]ist)[ \\t]+([a-zA-Z_][\\w%]*)", |
790 | 877 | "beginCaptures": { |
|
0 commit comments