source: oup/rewrite/Global/TypeDefs.pas@ 94

Last change on this file since 94 was 93, checked in by alloc, 18 years ago
File size: 1.5 KB
Line 
1unit TypeDefs;
2interface
3
4uses
5 Graphics;
6
7type
8 TDataBackend = (DB_ONI, DB_ADB);
9
10 TChangeRights = set of (CR_EditDat, CR_EditRaw, CR_ResizeDat, CR_ResizeRaw);
11
12 TStatusMessages = (
13 SM_OK,
14 SM_AlreadyOpened,
15 SM_FileNotFound,
16 SM_UnknownExtension,
17 SM_IncompatibleFile,
18 SM_UnknownError
19 );
20
21 TFileInfo = packed record
22 ID: Integer;
23 Name: String;
24 Extension: String[4];
25 Size: Integer;
26 FileType: LongWord;
27 DatAddr: Integer;
28 end;
29
30 TRawDataInfo = record
31 SrcID: Integer;
32 SrcOffset: Integer;
33 RawAddr: Integer;
34 RawSize: Integer;
35 LocSep: Boolean;
36 end;
37 TRawDataList = array of TRawDataInfo;
38
39 TSortType = (
40 ST_IDAsc,
41 ST_IDDesc,
42 ST_NameAsc,
43 ST_NameDesc,
44 ST_ExtAsc,
45 ST_ExtDesc
46 );
47
48 TExtensionFormat = (
49 EF_ExtOnly,
50 EF_ExtCount
51 );
52
53 TByteArray = array of Byte;
54
55 TAppSettings = record
56 DatPath: String[250];
57 ExtractPath: String[250];
58 FilenumbersAsHex: Boolean;
59 CharSet: TFontCharSet;
60 HideUnusedData: Boolean;
61 end;
62
63 TToolList = array of record
64 context: String;
65 name: String;
66 exts: String;
67 end;
68
69{
70 TLevelInfo = record
71 Ident: array[0..$13] of Byte;
72 LevelNumber: Byte;
73 end;
74
75 TDatLinks = array of record
76 Src_Offset: LongWord;
77 Target: LongWord;
78 end;
79}
80
81implementation
82
83end.
Note: See TracBrowser for help on using the repository browser.