anchor.diff:    dglOpenGL, SysUtils, KromOGLUtils, KromUtils, Math,
     {$IFDEF WDC} JPEG, {$ENDIF} //Lazarus doesn't have JPEG library yet
     KM_TGATexture, KM_Defaults, KM_CommonTypes, KM_Points;
  -
  -{$IFDEF Unix}
  -//type HDC = integer;
  -//type HGLRC = integer;
  -//type HWND = integer;
  -type FW_BOLD = integer;
  -{$ENDIF}
   
   type
     TRenderList = class
  
positive.code: constructor TRender.Create(RenderFrame:HWND; aVSync:boolean);
  begin
    Inherited Create;
    {$IFDEF MSWindows}
    SetRenderFrame(RenderFrame, h_DC, h_RC);
    SetRenderDefaults;
    glDisable(GL_LIGHTING); //We don't need it
  
negative.code:   LoadTexture(ExeDir+'Resource\Tiles1.tga', TextT);
    fResource.MakeTileGFXFromTexture(TextT);
    if MAKE_ANIM_TERRAIN then begin
      for i:=1 to 8 do LoadTexture(ExeDir+'Resource'+ DirectorySeparator + 'Water'+inttostr(i)+'.tga', TextW[i]);
      for i:=1 to 3 do LoadTexture(ExeDir+'Resource'+ DirectorySeparator + 'Swamp'+inttostr(i)+'.tga', TextS[i]);
      for i:=1 to 5 do LoadTexture(ExeDir+'Resource'+ DirectorySeparator + 'Falls'+inttostr(i)+'.tga', TextF[i]);
    end;
  end;
  
  