hedgewars/uPhysFSLayer.pas
changeset 11837 f2ab65d97242
parent 11831 7654e2357934
child 11846 6adf27e85cae
child 12127 cc2d2f910d5a
equal deleted inserted replaced
11836:dd18d8100afd 11837:f2ab65d97242
    38 function  physfsReader(L: Plua_State; f: PFSFile; sz: Psize_t) : PChar; cdecl; external PhyslayerLibName;
    38 function  physfsReader(L: Plua_State; f: PFSFile; sz: Psize_t) : PChar; cdecl; external PhyslayerLibName;
    39 procedure physfsReaderSetBuffer(buf: pointer); cdecl; external PhyslayerLibName;
    39 procedure physfsReaderSetBuffer(buf: pointer); cdecl; external PhyslayerLibName;
    40 procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName;
    40 procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName;
    41 
    41 
    42 implementation
    42 implementation
    43 uses uConsts, uUtils, uVariables{$IFDEF PAS2C}, physfs{$ENDIF};
    43 uses uConsts, uUtils, uVariables{$IFNDEF PAS2C}{$IFDEF HWLIBRARY}, sysutils{$ENDIF}{$ELSE}, physfs{$ENDIF};
    44 
    44 
    45 function PHYSFSRWOPS_openRead(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;
    45 function PHYSFSRWOPS_openRead(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;
    46 function PHYSFSRWOPS_openWrite(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;
    46 function PHYSFSRWOPS_openWrite(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;
    47 procedure hedgewarsMountPackages(); cdecl; external PhyslayerLibName;
    47 procedure hedgewarsMountPackages(); cdecl; external PhyslayerLibName;
    48 {$IFNDEF PAS2C}
    48 {$IFNDEF PAS2C}