ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/rewrite/Global/TypeDefs.pas
Revision: 93
Committed: Thu Jan 18 17:15:59 2007 UTC (18 years, 8 months ago) by alloc
Content type: text/x-pascal
File size: 1552 byte(s)
Log Message:

File Contents

# Content
1 unit TypeDefs;
2 interface
3
4 uses
5 Graphics;
6
7 type
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
81 implementation
82
83 end.