anchor.diff:    end;
   end;
   
  +procedure TDefFormatLoader.IncreaseDefBuffer(ANewSize: SizeInt);
  +begin
  +  if ANewSize > Length(FDefBuffer) then
  +  begin
  +
  +    ANewSize := (ANewSize div INITIAL_BUFFER_SIZE + 1)*INITIAL_BUFFER_SIZE;
  +
  +    SetLength(FDefBuffer, ANewSize);
  +  end;
  +end;
  +
   procedure TDefFormatLoader.LoadSprite(AStream: TStream; const SpriteIndex: UInt8;
     ATextureID: GLuint; offset: Uint32);
   var
  
positive.code: 
           if code = 7 then
           begin
             AStream.Read(FBuffer[ftcp],len);
           end
           else begin
             FillChar(FBuffer[ftcp],len,code);
  
negative.code: interface
  
  uses
    Classes, SysUtils, Math, gvector, fgl, Gl, editor_types, editor_consts,
    editor_utils, filesystem_base, editor_gl, LazLoggerBase;
  
  const
  
  