mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 08:47:58 +03:00
13 lines
240 B
Lua
13 lines
240 B
Lua
local ffi = require('ffi');
|
|
|
|
ffi.cdef[[
|
|
int printf(const char *fmt, ...);
|
|
]]
|
|
|
|
function prova(itemNum)
|
|
--ITEM_INFO* Items;
|
|
--item = ffi.C.Items[itemNum];
|
|
--ffi.C.SoundEffect(56, item.pos, 0);
|
|
|
|
ffi.C.printf("Test\n");
|
|
end
|