equal
deleted
inserted
replaced
44 function physfsReader(L: Plua_State; f: PFSFile; sz: Psize_t) : PChar; cdecl; external PhyslayerLibName; |
44 function physfsReader(L: Plua_State; f: PFSFile; sz: Psize_t) : PChar; cdecl; external PhyslayerLibName; |
45 procedure physfsReaderSetBuffer(buf: pointer); cdecl; external PhyslayerLibName; |
45 procedure physfsReaderSetBuffer(buf: pointer); cdecl; external PhyslayerLibName; |
46 procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName; |
46 procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName; |
47 |
47 |
48 implementation |
48 implementation |
49 uses uConsts, uUtils, uVariables{$IFNDEF PAS2C}{$IFDEF HWLIBRARY}, sysutils{$ENDIF}{$ELSE}, physfs{$ENDIF}; |
49 uses uConsts, uUtils, uVariables{$IFNDEF PAS2C}{$IFDEF HWLIBRARY}, SysUtils{$ENDIF}{$ELSE}, physfs{$ENDIF}; |
50 |
50 |
51 function PHYSFSRWOPS_openRead(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName; |
51 function PHYSFSRWOPS_openRead(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName; |
52 function PHYSFSRWOPS_openWrite(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName; |
52 function PHYSFSRWOPS_openWrite(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName; |
53 procedure hedgewarsMountPackages(); cdecl; external PhyslayerLibName; |
53 procedure hedgewarsMountPackages(); cdecl; external PhyslayerLibName; |
54 {$IFNDEF PAS2C} |
54 {$IFNDEF PAS2C} |