/usr/src/castle-game-engine-6.4/images/castleinternalpng.pas is in castle-game-engine-src 6.4+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | {$I castleconf.inc}
{ Internal libpng integration.
@exclude This unit is not ready for PasDoc, as it is internal,
and also has comments not formatted for PasDoc.
}
{$ifdef CASTLE_PNG_USING_FCL_IMAGE} {$info PNG loading with FpImage} {$endif}
{$ifdef CASTLE_PNG_DYNAMIC} {$info PNG loading with dynamic libpng} {$endif}
{$ifdef CASTLE_PNG_STATIC} {$info PNG loading with static libpng} {$endif}
unit CastleInternalPng;
{$ifdef CASTLE_PNG_USING_FCL_IMAGE}
interface
{ Empty. CASTLE_PNG_USING_FCL_IMAGE means that we want to use
PNG implementation inside fcl-image, that does not depend on libpng API. }
implementation
end.
{$else}
{$ifdef CASTLE_PNG_STATIC}
{$ifdef CASTLE_PNG_DYNAMIC}
{$error Cannot define both CASTLE_PNG_STATIC and CASTLE_PNG_DYNAMIC}
{$endif}
{$I castleinternalpng_static.inc}
{$else}
{$ifndef CASTLE_PNG_DYNAMIC}
{$error Not defined any PNG access method (CASTLE_PNG_USING_FCL_IMAGE or CASTLE_PNG_STATIC and CASTLE_PNG_DYNAMIC)}
{$endif}
{$I castleinternalpng_dynamic.inc}
{$endif}
{$endif}
|