- Timestamp:
- Apr 11, 2010, 11:48:39 AM (15 years ago)
- Location:
- tools/dbc_export
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/dbc_export/DBCExport.pas
r414 r443 11 11 12 12 type 13 13 14 { TDBCExport } 14 15 TDBCExport = class(TCustomApplication) … … 121 122 WriteLn(' -f --file Source DBC file name'); 122 123 WriteLn(' -n --newfile New created DBC file name'); 123 WriteLn(' -c --coltypedef DBC column type definition string (u - uint32, s - string)'); 124 WriteLn(' -c --coltypedef DBC column type definition string (usage index1:type1, index2:type2,...)'); 125 WriteLn(' where 0 - uint32, 1 - sint32, 2 - float, 3 - string, 4 - byte)'); 124 126 WriteLn(' -d --display Display DBC data'); 125 127 WriteLn(' -q --sql_query SQL select when entry is ID first column in dbc file and text1,text2... is texts columns'); -
tools/dbc_export/UDBC.pas
r415 r443 13 13 14 14 type 15 TDBCColumnType = (ct Int32, ctString, ctFloat);15 TDBCColumnType = (ctUInt32, ctSInt32, ctSingle, ctString, ctByte); 16 16 17 17 { TDBC } … … 26 26 public 27 27 Cells: array of array of Variant; 28 ColumnFormat: array of TColumnType; 28 29 function DetectColumnType(Column: Integer): TDBCColumnType; 29 30 procedure LoadFromFile(FileName: string);
Note:
See TracChangeset
for help on using the changeset viewer.