hedgewars/uStore.pas
changeset 8370 0c79946e96f8
parent 8359 9a7024b2a4d3
child 8444 75db7bb8dce8
child 8838 aa2ffd427f6a
equal deleted inserted replaced
8369:31033e521653 8370:0c79946e96f8
   603 function LoadDataImage(const path: TPathType; const filename: shortstring; imageFlags: LongInt): PSDL_Surface;
   603 function LoadDataImage(const path: TPathType; const filename: shortstring; imageFlags: LongInt): PSDL_Surface;
   604 var tmpsurf: PSDL_Surface;
   604 var tmpsurf: PSDL_Surface;
   605 begin
   605 begin
   606     // check for file in user dir (never critical)
   606     // check for file in user dir (never critical)
   607     tmpsurf:= LoadImage(cPathz[path] + '/' + filename, imageFlags);
   607     tmpsurf:= LoadImage(cPathz[path] + '/' + filename, imageFlags);
       
   608     
       
   609     LoadDataImage:= tmpsurf;
   608 end;
   610 end;
   609 
   611 
   610 
   612 
   611 function LoadDataImageAltPath(const path, altPath: TPathType; const filename: shortstring; imageFlags: LongInt): PSDL_Surface;
   613 function LoadDataImageAltPath(const path, altPath: TPathType; const filename: shortstring; imageFlags: LongInt): PSDL_Surface;
   612 var tmpsurf: PSDL_Surface;
   614 var tmpsurf: PSDL_Surface;