Added:
Code:
TGateBMD = packed record
Flag: Byte;
Map_ID: Byte;
MinX, MinY: Byte;
MaxX, MaxY: Byte;
Target: Word; // points to Gate ID ;)
Direction: Byte;
ReqLevel: Word;
MaxLevel: Word;
end;
PGateBMD = ^TGateBMD
Gate.bmd struc, thanks to Ema Leto for sharing and [RCZ]ShadowKing to make it crystal clear (:
-----------------------------------------------------------------------------------
Since im layze update source...
Some guys love to do "SPACE" char btw values instead of "TAB" and this will crash app here:
Code:
Result.Info[p][0] := StrToInt(Split[1]);
with reason: Not valid integer bla bla...
To fix it we goto:
Code:
Split.DelimitedText := Sl[i];
and do comething like antiSPACEnoob:
Code:
Split.DelimitedText := StringReplace(Sl[i],' ', #9, [rfReplaceAll]);
and replace all "SPACE" chars with "TAB" ;)