Files
DayZ-Epoch/SQF/dayz_code/loot/compile.sqf
2016-02-29 00:55:29 -05:00

13 lines
488 B
Plaintext

#define STRINGIFY(x) #x
#define NAME(name) dz_fn_loot_##name
#define PATH(sub_path) STRINGIFY(\z\addons\dayz_code\loot\sub_path)
#define CPP compile preprocessFileLineNumbers
NAME(select) = CPP PATH(select.sqf);
NAME(spawn) = CPP (if (isServer) then { PATH(spawn_server.sqf) } else { PATH(spawn.sqf) });
NAME(spawnGroup) = CPP PATH(spawnGroup.sqf);
NAME(insert) = CPP PATH(insert.sqf);
NAME(insertCargo) = CPP PATH(insertCargo.sqf);
//Loot init
call CPP PATH(init.sqf);