author | unc0rr |
Mon, 05 Nov 2012 23:10:54 +0400 | |
branch | physfslayer |
changeset 7963 | 9910f303f5b6 |
parent 7959 | 644b757d20e6 |
child 8022 | 10b3b93c1f56 |
permissions | -rw-r--r-- |
unit uPhysFSLayer; {$LINKLIB ../bin/libphysfs.a} interface procedure initModule; procedure freeModule; implementation uses uUtils; function PHYSFS_init(argv0: PChar) : LongInt; cdecl; external; function PHYSFS_deinit() : LongInt; cdecl; external; function PHYSFS_mount(newDir, mountPoint: PChar; appendToPath: LongBool) : LongInt; cdecl; external; procedure initModule; begin PHYSFS_init(Str2PChar(ParamStr(0))); end; procedure freeModule; begin PHYSFS_deinit; end; end.