Rev | Line | |
---|
[215] | 1 | unit BINA;
|
---|
| 2 |
|
---|
| 3 | interface
|
---|
| 4 |
|
---|
| 5 | uses
|
---|
| 6 | _FileTypes;
|
---|
| 7 |
|
---|
| 8 | type
|
---|
| 9 | TFile_BINA = class(TFile)
|
---|
| 10 | public
|
---|
| 11 | procedure InitDataFields; override;
|
---|
| 12 | end;
|
---|
| 13 |
|
---|
| 14 | implementation
|
---|
| 15 |
|
---|
| 16 | uses
|
---|
| 17 | ConnectionManager, Math, Classes, TypeDefs, _DataTypes, Forms, StdCtrls;
|
---|
| 18 |
|
---|
| 19 | procedure TFile_BINA.InitDataFields;
|
---|
| 20 | var
|
---|
| 21 | tempi: Integer;
|
---|
| 22 | begin
|
---|
| 23 | inherited;
|
---|
| 24 | FDataFields := TBlock.Create(Self, nil, 0, 'Base', '', nil);
|
---|
| 25 | with FDataFields do
|
---|
| 26 | begin
|
---|
| 27 | AddField(TFileID, $00, 'FileID', '', nil);
|
---|
| 28 | AddField(TLevelID, $04, 'LevelID', '', nil);
|
---|
| 29 | end;
|
---|
| 30 | end;
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | end.
|
---|
| 34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.