equal
deleted
inserted
replaced
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; |