-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathKM_ParserTypes.pas
More file actions
28 lines (19 loc) · 1016 Bytes
/
KM_ParserTypes.pas
File metadata and controls
28 lines (19 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
unit KM_ParserTypes;
interface
type
TKMParsingGame = (pgKaMRemake, pgKnightsProvince);
TKMParsingArea = (paActions, paEvents, paStates, paUtils, paTypes);
const
GAME_INFO: array [TKMParsingGame] of record Ext, Name: string; end = (
(Ext: 'kmr'; Name: 'KaM Remake'),
(Ext: 'kp'; Name: 'Knights Province')
);
AREA_INFO: array [TKMParsingArea] of record Short, CheckTag, RegTag: string; NeedsReturn: Boolean; end = (
(Short: 'Actions'; CheckTag: '//*Actions-Check*//'; RegTag:'//*Actions-Reg*//'; NeedsReturn: True),
(Short: 'Events'; CheckTag: '//*Events-Check*//'; RegTag:'//*Events-Reg*//'; NeedsReturn: False),
(Short: 'States'; CheckTag: '//*States-Check*//'; RegTag:'//*States-Reg*//'; NeedsReturn: True),
(Short: 'Utils'; CheckTag: '//*Utils-Check*//'; RegTag:'//*Utils-Reg*//'; NeedsReturn: True),
(Short: 'Types'; CheckTag: '//*Types-Check*//'; RegTag:'//*Types-Reg*//'; NeedsReturn: False)
);
implementation
end.