equal
deleted
inserted
replaced
1 unit uPhysFSLayer; |
1 unit uPhysFSLayer; |
2 |
2 |
3 interface |
3 interface |
4 uses SDLh, LuaPas; |
4 uses SDLh, LuaPas; |
5 |
5 |
6 const |
6 const PhysfsLibName = 'libphysfs'; |
7 {$IFDEF WIN32} |
7 const PhyslayerLibName = 'libphyslayer'; |
8 PhysfsLibName = 'libphysfs'; |
|
9 PhyslayerLibName = 'libphyslayer'; |
|
10 {$ELSE} |
|
11 {$LINKLIB physfs} |
|
12 {$LINKLIB physlayer} |
|
13 PhysfsLibName = 'physfs'; |
|
14 PhyslayerLibName = 'physlayer'; |
|
15 {$ENDIF} |
|
16 |
8 |
17 {$IFDEF DARWIN} |
9 {$IFNDEF WIN32} |
18 {$LINKFRAMEWORK IOKit} |
10 {$linklib physfs} |
|
11 {$linklib physlayer} |
|
12 {$IFDEF DARWIN} |
|
13 {$linkframework IOKit} |
|
14 {$ENDIF} |
19 {$ENDIF} |
15 {$ENDIF} |
20 |
16 |
21 procedure initModule; |
17 procedure initModule; |
22 procedure freeModule; |
18 procedure freeModule; |
23 |
19 |